Patch: s3:build(autoconf): fix "no AC_LANG_SOURCE call detected" warnings

Andrew Bartlett abartlet at samba.org
Mon Jun 4 19:25:14 MDT 2012


On Tue, 2012-06-05 at 11:11 +1000, Martin Schwenke wrote:
> I just tried to rebase my Samba tree and noticed that I have had a
> patch sitting around for a while.  It fixes warnings from Autoconf 2.68
> that appear when you do (cd source3 ; ./autogen.sh).
> 
> 
> commit b0690bd3c84cc506c52d170749e9cb53499f2d97
> Author: Martin Schwenke <martin at meltin.net>
> Date:   Fri Dec 16 12:43:34 2011 +1100
> 
>     s3:build(autoconf): fix "no AC_LANG_SOURCE call detected" warnings
>     
>     Autoconf 2.68 NEWS says:
>     
>     ** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and
>        AC_RUN_IFELSE now warn if the first argument failed to use
>        AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file
>        contents.  A new macro AC_LANG_DEFINES_PROVIDED exists if you have
>        a compelling reason why you cannot use AC_LANG_SOURCE but must
>        avoid the warning.
>     
>     Signed-off-by: Martin Schwenke <martin at meltin.net>
> 
> 
> The patch is here:
> 
>   git://ozlabs.org/~martins/samba.git
> 
> in the master branch.

Thanks Martin.  I'll autobuild that shortly.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba-technical mailing list