cvs: phpdoc / configure.in /scripts version.php
| From: | Gabor Hojtsy | Date: | Sat, 12 Apr 2003 09:53:18 +0000 |
| Subject: | cvs: phpdoc / configure.in /scripts version.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969352568@lists.php.net to get a copy of this message | ||
goba Sat Apr 12 05:53:18 2003 EDT
Added files:
/phpdoc/scripts version.php
Modified files:
/phpdoc configure.in
Log:
Adding a shorter PHP version information file,
and using it from configure
Also providing some feedback in case extensions
were not found (either the user ask for them or not)
Configure output is much more readable now
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.184 phpdoc/configure.in:1.185
--- phpdoc/configure.in:1.184 Fri Apr 11 16:39:55 2003
+++ phpdoc/configure.in Sat Apr 12 05:53:17 2003
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.184 2003/04/11 20:39:55 goba Exp $
+dnl $Id: configure.in,v 1.185 2003/04/12 09:53:17 goba Exp $
dnl autoconf initialisation
AC_INIT()
@@ -66,7 +66,7 @@
AC_MSG_ERROR([no PHP binary found])
else
AC_MSG_CHECKING([php version])
- PHPVERSION=
$PHP -qv
+ PHPVERSION=$PHP -q -f $srcdir/scripts/version.php
# version check disabled for now, seems to be causing troubles on cygwin
# if test "yes" = echo '<?php echo
phpversion()>3?"yes":"no"; ?>' | $PHP -q; then
AC_MSG_RESULT($PHPVERSION)
@@ -458,6 +458,9 @@
fi
done
])
+if test "$EXT_SOURCE" = ""; then
+ AC_MSG_RESULT([no])
+fi
dnl }}}
AC_SUBST(EXT_SOURCE)
Index: phpdoc/scripts/version.php
+++ phpdoc/scripts/version.php
<?php echo phpversion() . " " . php_sapi_name(); ?>