Hi Vasanth, * Kalyanavarathan, Vasanth wrote on Thu, Apr 06, 2006 at 01:27:24PM CEST: > > A quick question about automake's AC_CHECK_HEADERS and AC_CHECK_LIBS > use of conftest.c file.
That's an Autoconf issue, not an Automake one. > When this check is used with CPP headers or CPP libs the test fails > because gcc uses > c complier instead of g++ compiler. Try putting AC_PROG_CXX somewhere before your checks, and enclose your checks in AC_LANG_PUSH([C++]) # checks go here.. AC_LANG_POP([C++]) Cheers, Ralf
