Re: Macro ordering and conditionals

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

 



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], [rra@xxxxxxxxxxxx])
AS_IF([test true = false],
      [AC_CHECK_HEADERS([foo.h])])
AS_IF([test true = true],
      [AC_CHECK_HEADERS([stdio.h])])

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux