diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-05 18:24:21 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-09 07:05:16 -0700 |
commit | d368eed9c78aa3ced8540c66bdc4c5e1d4a067b4 (patch) | |
tree | 88835899cdc679dd4b335c9f1aa58d6b3579372c /docs/README.OS2 | |
parent | 0dbd5c864047ad2ad3d459493c9e82be57427f83 (diff) |
autoconf: Attempt to figure out the PIC flags for the platform
This commit adds an autoconf macro, MESA_PIC_FLAGS, which sets the
PIC flags according to platform and static/shared setting. The platform
specifics are taken straight from libtool.m4 and stripped down to just
the flags and platforms we cover in Mesa. This should hopefully make it
possible to use autoconf on non-GCC platforms.
The macro is added external to configure.ac in acinclude.m4 since it's
pretty bloated.
Note to BSDers: Previously, x86 defaulted to non-PIC on FreeBSD. I
didn't carry that preference into this macro. Instead, you can just use
--disable-pic where desired.
Diffstat (limited to 'docs/README.OS2')
0 files changed, 0 insertions, 0 deletions