[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Thu Jul 22 07:52:22 MDT 2010

The branch, master has been updated
       via  c75106f... s3: not use as-needed by default and auto use if enable-developer is active
      from  61cfbf3... s3-rpc_server: Cleanup the way we free pipe auth data


- Log -----------------------------------------------------------------
commit c75106fd3ab3715af190dbbdeda9809a019edaac
Author: Björn Jacke <bj at sernet.de>
Date:   Tue Jul 20 19:48:39 2010 +0200

    s3: not use as-needed by default and auto use if enable-developer is active
    as discussed on samba-technical, we don't want people out there to use it
    unwittingly by default. However by enabling it when enable-developer is used we
    make sure that we don't break the feature.


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

Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index b99a004..26e98f5 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1800,9 +1800,16 @@ fi
+if test x"$enable_developer" = x"yes" ; then
+	default_as_needed=auto
+	default_as_needed=no
-	[AS_HELP_STRING([--enable-as-needed],
-	[Turn on as-needed support if available (default=auto)])])
+	AS_HELP_STRING([--enable-as-needed],
+	[Turn on as-needed support if available (default=no)]),
+	[enable_as_needed=$enableval],
+	[enable_as_needed=$default_as_needed])
 if test "x$enable_as_needed" != xno; then
     for flags in "-Wl,--as-needed" "-Wl,-z,ignore" "-z ignore" ; do
@@ -1819,7 +1826,7 @@ if test "x$enable_as_needed" != xno; then
-if test x$ld_as_needed_flag_found = xyes ; then
+if test x$ld_as_needed_flag_found = xyes -a x$enable_as_needed = xauto ; then
 # check if ld has bug described in https://bugzilla.samba.org/show_bug.cgi?id=7209#c17
 	AC_MSG_CHECKING([if $LD_AS_NEEDED_FLAG has explicit external libs bug])
 cat > conftest_shb.c <<END

Samba Shared Repository

More information about the samba-cvs mailing list