[ Cc:ing bug-autoconf ]

Hi Mikael,

* Mikael Magnusson wrote on Mon, May 29, 2006 at 05:06:13PM CEST:
> 
> If you call AC_PROG_CC and AC_C_BIGENDIAN in a macro, the checks for
> unistd.h and some other headers will fail. See attached test case.

Interesting.  This looks like a genuine bug in Autoconf 2.59c.
Something is not forcing the CPP tests after the CC tests.
Thanks for reporting this!


Cheers,
Ralf

> AC_INIT(TEST, 1, [EMAIL PROTECTED])
> echo 1
> 
> AC_DEFUN([TEST_INIT],[
> echo test1
> AC_PROG_CC
> echo test2
> AC_C_BIGENDIAN
> echo test3
> ])
> 
> echo 2
> TEST_INIT
> echo 3
> AC_CHECK_HEADER([unistd.h], [], [AC_MSG_ERROR([unistd.h not available?])])
> 
> AC_OUTPUT


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to