ID: 3483 Updated by: jimw Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: php4 has a whole new infrastructure for configuration and phpinfo() that deals with this sort of thing. Previous Comments: --------------------------------------------------------------------------- [2000-02-16 20:37:22] [EMAIL PROTECTED] There must have been a reason why this information was included in phpinfo(), such as PGSQL_INCLUDE. One way to include it could be with a new flag: --with-info There is no reason to have #define PHP_MYSQL_INCLUDE "" in build-defs.h.in if it is not used. Either 'out or in'. --------------------------------------------------------------------------- [2000-02-16 18:24:08] [EMAIL PROTECTED] Well, if you want to have this information in phpinfo() you need to find a better way to propagate the information. I don't want zillions of AC_SUBSTs, because they slow down file creation times dramatically. --------------------------------------------------------------------------- [2000-02-14 23:14:35] [EMAIL PROTECTED] Some text strings are missing when "phpinfo()" output to screen. Some variables in "build-defs.h.in" was missing. I fixed them with this line: perl -i -pe 's/^(#define PHP_)(w+)(s+)""$/$1$2$3"@$2@"/' build-defs.h.in Then I also added them to "configure.in": *** php-3.0.14/configure.in Thu Jan 13 14:16:04 2000 --- /usr/src/php/configure.in Tue Feb 15 03:38:35 2000 *************** *** 1056,1061 **** --- 1056,1064 ---- ],[ AC_MSG_RESULT(no) ]) + AC_SUBST(IMAGICK_INCLUDE) + AC_SUBST(IMAGICK_LFLAGS) + AC_SUBST(IMAGICK_LIBS) AC_MSG_CHECKING(for Oracle support) AC_ARG_WITH(oracle, *************** *** 1463,1468 **** --- 1466,1474 ---- ],[ AC_MSG_RESULT(no) ]) + AC_SUBST(MYSQL_INCLUDE) + AC_SUBST(MYSQL_LFLAGS) + AC_SUBST(MYSQL_LIBS) AC_MSG_CHECKING(for mSQL support) AC_ARG_WITH(msql, *************** *** 1489,1494 **** --- 1495,1503 ---- ],[ AC_MSG_RESULT(no) ]) + AC_SUBST(MSQL_INCLUDE) + AC_SUBST(MSQL_LFLAGS) + AC_SUBST(MSQL_LIBS) AC_MSG_CHECKING(for PostgresSQL support) AC_ARG_WITH(pgsql, *************** *** 1530,1535 **** --- 1539,1547 ---- ],[ AC_MSG_RESULT(no) ]) + AC_SUBST(PGSQL_INCLUDE) + AC_SUBST(PGSQL_LFLAGS) + AC_SUBST(PGSQL_LIBS) AC_MSG_CHECKING(for IBM DB2 support) AC_ARG_WITH(ibm-db2, *************** *** 1691,1697 **** ],[ AC_MSG_RESULT(no) ]) ! AC_MSG_CHECKING(for Cybercash MCK support) AC_ARG_WITH(mck, [ --with-mck[=DIR] Include Cybercash MCK support. DIR is the cybercash --- 1703,1711 ---- ],[ AC_MSG_RESULT(no) ]) ! AC_SUBST(LDAP_LFLAGS) ! AC_SUBST(LDAP_INCLUDE) ! AC_SUBST(LDAP_LIBS) AC_MSG_CHECKING(for Cybercash MCK support) AC_ARG_WITH(mck, [ --with-mck[=DIR] Include Cybercash MCK support. DIR is the cybercash *************** *** 2392,2398 **** DEBUG_CFLAGS="" ]) AC_SUBST(DEBUG_CFLAGS) ! AC_SUBST(PHP_DEBUG) AC_MSG_CHECKING(whether to enable safe mode by default) --- 2406,2412 ---- DEBUG_CFLAGS="" ]) AC_SUBST(DEBUG_CFLAGS) ! AC_SUBST(DEBUG) AC_MSG_CHECKING(whether to enable safe mode by default) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=3483&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]