php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43281 Allow buildconf to pass parameters to cscript
Submitted: 2007-11-13 21:51 UTC Modified: 2007-11-14 01:43 UTC
From: ezyang@php.net Assigned:
Status: Closed Package: *Compile Issues
PHP Version: 5.2CVS-2007-11-13 (CVS) OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ezyang@php.net
New email:
PHP Version: OS:

 

 [2007-11-13 21:51 UTC] ezyang@php.net
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-14 01:43 UTC] johannes@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC