]> granicus.if.org Git - php/commitdiff
Add configure command to phpinfo() output (Stig)
authorStig Bakken <ssb@php.net>
Fri, 3 Dec 1999 13:31:41 +0000 (13:31 +0000)
committerStig Bakken <ssb@php.net>
Fri, 3 Dec 1999 13:31:41 +0000 (13:31 +0000)
build-defs.h.in
configure.in
ext/standard/info.c

index 3095d6e874dd4dcfe7ac786292576e63aca1506e..fd9f69759708a417fe9fb2d1444818f4366a7ae4 100644 (file)
    | 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 0157c1d7cb21179b7ae3aef13f08f5e4b3aa8384..38aff641910c869b2bf4e59343fe8fae7af188a8 100644 (file)
@@ -16,6 +16,12 @@ fi
 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 8f4b455ddb6aa37b12a64bfded20d50896080762..3063f9259ea786319ed4716bcf359319498262b3 100644 (file)
@@ -95,8 +95,8 @@ PHPAPI void php_print_info(int flag)
                        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");