[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0pre2-719-g42d606b

Karolin Seeger kseeger at samba.org
Wed Apr 16 14:41:50 GMT 2008


The branch, v3-2-stable has been updated
       via  42d606bb90b73b561c4570e3b9ebece0abb9633c (commit)
      from  4c20bd30fa5e9ee698148c50bc908a9d56496c5a (commit)

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


- Log -----------------------------------------------------------------
commit 42d606bb90b73b561c4570e3b9ebece0abb9633c
Author: Björn Jacke <bj at sernet.de>
Date:   Wed Apr 9 16:27:20 2008 +0200

    add AC_TRY_RUN_STRICT support for Sun Studio compiler
    (cherry picked from commit ce7025df2958dac284ec9e5ce47ab172c3aa2567)

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

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


Changeset truncated at 500 lines:

diff --git a/source/configure.in b/source/configure.in
index 8e12919..7d6b189 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -305,6 +305,18 @@ AC_CACHE_CHECK([that the C compiler understands -w2],samba_cv_HAVE_w2, [
   samba_cv_HAVE_w2=yes,samba_cv_HAVE_w2=no,samba_cv_HAVE_w2=cross)])
 if test x"$samba_cv_HAVE_w2" = x"yes"; then
    Werror_FLAGS="-w2"
+else
+dnl Check if the C compiler understands -errwarn
+AC_CACHE_CHECK([that the C compiler understands -errwarn],samba_cv_HAVE_errwarn, [
+  AC_TRY_RUN_STRICT([
+   int main(void)
+   {
+	return 0;
+   }],[-errwarn=%all],[$CPPFLAGS],[$LDFLAGS],
+   samba_cv_HAVE_errwarn=yes,samba_cv_HAVE_errwarn=no,samba_cv_HAVE_errwarn=cross)])
+if test x"$samba_cv_HAVE_errwarn" = x"yes"; then
+   Werror_FLAGS="-errwarn=%all"
+fi
 fi
 fi
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list