[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#369396: Regression: problems with macro calling AC_PROG_CC and A
From: |
Ralf Wildenhues |
Subject: |
Re: Bug#369396: Regression: problems with macro calling AC_PROG_CC and AC_C_BIGENDIAN |
Date: |
Mon, 29 May 2006 17:38:12 +0200 |
User-agent: |
Mutt/1.5.11 |
[ 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, address@hidden)
> 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
- Re: Bug#369396: Regression: problems with macro calling AC_PROG_CC and AC_C_BIGENDIAN,
Ralf Wildenhues <=