[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no AC_LANG_SOURCE call detected in body with AC_RUN_IFELSE+AC_LANG_P
From: |
Vincent Lefevre |
Subject: |
Re: no AC_LANG_SOURCE call detected in body with AC_RUN_IFELSE+AC_LANG_PROGRAM |
Date: |
Mon, 18 Apr 2011 17:04:20 +0200 |
User-agent: |
Mutt/1.5.21-6171-vl-r42848 (2011-03-30) |
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 <address@hidden> - 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)