bug-autoconf
[Top][All Lists]
Advanced

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

Re: autoconf-2.68: no AC_LANG_SOURCE call detected in body


From: Křištof Želechovski
Subject: Re: autoconf-2.68: no AC_LANG_SOURCE call detected in body
Date: Tue, 14 Jun 2011 09:02:10 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.4; x86_64; ; )

Please observe that the following code from 3.1.2 "The Autoconf Language" is 
obsolete and should be updated:

        AC_COMPILE_IFELSE([[char b[10];]], [], [AC_MSG_ERROR([you lose])])

Running this snippet through autoconf produces the warning:

        no AC_LANG_SOURCE call detected in body

It seems the following syntax is required instead:

        AC_COMPILE_IFELSE([AC_LANG_SOURCE([[char b[10];]])], [], 
[AC_MSG_ERROR([you lose])])

Please fix,
Chris



reply via email to

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