You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ar...@apache.org on 2010/06/26 20:08:50 UTC
svn commit: r958263 - /subversion/trunk/configure.ac
Author: arfrever
Date: Sat Jun 26 18:08:50 2010
New Revision: 958263
URL: http://svn.apache.org/viewvc?rev=958263&view=rev
Log:
* configure.ac
(disallowing-of-undefined-references): Use -Wl,--no-undefined flag by default
when compiler supports this flag.
Modified:
subversion/trunk/configure.ac
Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=958263&r1=958262&r2=958263&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Sat Jun 26 18:08:50 2010
@@ -804,7 +804,7 @@ 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" != "no"; then
AC_MSG_CHECKING([for -Wl,--no-undefined])
old_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--no-undefined"
@@ -818,7 +818,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])