bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue AC_CHECK_HEADERS


From: Loic Domaigne
Subject: Re: Issue AC_CHECK_HEADERS
Date: Fri, 16 Apr 2004 16:38:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Hi,

autoconf v2.59 seems to have fix the problem already.

Loic.

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]