httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cvs commit: httpd-apreq-2 acinclude.m4
Date Tue, 22 Jun 2004 03:45:56 GMT
joes        2004/06/21 20:45:56

  Modified:    .        acinclude.m4
  Log:
  Use ac_configure_args for constructing config.nice.  Without this patch it was possible
for config.status to add --no-create --disable-recursion arguments. ac_configure_args always
filters these args out.
  
  Revision  Changes    Path
  1.22      +1 -29     httpd-apreq-2/acinclude.m4
  
  Index: acinclude.m4
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/acinclude.m4,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- acinclude.m4	21 Jun 2004 18:46:53 -0000	1.21
  +++ acinclude.m4	22 Jun 2004 03:45:56 -0000	1.22
  @@ -147,30 +147,6 @@
           AC_SUBST(PERL)
   ])
   
  -dnl Iteratively interpolate the contents of the second argument
  -dnl until interpolation offers no new result. Then assign the
  -dnl final result to $1.
  -dnl
  -dnl Example:
  -dnl
  -dnl foo=1
  -dnl bar='${foo}/2'
  -dnl baz='${bar}/3'
  -dnl APR_EXPAND_VAR(fraz, $baz)
  -dnl   $fraz is now "1/2/3"
  -dnl 
  -AC_DEFUN(APR_EXPAND_VAR,[
  -ap_last=
  -ap_cur="$2"
  -while test "x${ap_cur}" != "x${ap_last}";
  -do
  -  ap_last="${ap_cur}"
  -  ap_cur=`eval "echo ${ap_cur}"`
  -done
  -$1="${ap_cur}"
  -])
  -
  -
   dnl APR_CONFIG_NICE(filename)
   dnl
   dnl Saves a snapshot of the configure command-line for later reuse
  @@ -217,10 +193,6 @@
       echo "NOTEST_LIBS=\"$NOTEST_LIBS\"; export NOTEST_LIBS" >> $1
     fi
   
  -  for arg in [$]0 "[$]@"; do
  -    APR_EXPAND_VAR(arg, $arg)
  -    echo "\"[$]arg\" \\" >> $1
  -  done
  -  echo '"[$]@"' >> $1
  +  echo [$]0 [$]ac_configure_args '"[$]@"' >> $1
     chmod +x $1
   ])dnl
  
  
  

Mime
View raw message