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 2011/04/12 22:16:16 UTC

svn commit: r1091566 - /subversion/trunk/configure.ac

Author: arfrever
Date: Tue Apr 12 20:16:16 2011
New Revision: 1091566

URL: http://svn.apache.org/viewvc?rev=1091566&view=rev
Log:
Fix regression introduced in r1042868.
Actually enable -Wl,--no-undefined flag when it is supported.

* configure.ac
  (disallowing-of-undefined-references): Don't introduce a subshell, in which
   some variables would be set.

Modified:
    subversion/trunk/configure.ac

Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1091566&r1=1091565&r2=1091566&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Tue Apr 12 20:16:16 2011
@@ -845,7 +845,7 @@ if test "$enable_disallowing_of_undefine
   LDFLAGS="$old_LDFLAGS"
   if test "$svn_wl_no_undefined" = "yes"; then
     AC_MSG_RESULT([yes])
-    ls "$abs_srcdir"/subversion | grep libsvn_ | while read library_dir; do
+    for library_dir in $(ls "$abs_srcdir/subversion" | grep libsvn_); do
       eval "`basename $library_dir`_LDFLAGS=-Wl,--no-undefined"
     done
   else