[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Fri May 20 13:00:59 MDT 2011

The branch, v3-5-test has been updated
       via  19bbd0a s3/configure: fix GNU ld version detection with old gcc releases
      from  c8ba5d4 tdb_expand: limit the expansion with huge records


- Log -----------------------------------------------------------------
commit 19bbd0a4f0c39aaf6f0f3ecdcce7c52bb8264a5a
Author: Björn Jacke <bj at sernet.de>
Date:   Fri Nov 26 15:14:14 2010 +0100

    s3/configure: fix GNU ld version detection with old gcc releases
    needed as old gcc releases output everything to stderr, even stdout output from
    Fixes #7825
    Autobuild-User: Björn Jacke <bj at sernet.de>
    Autobuild-Date: Fri Nov 26 20:15:24 CET 2010 on sn-devel-104
    (cherry picked from commit 70a7da0e101910e3ceb08b86d4b840b219e24d7d)


Summary of changes:
 source3/configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index b21e261..2c9fe1e 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -215,7 +215,7 @@ dnl Certain versions of GNU ld the default is not to have the
 dnl --allow-shlib-undefined flag defined.  This causes a stackload of
 dnl warnings when building modules.
 if test "$ac_cv_prog_gnu_ld" = "yes"; then
-	ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>/dev/null | head -1`
+	ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>&1 < /dev/null | grep "GNU ld"`
 	AC_MSG_CHECKING(GNU ld release date)
 	ac_cv_gnu_ld_date=`echo $ac_cv_gnu_ld_version | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'`

Samba Shared Repository

More information about the samba-cvs mailing list