autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] autoconf: warn if AC_*_IFELSE lacks complete program


From: Ralf Wildenhues
Subject: Re: [PATCH] autoconf: warn if AC_*_IFELSE lacks complete program
Date: Fri, 27 Aug 2010 07:24:15 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hi Eric,

* Eric Blake wrote on Thu, Aug 26, 2010 at 11:13:02PM CEST:
> It works - it found bugs in autoconf's own (mis-)use of AC_COMPILE_IFELSE!

Nifty idea and patch!

Testing shows me that
  AC_INIT
  AC_PROG_CC
  AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED s])
  AC_COMPILE_IFELSE([t])

still manages to correctly warn about the second instance (might be a
good testsuite addition), but I fail to see how that is ensured.  Is
  m4_pushdef([M]) m4_define([M]) m4_popdef([M])

documented to work and do the expected (what would that be?) thing?

Thanks!
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]