cvs: /php4 acinclude.m4 configure.in

From: Date: Tue, 07 Mar 2000 18:05:47 +0000
Subject: cvs: /php4 acinclude.m4 configure.in
Groups: php.version4 
Request: Send a blank email to php-version4+get-11698@lists.php.net to get a copy of this message
sas Tue Mar 7 10:05:47 2000 EDT Modified files: /php4 acinclude.m4 configure.in Log: Write configuration parameters into `config.nice', so you can redo the same configuration with exactly one command. Index: php4/acinclude.m4 diff -u php4/acinclude.m4:1.64 php4/acinclude.m4:1.65 --- php4/acinclude.m4:1.64 Fri Mar 3 08:10:38 2000 +++ php4/acinclude.m4 Tue Mar 7 10:05:16 2000 @@ -1,6 +1,22 @@ -dnl $Id: acinclude.m4,v 1.64 2000/03/03 16:10:38 sas Exp $ +dnl $Id: acinclude.m4,v 1.65 2000/03/07 18:05:16 sas Exp $ dnl dnl This file contains local autoconf functions. + +AC_DEFUN(PHP_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(PHP_TIME_R_TYPE,[ AC_CACHE_CHECK(for time_r type, ac_cv_time_r_type,[ Index: php4/configure.in diff -u php4/configure.in:1.98 php4/configure.in:1.99 --- php4/configure.in:1.98 Tue Mar 7 05:27:37 2000 +++ php4/configure.in Tue Mar 7 10:05:16 2000 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.98 2000/03/07 13:27:37 sas Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.99 2000/03/07 18:05:16 sas Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -23,8 +23,9 @@ cwd=pwd -CONFIGURE_COMMAND=$0 -for arg in "$@"; do +PHP_CONFIG_NICE(config.nice) + +for arg in $0 "$@"; do CONFIGURE_COMMAND="$CONFIGURE_COMMAND '$arg'" done

« previous php.version4 (#11698) next »