]> err.no Git - systemd/commit
build-sys: fix AC_COMPILE_IFELSE tests
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 26 Jan 2011 19:59:11 +0000 (17:59 -0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Feb 2011 11:11:53 +0000 (12:11 +0100)
commitc18514440d7edce2ca7ae14cc2c88cfbac436e67
tree8ed6a1e77186100b0446828e0a1463c8e1ea3cb1
parent591622d7efbc828f00f190d91b6608148b967ff5
build-sys: fix AC_COMPILE_IFELSE tests

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>
])], ...)
m4/acx_libwrap.m4
m4/attributes.m4