[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Macro ordering and conditionals
From: |
Russ Allbery |
Subject: |
Re: Macro ordering and conditionals |
Date: |
Sat, 24 Mar 2007 19:25:05 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) |
Ralf Wildenhues <address@hidden> writes:
> 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])])
Ah, interesting.
I sense that I have a lot of macro rewriting in my future.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>