[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Sun May 30 15:59:04 MDT 2010


The branch, master has been updated
       via  390b052... s3: use autoconf macro to get some debug output in config.log
      from  e4a9bdc... s3-waf: Fix the build after rebase

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 390b0521bd36702a698febdd670335bf09b49d54
Author: Björn Jacke <bj at sernet.de>
Date:   Sun May 30 23:50:48 2010 +0200

    s3: use autoconf macro to get some debug output in config.log

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

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


Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index 630421a..e4ccc06 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1862,10 +1862,13 @@ AC_CACHE_CHECK([whether building shared libraries actually works],
    ac_cv_shlib_works=no
    # The $SHLD and $LDSHFLAGS variables may contain references to other
    # variables so they need to be eval'ed.
-   $CC $CPPFLAGS $CFLAGS $PICFLAG -c -o \
-	shlib.o ${srcdir-.}/../tests/shlib.c && \
-   `eval echo $SHLD` `eval echo $LDSHFLAGS` -o "shlib.$SHLIBEXT" \
-        shlib.o && ac_cv_shlib_works=yes
+   if AC_TRY_COMMAND([$CC $CPPFLAGS $CFLAGS $PICFLAG -c -o shlib.o ${srcdir-.}/../tests/shlib.c 1>&AS_MESSAGE_LOG_FD])
+   then
+     if AC_TRY_COMMAND([`eval echo "$SHLD"` `eval echo "$LDSHFLAGS"` -o "shlib.$SHLIBEXT" shlib.o 1>&AS_MESSAGE_LOG_FD])
+     then
+       ac_cv_shlib_works=yes
+     fi
+   fi
    rm -f "shlib.$SHLIBEXT" shlib.o
 
 ])


-- 
Samba Shared Repository


More information about the samba-cvs mailing list