[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf-bug
Subject: Re: no AC_LANG_SOURCE call detected in body with AC_RUN_IFELSE+AC_LANG_PROGRAM
From: Vincent Lefevre <vincent () vinc17 ! net>
Date: 2011-04-18 15:04:20
Message-ID: 20110418150420.GV5411 () prunille ! vinc17 ! org
[Download RAW message or body]
On 2011-04-18 07:10:23 -0600, Eric Blake wrote:
> On 04/18/2011 05:55 AM, Vincent Lefevre wrote:
> > AC_INIT([Test], [1.0])
> > AC_RUN_IFELSE(AC_LANG_PROGRAM([[ ]], [[ ]]),
> > [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)], [AC_MSG_RESULT(can not test)])
> >
> > autoconf version 2.68 gives:
> >
> > configure.ac:2: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
>
> Use correct quoting:
>
> AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ]], [[ ]])],
> [AC_MSG_RESULT...])
OK, sorry, I didn't see the missing quoting. I wonder whether the
autoconf manual or the error message could be improved. It is a bit
tricky to review old code that was apparently working in the past,
so that one doesn't think there is a mistake in it.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic