summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
Commit message (Collapse)AuthorAgeFilesLines
* Remove MESA_PIC_FLAGS macroMatt Turner2013-01-101-119/+0
|
* build: fix enable/disable language in ./configure --helpAndreas Boll2012-11-101-1/+1
| | | | | | | Based on patch from Brian Paul. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32317 Reviewed-by: Kenneth Graunke <[email protected]>
* autoconf: Attempt to figure out the PIC flags for the platformDan Nicholson2008-05-091-0/+119
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.