#43281 [NEW]: Allow buildconf to pass parameters to cscript
From: ezyang@php.net
Operating system: Windows
PHP version: 5.2CVS-2007-11-13 (CVS)
PHP Bug Type: *Compile Issues
Bug description: Allow buildconf to pass parameters to cscript
Description:
------------
The buildconf.js script allows for the --add-modules-dir argument to add
scan directories for config.w32 files. However, the convenience
buildconf.bat script does not pass on configuration directives. This can be
fixed by adding %* to the end of the call:
Index: buildconf.bat
===================================================================
RCS file: /repository/php-src/buildconf.bat,v
retrieving revision 1.1
diff -u -r1.1 buildconf.bat
--- buildconf.bat 2 Dec 2003 23:16:47 -0000 1.1
+++ buildconf.bat 13 Nov 2007 21:41:01 -0000
@@ -1,2 +1,2 @@
@echo off
-cscript /nologo win32\build\buildconf.js
+cscript /nologo win32\build\buildconf.js %*
Reproduce code:
---------------
> cd
C:\php\src\php5
> buildconf --add-modules-dir=C:\php\src\pecl
Expected result:
----------------
Adding C:\php\src\pecl to module search path
Actual result:
--------------
Module not added
--
Edit bug report at http://bugs.php.net/?id=43281&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43281&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43281&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43281&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43281&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43281&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43281&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43281&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43281&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43281&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43281&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43281&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43281&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43281&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43281&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43281&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43281&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43281&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43281&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43281&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43281&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43281&r=mysqlcfg
Thread (2 messages)
- ezyang@php.net