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

Martin Schwenke martin at meltin.net
Mon Jun 4 19:11:26 MDT 2012


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.

peace & happiness,
martin


More information about the samba-technical mailing list