Hello everybody,
I found the following issue with autoconf v2.57 on Tru64 4.0f platform.
With older autoconf (2.52), it works.
The minimal configure.in that fails:
AC_PREREQ(2.5)
AC_INIT(try.cc)
AC_PROG_CXX
AC_LANG_CPLUSPLUS
AC_DEFINE(_XOPEN_SOURCE_EXTENDED)
AC_CHECK_HEADERS(strings.h)
configure gives me that strings.h doesn't exist although it is in
/usr/include. A closer look at the config.log reveals that <stdlib.h>
get included prior to any user #define. In particular prior to
_XOPEN_SOURCE_EXTENDED which is needed to insure proper definition of
bzero(). Apparently, this #include<stdlib.h> comes from confdefs.h
See below the annoted config.log ("HERE IS THE PROBLEM").
Is there a fix somewhere?
Regards,
Loic.