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 <vinc...@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)

Reply via email to