Whamcloud - gitweb
b=22967 s/AC_LANG_CONFTEST/LB_LINUX_CONFTEST/
authorBrian J. Murrell <brian.murrell@oracle.com>
Thu, 19 Aug 2010 21:39:53 +0000 (01:39 +0400)
committerMikhail Pershin <tappro@sun.com>
Thu, 26 Aug 2010 13:52:06 +0000 (17:52 +0400)
commit51edcc2d941f97b6ae7ac741ae250c76818d82bc
tree83b995092272c8bd7f4b8a1284edf0f6fc243efa
parent19a49baf5025c14626e5d494b7ada610c2862504
b=22967 s/AC_LANG_CONFTEST/LB_LINUX_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=mjmac
i=adilger
build/autoconf/lustre-build-linux.m4