summaryrefslogtreecommitdiff
path: root/acinclude.m4
Commit message (Collapse)AuthorAge
* Refactor statfs/statvfs type checkDan McGee2010-12-12
| | | | | | | | | | | 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>
* Merge branch 'build-system'Dan McGee2010-09-27
|\
| * Update build system (automake, autoconf, libtool)Dan McGee2010-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Add FORTIFY_SOURCE supportAllan McRae2010-09-27
|/ | | | | | | | 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>
* Slight changes to fix warnings from autoconf 2.62Dan McGee2008-04-15
| | | | | | | Two variables needed the _cv_ or warnings were spit out saying they were not cache vars. Signed-off-by: Dan McGee <dan@archlinux.org>
* Change -fstack-protector flag to -fstack-protector-allDan McGee2007-11-07
| | | | | | | 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>
* Remove unneeded CXX macros from acinclude.m4Dan McGee2007-11-04
| | | | | | | 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>
* Add some text at the top of acinclude.m4 so people know what is going onDan McGee2007-11-04
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove unneeded F77 and GCJ libtool macros from acinclude.m4Dan McGee2007-11-04
| | | | | | | | 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>
* Add some more autoconf macros to filter our CFLAGS usageDan McGee2007-11-04
| | | | | | | | | | | 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>
* Use an autoconf macro to see if -fstack-protector is availableDan McGee2007-11-04
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update libtool files and macros to newest versionsDan McGee2007-11-04
| | | | | | | | 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>
* Trying to fix up this autotools stuff a bit more.Dan McGee2007-03-06
* 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.