]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use APR's macro to generate config.nice
authorRoy T. Fielding <fielding@apache.org>
Tue, 3 Apr 2001 05:51:20 +0000 (05:51 +0000)
committerRoy T. Fielding <fielding@apache.org>
Tue, 3 Apr 2001 05:51:20 +0000 (05:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88685 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4
configure.in

index 56b5a6b02aa1a78e6d2ac2dde844bfed2e91d230..71a8fed5d081b127a5775faf65c1efd86362bb34 100644 (file)
@@ -1,23 +1,4 @@
  
-AC_DEFUN(APACHE_CONFIG_NICE,[
-  rm -f $1
-  cat >$1<<EOF
-#! /bin/sh
-#
-# Created by configure
-
-EOF
-  if test -n "$OPTIM"; then
-    echo "OPTIM=\"$OPTIM\"; export OPTIM" >> $1
-  fi
-
-  for arg in [$]0 "[$]@"; do
-    echo "\"[$]arg\" \\" >> $1
-  done
-  echo '"[$]@"' >> $1
-  chmod +x $1
-])
-
 AC_DEFUN(APACHE_PASSTHRU,[
   unset ac_cv_pass_$1
   AC_CACHE_VAL(ac_cv_pass_$1, [ac_cv_pass_$1=$$1])
index b308f8aa8cd2a1ff49394114b3d5c2737cdc9c6c..a749ea0b3bc5de3121c7202a9e39aa40f8e5f28b 100644 (file)
@@ -23,7 +23,7 @@ sinclude(acinclude.m4)
 
 dnl Generate ./config.nice for reproducing runs of configure
 dnl
-APACHE_CONFIG_NICE(config.nice)
+APR_CONFIG_NICE(config.nice)
 
 test "$exec_prefix" = "NONE" && exec_prefix='${prefix}'
 test "$prefix" = "NONE" && prefix='/usr/local'