summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)AuthorFilesLines
2013-09-16build: check for build/link flags harderDavid Herrmann1-3/+3
Use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE to test for flags that might succeed during compilation but not during linking. An example is gcc compiled with libssp support but gnu-ld without it. In this case -fstack-protector works fine during compilation but fails during linking as several internal helpers are missing.
2013-07-02replace tabs with spaces in various filesJason St. John1-10/+10
The affected files in this patch had inconsistent use of tabs vs. spaces for indentation, and this patch eliminates the stray tabs. Also, the opening brace of sigchld_hdl() in activate.c was moved so the opening braces are consistent throughout the file.
2013-01-22Replace autoconf int max test with simple defineZbigniew Jędrzejewski-Szmek1-27/+0
2013-01-18build-sys: add autoconf macro to pick macro for x32 compatibilityZbigniew Jędrzejewski-Szmek1-0/+27
2012-09-14build-sys: Append -Werror when testing flagsLucas De Marchi1-1/+1
Clang don't treat unknown warnings flags as an error, but rather as a warning. The result is that the detection for whic CFLAGS are supported by this compiler will not work, since the compilation will succeed. With this patch we now successfully detect clang doesn't support -Wlogical-op, as opposed to previous behavior: checking if clang supports flag -Wlogical-op in envvar CFLAGS... no We use this macro only for LDFLAGS and CFLAGS, so it's safe to stash -Werror there.
2012-04-04move imported udev into placeKay Sievers1-0/+1
2012-03-26build-sys: do not set CFLAGS directlyLucas De Marchi1-44/+21
Set a separate variable for adding warning flags. Build systems are not supposed to change CFLAGS and LDFLAGS, these are user variables. Reference: http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
2011-07-14git: hide more files from gitLennart Poettering1-0/+1
2011-02-08build-sys: fix AC_COMPILE_IFELSE testsLucas De Marchi2-8/+8
This removes some warnings when bootstrapping. The warnings were introduced in autoconf 2.68. Reference: http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html The following code AC_COMPILE_IFELSE([ <MY C CODE HERE> ], ...) is changed to AC_COMPILE_IFELSE( [AC_COMPILE_IFELSE([AC_LANG_SOURCE([ <MY C CODE HERE> ])], ...)
2010-06-18git: ignore libtool m4 filesLennart Poettering1-0/+5
2010-06-16socket: add optional libwrap supportLennart Poettering1-0/+19
2010-02-03build: basic autoconfizationLennart Poettering1-0/+311