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

2011-06-14 Thread Křištof Želechovski
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

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

2010-09-24 Thread Ralf Corsepius
On 09/23/2010 02:56 PM, Ralf Corsepius wrote: Hi, I am facing a new issue/regression with autoconf-2.68: When running autoreconf on the follow configure.ac[1]: Another case, but this time triggered by libtool: -- snip -- AC_INIT([foo],[0.1]) AC_CONFIG_SRCDIR([configure.ac])

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

2010-09-24 Thread Eric Blake
On 09/24/2010 12:23 AM, Ralf Corsepius wrote: On 09/23/2010 02:56 PM, Ralf Corsepius wrote: Hi, I am facing a new issue/regression with autoconf-2.68: When running autoreconf on the follow configure.ac[1]: Another case, but this time triggered by libtool: Already fixed in libtool 2.4. #

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

2010-09-23 Thread Eric Blake
On 09/23/2010 06:56 AM, Ralf Corsepius wrote: Hi, I am facing a new issue/regression with autoconf-2.68: That is not a regression, but a feature. Reread NEWS: AC_COMPILE_IFELSE([ #ifndef FOO choke me #endif ]) You should have used: AC_COMPILE_IFELSE([AC_LANG_SOURCE([ #ifndef FOO choke

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

2010-09-23 Thread Eric Blake
On 09/23/2010 07:52 AM, Eric Blake wrote: [hit send too soon] On 09/23/2010 06:56 AM, Ralf Corsepius wrote: Hi, I am facing a new issue/regression with autoconf-2.68: That is not a regression, but a feature. Reread NEWS: ** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE,

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

2010-09-23 Thread Ralf Corsepius
On 09/23/2010 03:52 PM, Eric Blake wrote: On 09/23/2010 06:56 AM, Ralf Corsepius wrote: Hi, I am facing a new issue/regression with autoconf-2.68: That is not a regression, but a feature. Your feature is my regression - It broke what appeared to have worked for ages ;) Reread NEWS:

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

2010-09-23 Thread Ralf Wildenhues
* Ralf Corsepius wrote on Thu, Sep 23, 2010 at 04:33:01PM CEST: On 09/23/2010 03:52 PM, Eric Blake wrote: On 09/23/2010 06:56 AM, Ralf Corsepius wrote: I am facing a new issue/regression with autoconf-2.68: That is not a regression, but a feature. Your feature is my regression - It broke