[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Sun Feb 7 18:33:21 MST 2010


The branch, master has been updated
       via  2aff1d6... s3: quiet the unresolved symbol warnings of the Compaq compiler when linking our vfs modules
      from  f692c6d... s4-torture: more useful error message in SMB2-DIR

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


- Log -----------------------------------------------------------------
commit 2aff1d6bcaba6d1bcc9bace064dd4b70c38a4bf6
Author: Björn Jacke <bj at sernet.de>
Date:   Mon Feb 8 00:08:38 2010 +0100

    s3: quiet the unresolved symbol warnings of the Compaq compiler when linking our vfs modules

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

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


Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index 14b57b6..1f69609 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1658,6 +1658,17 @@ DSO_EXPORTS=""
 			PICFLAG="-fPIC"
 			AC_DEFINE(STAT_ST_BLOCKSIZE,512)
 			AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
+			for flags in "-expect_unresolved '*'" "-Wl,-expect_unresolved,'*'" ; do
+				saved_ldflags="$LDFLAGS"
+				AC_MSG_CHECKING([if $flags works])
+				LDFLAGS="$flags $saved_ldflags"
+				AC_TRY_LINK([],[],
+					[AC_MSG_RESULT([yes])
+					LDSHFLAGS_Z_NODEFS=$flags],
+					AC_MSG_RESULT([no]))
+				LDFLAGS="$saved_ldflags"
+				test x"$LDSHFLAGS_Z_NODEFS" != x && break
+			done
 			;;
 		*sco*) AC_DEFINE(SCO,1,[Whether the host os is sco unix])
 			AC_DEFINE(STAT_ST_BLOCKSIZE,512)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list