Re: config.w32 quirk

From: Date: Mon, 14 Aug 2006 19:25:35 +0000
Subject: Re: config.w32 quirk
Groups: php.internals 
Request: Send a blank email to internals+get-25350@lists.php.net to get a copy of this message
That has to do with the way the config.w32 files are processed. changing one line in win32\build\buildconf.js from re = new RegExp("(ARG_(ENABLE|WITH)\([^;]+\);)", "gm"); to re = new RegExp("^(ARG_(ENABLE|WITH)\([^;]+\);)", "gm"); will prevent this from happening. This change will require the ARG_ to start a the begining of the line. Unless there are any reasons not to do this, I'll commit the patch. - Frank > I had this in a config.w32 file: > > ARG_ENABLE("winbinder", "winbinder support", "no"); > //ARG_WITH("winbinder", "winbinder support", "no"); > > line 2 is not treated as comment and after buildconf > cscript configure.js --help > both --enable-winbinder and --with-winbinder > were listed as availabe options. > > Don't know if this is a bug. > > Davide. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#25350) next »