cvs: php4 / configure.in

From: Date: Fri, 07 Mar 2003 06:18:18 +0000
Subject: cvs: php4 / configure.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19433@lists.php.net to get a copy of this message
sniper Fri Mar 7 01:18:18 2003 EDT Modified files: /php4 configure.in Log: Create php_version.h in the correct directory Index: php4/configure.in diff -u php4/configure.in:1.428 php4/configure.in:1.429 --- php4/configure.in:1.428 Fri Feb 28 14:53:19 2003 +++ php4/configure.in Fri Mar 7 01:18:17 2003 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.428 2003/02/28 19:53:19 wez Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.429 2003/03/07 06:18:17 sniper Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -61,14 +61,13 @@ echo "#define PHP_RELEASE_VERSION $RELEASE_VERSION" >> php_version.h.new echo "#define PHP_EXTRA_VERSION \"$EXTRA_VERSION\"" >> php_version.h.new echo "#define PHP_VERSION \"$PHP_VERSION\"" >> php_version.h.new -cmp php_version.h.new php_version.h >/dev/null 2>&1 +cmp php_version.h.new $srcdir/main/php_version.h >/dev/null 2>&1 if test $? -ne 0 ; then - rm -f php_version.h && mv php_version.h.new php_version.h && \ - echo 'Updated php_version.h' + rm -f $srcdir/main/php_version.h && mv php_version.h.new $srcdir/main/php_version.h && \ + echo 'Updated main/php_version.h' else rm -f php_version.h.new fi - dnl Catch common errors here to save a few seconds of our users' time

« previous php.cvs (#19433) next »