[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Macro ordering and conditionals
From: |
Ralf Wildenhues |
Subject: |
Re: Macro ordering and conditionals |
Date: |
Sun, 25 Mar 2007 04:19:16 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi Russ,
* Russ Allbery wrote on Sun, Mar 25, 2007 at 03:55:14AM CEST:
> I have a feeling that this is a known problem with no good solution, but
> in poking around a bit in the Autoconf manual, I didn't see where it was
> mentioned. This is probably a documentation bug report asking for a
> mention somewhere in Dependencies Between Macros.
>
> The following configure.ac does very strange things:
Try this with Autoconf 2.61:
AC_INIT([test], [1.0], address@hidden)
AS_IF([test true = false],
[AC_CHECK_HEADERS([foo.h])])
AS_IF([test true = true],
[AC_CHECK_HEADERS([stdio.h])])
Cheers,
Ralf