From: Wez Furlong Date: Sat, 6 Dec 2003 15:16:17 +0000 (+0000) Subject: use quotes if the user specifies a path, but don't otherwise (since we don't want... X-Git-Tag: php-5.0.0b3RC1~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45eb5a8d03cdf72f6fc01117ecf372236fce83f6;p=php use quotes if the user specifies a path, but don't otherwise (since we don't want the getenv calls quoted). --- diff --git a/ext/standard/config.w32 b/ext/standard/config.w32 index 21b062ae52..9658ed6aeb 100644 --- a/ext/standard/config.w32 +++ b/ext/standard/config.w32 @@ -7,7 +7,11 @@ AC_DEFINE("PHP_CONFIG_FILE_SCAN_DIR", PHP_CONFIG_FILE_SCAN_DIR); ARG_WITH("config-file-path", "Where to find php.ini", '(getenv("SystemRoot"))?getenv("SystemRoot"):""'); -AC_DEFINE("PHP_CONFIG_FILE_PATH", PHP_CONFIG_FILE_PATH, null, false); +if (PHP_CONFIG_FILE_PATH == null) { + AC_DEFINE("PHP_CONFIG_FILE_PATH", PHP_CONFIG_FILE_PATH, null, false); +} else { + AC_DEFINE("PHP_CONFIG_FILE_PATH", PHP_CONFIG_FILE_PATH); +} EXTENSION("standard", "array.c base64.c basic_functions.c browscap.c \ crc32.c crypt.c cyr_convert.c datetime.c dir.c dl.c dns.c exec.c \