Whamcloud - gitweb
b=22967 s/LB_LINUX_CONFTEST/AC_LANG_CONFTEST/
authorBrian J. Murrell <brian@sun.com>
Tue, 24 Aug 2010 21:53:16 +0000 (17:53 -0400)
committerJohann Lombardi <johann.lombardi@oracle.com>
Wed, 25 Aug 2010 10:02:04 +0000 (12:02 +0200)
commitf97f331c1850d1ca895de3995269906a5bfafbaa
tree2c322d8a9e99458e076ef176ee976010427afc26
parent7ad246479a669794155f874a98517e4fb2d88908
b=22967 s/LB_LINUX_CONFTEST/AC_LANG_CONFTEST/

There was a macro update in more recent releases of autoconf that
requires us to use AC_LANG_CONFTEST instead of the LB_LINUX_CONFTEST
that we currently use.  The problem using LB_LINUX_CONFTEST causes
is that as configure is determining capabilities and setting capability
flags, these are not being used when compiling further conftest.c
programs.

So for example if a macro determines if foo is available and then sets
FOO if it is, and then a test in a subsequent macro tries to use FOO,
it will find it undefined.

i=michael.macdonald
i=andreas.dilger
build/autoconf/lustre-build-linux.m4