apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r423826 - /apr/apr/branches/1.2.x/build/apr_common.m4
Date Thu, 20 Jul 2006 08:40:09 GMT
Author: jorton
Date: Thu Jul 20 01:40:08 2006
New Revision: 423826

URL: http://svn.apache.org/viewvc?rev=423826&view=rev
Log:
Merge r423435 from trunk:

* build/apr_common.m4 (APR_CONFIG_NICE, APR_PARSE_ARGUMENTS): Fix to
remove assumption that $@ is preserved forever - it never was in any
autoconf release; autoconf 2.60 happens to overwrite it earlier.

Modified:
    apr/apr/branches/1.2.x/build/apr_common.m4

Modified: apr/apr/branches/1.2.x/build/apr_common.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/build/apr_common.m4?rev=423826&r1=423825&r2=423826&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/build/apr_common.m4 (original)
+++ apr/apr/branches/1.2.x/build/apr_common.m4 Thu Jul 20 01:40:08 2006
@@ -64,7 +64,12 @@
     echo "NOTEST_LIBS=\"$NOTEST_LIBS\"; export NOTEST_LIBS" >> $1
   fi
 
-  for arg in [$]0 "[$]@"; do
+  # Retrieve command-line arguments.
+  eval "set x $[0] $ac_configure_args"
+  shift
+
+  for arg
+  do
     APR_EXPAND_VAR(arg, $arg)
     echo "\"[$]arg\" \\" >> $1
   done
@@ -800,6 +805,10 @@
 dnl set ups.
 AC_DEFUN(APR_PARSE_ARGUMENTS,[
 ac_prev=
+# Retrieve the command-line arguments.  The eval is needed because
+# the arguments are quoted to preserve accuracy.
+eval "set x $ac_configure_args"
+shift
 for ac_option
 do
   # If the previous option needs an argument, assign it.



Mime
View raw message