[PHP4BETA] CVS update: php4/scripts

From: Date: Mon, 19 Apr 1999 17:19:37 +0000
Subject: [PHP4BETA] CVS update: php4/scripts
Groups: php.version4 
Request: Send a blank email to php-version4+get-184@lists.php.net to get a copy of this message
Date: Monday April 19, 1999 @ 13:19 Author: ssb Update of /repository/php4/scripts In directory php:/tmp/cvs-serv6542/scripts Modified Files: preconfig Log Message: generate acconfig.h from acconfig.h.in and ext/*/config.h.stub Index: php4/scripts/preconfig diff -u php4/scripts/preconfig:1.1 php4/scripts/preconfig:1.2 --- php4/scripts/preconfig:1.1 Fri Apr 16 20:37:12 1999 +++ php4/scripts/preconfig Mon Apr 19 13:19:37 1999 @@ -1,7 +1,25 @@ #!/bin/sh # -# $Id: preconfig,v 1.1 1999/04/17 00:37:12 ssb Exp $ +# $Id: preconfig,v 1.2 1999/04/19 17:19:37 ssb Exp $ makefiles=echo ext/*/Makefile.am | sed -e 's/\.am//g' -rm -f configure.in -sed -e "s#@@EXT_MAKEFILES@@#$makefiles#" configure.in.in > configure.in +sed -e "s#@@EXT_MAKEFILES@@#$makefiles#" configure.in.in > configure.in.new +if ! cmp configure.in configure.in.new 2>/dev/null; then + mv configure.in.new configure.in +else + rm -f configure.in.new +fi + +cat acconfig.h.in > acconfig.h.new +confighfiles=echo ext/*/config.h.stub +if test "$confighfiles" != "ext/*/config.h.stub"; then + for file in $confighfiles; do + cat $file >> acconfig.h.new + done +fi +if ! cmp acconfig.h acconfig.h.new 2>/dev/null; then + mv acconfig.h.new acconfig.h + autoheader +else + rm -f acconfig.h.new +fi -- PHP 4 Beta

« previous php.version4 (#184) next »