Commit 6c82a3f1 authored by Roy T. Fielding's avatar Roy T. Fielding
Browse files

Use APR's macro to generate config.nice


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88685 13f79535-47bb-0310-9956-ffa450edef68
parent fb686cdd
Loading
Loading
Loading
Loading
+0 −19
Original line number Diff line number Diff line
 
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])
+1 −1
Original line number Diff line number Diff line
@@ -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'