Ugh, quite some mail backlog and little time...

* Steven G. Johnson wrote on Wed, Jan 03, 2007 at 08:41:44PM CET:
> Harlan Stenn wrote:
> >When was AC_PROG_CC_C89 introduced?
[...]
> >Speaking of which, how difficult would it be to list the "oldest"
> >version that will support each autoconf macro?

If you're only out to know whether the macro is defined:

AC_INIT
m4_pattern_allow([^AC_PROG_CC_C89$])dnl
m4_ifdef([AC_PROG_CC_C89],
         [[echo has AC_PROG_CC_C89]],
         [[echo does not have AC_PROG_CC_C89]])


Omitting the macro name in the answer, the above may be simplified to

AC_INIT
m4_ifdef([AC_PROG_CC_C89], [echo yes], [echo no])

Hope that helps.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to