RE: [PHP-CVS] cvs: php4 / configure.in

From: Date: Thu, 11 Apr 2002 15:34:16 +0000
Subject: RE: [PHP-CVS] cvs: php4 / configure.in
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11039@lists.php.net to get a copy of this message
Since configure is never run on Win32 && !cygwin platforms, main/php_version.h needs to be updated to reflect this change. The patch for that was included with this one. And is attached as well. Thanks, Joseph > -----Original Message----- > From: Wez Furlong [mailto:wez.php@thebrainroom.com] > Sent: Thursday, April 11, 2002 11:16 AM > To: php-cvs@lists.php.net > Subject: [PHP-CVS] cvs: php4 / configure.in > > > wez Thu Apr 11 11:15:34 2002 EDT > > Modified files: > /php4 configure.in > Log: > Apply patch for MAJOR_VERSION etc. by Joseph Tate > > Index: php4/configure.in > diff -u php4/configure.in:1.336 php4/configure.in:1.337 > --- php4/configure.in:1.336 Tue Apr 9 21:13:18 2002 > +++ php4/configure.in Thu Apr 11 11:15:33 2002 > @@ -1,4 +1,4 @@ > -dnl ## $Id: configure.in,v 1.336 2002/04/10 01:13:18 helly Exp $ > -*- sh -*- > +dnl ## $Id: configure.in,v 1.337 2002/04/11 15:15:33 wez Exp $ -*- sh -*- > dnl ## Process this file with autoconf to produce a configure script. > > divert(1) > @@ -37,7 +37,12 @@ > AC_CANONICAL_HOST > AC_CONFIG_HEADER(main/php_config.h) > > -VERSION="4.3.0-dev" > +MAJOR_VERSION=4 > +MINOR_VERSION=3 > +RELEASE_VERSION=0 > +EXTRA_VERSION="-dev" > +#VERSION="4.3.0-dev" > +VERSION="$MAJOR_VERSION.$MINOR_VERSION.$RELEASE_VERSION$EXTRA_VERSION" > > dnl Define where extension directories are located in the > configure context > AC_DEFUN(PHP_EXT_BUILDDIR,[ext/$1])dnl > @@ -51,6 +56,10 @@ > PHP_VERSION=$VERSION > echo "/* automatically generated by configure */" > php_version.h.new > echo "/* edit configure.in to change version number */" >> > php_version.h.new > +echo "#define PHP_MAJOR_VERSION $MAJOR_VERSION" >> php_version.h.new > +echo "#define PHP_MINOR_VERSION $MINOR_VERSION" >> php_version.h.new > +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 > if test $? -ne 0 ; then > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.cvs (#11039) next »