bug-autoconf
[Top][All Lists]
Advanced

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

Error in AC_COMPILE_IFELSE documentation


From: Vincent Lefevre
Subject: Error in AC_COMPILE_IFELSE documentation
Date: Thu, 25 May 2006 21:47:16 +0200
User-agent: Mutt/1.5.11-vl-20060519

I reported the following bug to the Debian BTS several months ago,
and it is still there in the latest Debian package. I don't know
if it has been fixed upstream...

The info documentation says:

 - Macro: AC_COMPILE_IFELSE (INPUT, [ACTION-IF-FOUND],
          [ACTION-IF-NOT-FOUND])
     Run the compiler and compilation flags of the current language
     (*note Language Choice::) on the INPUT, run the shell commands
     ACTION-IF-TRUE on success, ACTION-IF-FALSE otherwise.  The INPUT
     can be made by `AC_LANG_PROGRAM' and friends.

"ACTION-IF-FOUND" should be replaced by "ACTION-IF-TRUE" and
"ACTION-IF-NOT-FOUND" should be replaced by "ACTION-IF-FALSE".

Or better: ACTION-IF-SUCCESS and ACTION-IF-FAILURE respectively
everywhere. Same problem with AC_LINK_IFELSE.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325861 for the
Debian bug.

Regards,

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA




reply via email to

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