wez Tue Dec 23 07:40:41 2003 EDT Modified files: /php-src/win32/build config.w32 Log: Better implementation of the prefix thing Index: php-src/win32/build/config.w32 diff -u php-src/win32/build/config.w32:1.19 php-src/win32/build/config.w32:1.20 --- php-src/win32/build/config.w32:1.19 Tue Dec 23 00:43:19 2003 +++ php-src/win32/build/config.w32 Tue Dec 23 07:40:41 2003 @@ -1,5 +1,5 @@ // vim:ft=javascript -// $Id: config.w32,v 1.19 2003/12/23 05:43:19 fmk Exp $ +// $Id: config.w32,v 1.20 2003/12/23 12:40:41 wez Exp $ // "Master" config file; think of it as a configure.in // equivalent. @@ -21,10 +21,11 @@ ARG_ENABLE('zts', 'Thread safety', 'yes'); // Configures the hard-coded installation dir -if (PHP_DEBUG == "yes") { - ARG_ENABLE('prefix', 'where PHP will be installed', 'C:\\php5\\debug'); -} else { - ARG_ENABLE('prefix', 'where PHP will be installed', 'C:\\php5'); +ARG_ENABLE('prefix', 'where PHP will be installed', ''); +if (PHP_PREFIX == '') { + PHP_PREFIX = "C:\\php" + PHP_VERSION; + if (PHP_DEBUG == "yes") + PHP_PREFIX += "\\debug"; } DEFINE('PHP_PREFIX', PHP_PREFIX);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php