[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-455-g2ef50df

Michael Adam obnox at samba.org
Tue Mar 17 22:13:40 GMT 2009


The branch, v3-4-test has been updated
       via  2ef50dfeaca50ce85ed867764b050276fe2c924c (commit)
      from  8b44877eb82c1c9270cb8099fefc621922f82719 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit 2ef50dfeaca50ce85ed867764b050276fe2c924c
Author: Steve Langasek <vorlon at debian.org>
Date:   Tue Mar 17 22:08:28 2009 +0100

    s3: Fix bugs in the detection of the GNU ld version (Bug #6147)
    
    This bug results in a failure to use linker scripts to limit the set of symbols
    exported by our shared libraries.
    
    Signed-off-by: Michael Adam <obnox at samba.org>
    (cherry picked from commit c6b570ce30b5cc3631c0ed780826d5450f681800)

-----------------------------------------------------------------------

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


Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index ab5e81f..49ec3ba 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -266,7 +266,7 @@ if test "$ac_cv_prog_gnu_ld" = "yes"; then
         else
            AC_MSG_CHECKING(GNU ld release version)
            changequote(,)dnl
-           ac_cv_gnu_ld_vernr=`echo $ac_cv_gnu_ld_version | sed -n 's,^.*\([1-9][0-9]*\.[0-9][0-9]*\).*$,\1,p'`
+           ac_cv_gnu_ld_vernr=`echo $ac_cv_gnu_ld_version | sed -n 's,^.*[^0-9\.]\+\([1-9][0-9]*\.[0-9][0-9]*\).*$,\1,p'`
            ac_cv_gnu_ld_vernr_major=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 1`
            ac_cv_gnu_ld_vernr_minor=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 2`
            changequote([,])dnl
@@ -278,7 +278,7 @@ if test "$ac_cv_prog_gnu_ld" = "yes"; then
            if test "$ac_cv_gnu_ld_vernr_major" -lt 2 || test "$ac_cv_gnu_ld_vernr_minor" -lt 14; then
              ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes
            fi
-           if test "$ac_cv_gnu_ld_vernr_major" -gt 2 || test "$ac_cv_gnu_ld_vernr_major"=2 && test "$ac_cv_gnu_ld_vernr_minor" -ge 12; then
+           if test "$ac_cv_gnu_ld_vernr_major" -gt 2 || test "$ac_cv_gnu_ld_vernr_major" = 2 && test "$ac_cv_gnu_ld_vernr_minor" -ge 12; then
              ac_cv_gnu_ld_version_script=yes
            fi
         fi


-- 
Samba Shared Repository


More information about the samba-cvs mailing list