Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)Author
2010-12-12Refactor statfs/statvfs type checkDan McGee
Turn it into a configure-type typedef, which allows us to reduce the amount of duplicated code and clean up some #ifdef magic in the code itself. Adjust some of the other defined checks to look at the headers available rather than trying to pull in the right ones based on configure checks. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
2010-09-27Merge branch 'build-system'Dan McGee
2010-09-27Add FORTIFY_SOURCE supportAllan McRae
Adds a check for the minimum mainline GCC version for FORTIFY_SOURCE support and enables -D_FORTIFY_SOURCE=2 by default when building with --enable-debug. Signed-off-by: Allan McRae <allan@archlinux.org>
2010-09-23Update build system (automake, autoconf, libtool)Dan McGee
Unfortunately this patch is hard to split up into smaller chunks. Our build system and the associated automake/autoconf/libtool macros has been left untouched for a while, and could use a refresher. * Upgrade ltmain.sh to the latest version * Move away from a huge acinclude.m4 directory to using individual files in the m4/ subdirectory, suggested by upstream automake documentation * Update all macros to their latest available version * Adjust Makefile.am and autogen.sh to accommodate m4/ subdirectory Signed-off-by: Dan McGee <dan@archlinux.org>
2008-04-15Slight changes to fix warnings from autoconf 2.62Dan McGee
Two variables needed the _cv_ or warnings were spit out saying they were not cache vars. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-07Change -fstack-protector flag to -fstack-protector-allDan McGee
We only use it with --enable-debug, so we might as well go all out and try to find any attempt of stack smashing. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-04Remove unneeded CXX macros from acinclude.m4Dan McGee
This follows the removal patch previously used for GCC & F77 macros. If we don't use it, dump it so we can speed up configure time. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-04Add some text at the top of acinclude.m4 so people know what is going onDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-04Remove unneeded F77 and GCJ libtool macros from acinclude.m4Dan McGee
We don't use Fortran or Java code in our project, so no need to waste time looking for this stuff. This gives a noticeable speedup to running the ./configure program as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-04Add some more autoconf macros to filter our CFLAGS usageDan McGee
Hopefully these new autoconf macros, with a little magic, will allow us to compile with any compiler and still choose the options we have available to us. Tested locally with gcc 4.2.2 and gcc 3.4.6; the latter doesn't support two of the items we previously had hardcoded in our CFLAGS. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-04Use an autoconf macro to see if -fstack-protector is availableDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-04Update libtool files and macros to newest versionsDan McGee
It looks like some of the newer libtool m4 files offer improved support for the Darwin platform and possibly BSD, so bump our files to these new versions. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-06Trying to fix up this autotools stuff a bit more.Dan McGee
* Greatly simplify and de-obfuscate the autogen and autoclean code. * Add a bunch of the autotools required files to the repository. This will give us consistency (a novel idea) across all builds, and allow for much more recent versions of config.guess and config.sub to be used.