Author: stsp
Date: Fri Jul  2 14:13:59 2010
New Revision: 959995

URL: http://svn.apache.org/viewvc?rev=959995&view=rev
Log:
Fix build on OpenBSD by reverting r958263.
According to the GNU ld documentation, there are systems where undefined
references in shared libraries are normal. So disallowing them by default
on all platforms is wrong. Please only enable this by default on platforms
that are known to have no issues with it.

Modified:
    subversion/trunk/configure.ac

Modified: subversion/trunk/configure.ac
URL: 
http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=959995&r1=959994&r2=959995&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Fri Jul  2 14:13:59 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" != "no"; then
+if test "$enable_disallowing_of_undefined_references" = "yes"; then
   AC_MSG_CHECKING([for -Wl,--no-undefined])
   old_LDFLAGS="$LDFLAGS"
   LDFLAGS="$LDFLAGS -Wl,--no-undefined"
@@ -818,9 +818,7 @@ if test "$enable_disallowing_of_undefine
     done
   else
     AC_MSG_RESULT([no])
-    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
+    AC_MSG_ERROR([--enable-disallowing-of-undefined-references explicitly 
requested, but -Wl,--no-undefined not supported])
   fi
 fi
 AC_SUBST([libsvn_auth_gnome_keyring_LDFLAGS])


Reply via email to