From: Jani Taskinen Date: Wed, 11 Jul 2007 23:13:19 +0000 (+0000) Subject: - Enabled PHP_CHECK_CONFIGURE_OPTIONS (check for unknown configure options) X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71b3ea69711a157e5897b543c2ca6bcf7b6c7a45;p=php - Enabled PHP_CHECK_CONFIGURE_OPTIONS (check for unknown configure options) --- diff --git a/configure.in b/configure.in index f6a458dce2..81b4bdba63 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ - ## $Id$ -*- autoconf -*- +## $Id$ -*- autoconf -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -129,9 +129,8 @@ AC_AIX AC_PROG_LN_S dnl Support systems with system libraries in e.g. /usr/lib64 -AC_ARG_WITH(libdir, -[ --with-libdir=NAME Look for libraries in .../NAME rather than .../lib], -[PHP_LIBDIR=$withval], [PHP_LIBDIR=lib]) +PHP_ARG_WITH(libdir, for system library directory, +[ --with-libdir=NAME Look for libraries in .../NAME rather than .../lib],lib,no) dnl check for -R, etc. switch PHP_RUNPATH_SWITCH @@ -704,9 +703,9 @@ else ZEND_DEBUG=no fi -PHP_ARG_WITH(layout,[layout of installed files], -[ --with-layout=TYPE Set how installed files will be laid out. Type is - one of "PHP" or "GNU" [TYPE=PHP]], PHP, no) +PHP_ARG_WITH(layout, layout of installed files, +[ --with-layout=TYPE Set how installed files will be laid out. Type can + be either PHP or GNU [PHP]], PHP, no) case $PHP_LAYOUT in GNU) @@ -717,7 +716,7 @@ case $PHP_LAYOUT in ;; esac -PHP_ARG_WITH(config-file-path,[path to configuration file], +PHP_ARG_WITH(config-file-path, path to configuration file, [ --with-config-file-path=PATH Set the path in which to look for php.ini [PREFIX/lib]], DEFAULT, no) @@ -732,16 +731,18 @@ if test "$PHP_CONFIG_FILE_PATH" = "DEFAULT"; then esac fi -PHP_ARG_WITH(config-file-scan-dir,[where to scan for configuration files], +AC_MSG_CHECKING([where to scan for configuration files]) +PHP_ARG_WITH(config-file-scan-dir, [ --with-config-file-scan-dir=PATH Set the path where to scan for configuration files], DEFAULT, no) if test "$PHP_CONFIG_FILE_SCAN_DIR" = "DEFAULT"; then PHP_CONFIG_FILE_SCAN_DIR= fi +AC_MSG_RESULT([$PHP_CONFIG_FILE_SCAN_DIR]) test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS" -PHP_ARG_ENABLE(sigchild,whether to enable PHP's own SIGCHLD handler, +PHP_ARG_ENABLE(sigchild, whether to enable PHP's own SIGCHLD handler, [ --enable-sigchild Enable PHP's own SIGCHLD handler], no, no) if test "$PHP_SIGCHILD" = "yes"; then @@ -766,20 +767,19 @@ if test "$PHP_LIBGCC" = "yes"; then PHP_ADD_LIBRARY(gcc, yes) fi -PHP_ARG_ENABLE(short-tags,whether to enable short tags by default, -[ --disable-short-tags Disable the short-form