summaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2013-01-10Remove MESA_PIC_FLAGS macroMatt Turner1-119/+0
2012-11-10build: fix enable/disable language in ./configure --helpAndreas Boll1-1/+1
Based on patch from Brian Paul. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32317 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2008-05-09autoconf: Attempt to figure out the PIC flags for the platformDan Nicholson1-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.