cvs: /php4 build-defs.h.in configure.in /php4/ext/standard info.c
| From: | Stig Bakken | Date: | Fri, 03 Dec 1999 13:32:12 +0000 |
| Subject: | cvs: /php4 build-defs.h.in configure.in /php4/ext/standard info.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7320@lists.php.net to get a copy of this message | ||
ssb Fri Dec 3 08:32:12 1999 EDT
Modified files:
/php4 build-defs.h.in configure.in
/php4/ext/standard info.c
Log:
Add configure command to phpinfo() output (Stig)
Index: php4/build-defs.h.in
diff -u php4/build-defs.h.in:1.6 php4/build-defs.h.in:1.7
--- php4/build-defs.h.in:1.6 Sun Sep 5 09:06:24 1999
+++ php4/build-defs.h.in Fri Dec 3 08:31:40 1999
@@ -23,10 +23,11 @@
| If you did not, or have any questions about PHP licensing, please |
| contact core@php.net. |
+----------------------------------------------------------------------+
- | Authors: Stig Sæther Bakken <ssb@guardian.no> |
+ | Authors: Stig Sæther Bakken <ssb@fast.no> |
+----------------------------------------------------------------------+
*/
+#define CONFIGURE_COMMAND "@CONFIGURE_COMMAND@"
#define PHP_ADA_INCLUDE ""
#define PHP_ADA_LFLAGS ""
#define PHP_ADA_LIBS ""
@@ -87,4 +88,3 @@
#define PHP_LDAP_LIBS ""
#define PHP_VELOCIS_INCLUDE ""
#define PHP_VELOCIS_LIBS ""
-
Index: php4/configure.in
diff -u php4/configure.in:1.49 php4/configure.in:1.50
--- php4/configure.in:1.49 Wed Dec 1 17:59:42 1999
+++ php4/configure.in Fri Dec 3 08:31:40 1999
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.49 1999/12/01 22:59:42 ssb Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.50 1999/12/03 13:31:40 ssb Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(0)
@@ -15,6 +15,12 @@
cwd=
pwd
passthru="$@"
+
+CONFIGURE_COMMAND=$0
+for arg in "$@"; do
+ CONFIGURE_COMMAND="$CONFIGURE_COMMAND '$arg'"
+done
+AC_SUBST(CONFIGURE_COMMAND)
dnl ## Diversion 1 is the initial checking of OS features, programs,
dnl ## libraries and so on.
Index: php4/ext/standard/info.c
diff -u php4/ext/standard/info.c:1.44 php4/ext/standard/info.c:1.45
--- php4/ext/standard/info.c:1.44 Mon Nov 29 10:36:24 1999
+++ php4/ext/standard/info.c Fri Dec 3 08:31:41 1999
@@ -95,8 +95,8 @@
PUTS("?=PHPE9568F34-D428-11d2-A769-00AA001ACF42\" border=\"0\"
align=\"right\"></a>\n");
}
php_printf("System: %s<br>Build Date: %s\n<br>", php3_uname, __DATE__);
+ php_printf("Configure command: %s<br>\n", CONFIGURE_COMMAND);
php_printf("php.ini path: %s<br>\n", CONFIGURATION_FILE_PATH);
-
php_printf("ZEND_DEBUG=%d<br>\n", ZEND_DEBUG);
#ifdef ZTS
php_printf("ZTS is defined");