From: Sascha Schumann Date: Wed, 3 May 2000 02:02:54 +0000 (+0000) Subject: Configure creates config.nice now containing your configure options. X-Git-Tag: APACHE_2_0_ALPHA_4~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afb48ffe103391b5b0e01fb2d3e787923824dbd8;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/acinclude.m4 b/acinclude.m4 index fdd8c6a58b7..8482f222cf1 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,3 +1,19 @@ + +AC_DEFUN(APACHE_CONFIG_NICE,[ + rm -f $1 + cat >$1<> $1 + done + echo '"[$]@"' >> $1 + chmod +x $1 +]) AC_DEFUN(APACHE_PASSTHRU,[ unset ac_cv_pass_$1 diff --git a/configure.in b/configure.in index ca5ad57c9de..b4c3633d361 100644 --- a/configure.in +++ b/configure.in @@ -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.