[Samba] Samba 3.0.9 Available for Download

Thomas Bork tombork at web.de
Sat Nov 20 20:24:20 GMT 2004


Jeremy Allison wrote:

>>the same old story:
> Same old reply :-). You can't patch configure, it's a generated
> file. You need to send a patch for configure.in.

mmh, it's your first reply in this form ;)
I think you mean, configure is generated from configure.in, when 
releasing a new samba version from svn source, because configure _is_ in 
the samba-3.0.9.tar.gz?

Here is the patch:

--- samba-3.0.9/source/configure.in.orig	Tue Nov 16 04:03:30 2004
+++ samba-3.0.9/source/configure.in	Sat Nov 20 21:15:15 2004
@@ -298,9 +298,26 @@
  	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'`
  	changequote([,])dnl
  	AC_MSG_RESULT(${ac_cv_gnu_ld_date})
- 	if test "$ac_cv_gnu_ld_date" -lt 20030217; then
- 		ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes
- 	fi
+        if test -n "$ac_cv_gnu_ld_date"; then
+           if test "$ac_cv_gnu_ld_date" -lt 20030217; then
+              ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes
+           fi
+        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_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
+           AC_MSG_RESULT(${ac_cv_gnu_ld_vernr})
+           AC_MSG_CHECKING(GNU ld release version major)
+           AC_MSG_RESULT(${ac_cv_gnu_ld_vernr_major})
+           AC_MSG_CHECKING(GNU ld release version minor)
+           AC_MSG_RESULT(${ac_cv_gnu_ld_vernr_minor})
+           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
+        fi
  fi

  dnl needed before AC_TRY_COMPILE

-- 
der tom
-------------- next part --------------
--- samba-3.0.9/source/configure.in.orig	Tue Nov 16 04:03:30 2004
+++ samba-3.0.9/source/configure.in	Sat Nov 20 21:15:15 2004
@@ -298,9 +298,26 @@
 	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'`
 	changequote([,])dnl
 	AC_MSG_RESULT(${ac_cv_gnu_ld_date})
- 	if test "$ac_cv_gnu_ld_date" -lt 20030217; then
- 		ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes
- 	fi
+        if test -n "$ac_cv_gnu_ld_date"; then
+           if test "$ac_cv_gnu_ld_date" -lt 20030217; then
+              ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes
+           fi
+        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_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
+           AC_MSG_RESULT(${ac_cv_gnu_ld_vernr})
+           AC_MSG_CHECKING(GNU ld release version major)
+           AC_MSG_RESULT(${ac_cv_gnu_ld_vernr_major})
+           AC_MSG_CHECKING(GNU ld release version minor)
+           AC_MSG_RESULT(${ac_cv_gnu_ld_vernr_minor})
+           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
+        fi
 fi
 
 dnl needed before AC_TRY_COMPILE


More information about the samba mailing list