subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arfre...@apache.org
Subject svn commit: r960568 - /subversion/trunk/configure.ac
Date Mon, 05 Jul 2010 11:52:45 GMT
Author: arfrever
Date: Mon Jul  5 11:52:44 2010
New Revision: 960568

URL: http://svn.apache.org/viewvc?rev=960568&view=rev
Log:
* configure.ac
  (disallowing-of-undefined-references): Revert r959995 and use
   -Wl,--no-undefined by default only on systems, which are known to not have
   problems with this flag.

Modified:
    subversion/trunk/configure.ac

Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=960568&r1=960567&r2=960568&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Mon Jul  5 11:52:44 2010
@@ -804,7 +804,10 @@ dnl Use -Wl,--no-undefined during linkin
 AC_ARG_ENABLE(disallowing-of-undefined-references,
   [AS_HELP_STRING([--enable-disallowing-of-undefined-references],
                   [Use -Wl,--no-undefined flag during linking of some libraries to disallow
undefined references])])
-if test "$enable_disallowing_of_undefined_references" = "yes"; then
+if test "$enable_disallowing_of_undefined_references" != "yes" && test "`uname`"
!= "Linux"; then
+  enable_disallowing_of_undefined_references="no"
+fi
+if test "$enable_disallowing_of_undefined_references" != "no"; then
   AC_MSG_CHECKING([for -Wl,--no-undefined])
   old_LDFLAGS="$LDFLAGS"
   LDFLAGS="$LDFLAGS -Wl,--no-undefined"
@@ -818,7 +821,9 @@ if test "$enable_disallowing_of_undefine
     done
   else
     AC_MSG_RESULT([no])
-    AC_MSG_ERROR([--enable-disallowing-of-undefined-references explicitly requested, but
-Wl,--no-undefined not supported])
+    if test "$enable_disallowing_of_undefined_references" = "yes"; then
+      AC_MSG_ERROR([--enable-disallowing-of-undefined-references explicitly requested, but
-Wl,--no-undefined not supported])
+    fi
   fi
 fi
 AC_SUBST([libsvn_auth_gnome_keyring_LDFLAGS])



Mime
View raw message