Commit b4a941ea authored by Sascha Schumann's avatar Sascha Schumann
Browse files

Configure creates config.nice now containing your configure options.

Syntax: ./config.nice [--more-options]

Obtained from: PHP


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85127 13f79535-47bb-0310-9956-ffa450edef68
parent 6d5179ee
Loading
Loading
Loading
Loading
+16 −0
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

  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])
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ dnl Absolute source/build directory
abs_srcdir=`(cd $srcdir && pwd)`
abs_builddir=`pwd`

APACHE_CONFIG_NICE(config.nice)

dnl If the source dir is not equal to the build dir, 
dnl then we are running in VPATH mode.