[Lunar-commits] r23863 - moonbase/trunk/web/apache2

Kok, Auke sofar at foo-projects.org
Sat Mar 31 20:50:29 CEST 2007


Jannis wrote:
> On Sat, 31 Mar 2007 07:13:23 -0400, Dennis Veatch wrote:
> 
>> On Saturday 31 March 2007 01:33:19 am you wrote:
>>> Author: sofar
>>> Date: 2007-03-31 07:33:18 +0200 (Sat, 31 Mar 2007)
>>> New Revision: 23863
>>>
>>> Modified:
>>>    moonbase/trunk/web/apache2/BUILD
>>>    moonbase/trunk/web/apache2/CONFIGURE
>>> Log:
>>> It's now OK to use the new mquery syntax in moonbase!
>>>
>> snip
>>> +mquery ENABLE_SSL "Enable TLS/SSL ?" y --enable-ssl
>>> +mquery ENABLE_PROXY "Enable Proxy support ?" y "--enable-proxy
>>> --enable-proxy-connect --enable-proxy-http --enable-proxy-ftp"
>> So which is the proper useage here? You have --enable-ssl (no double
>> quotes) but then you have "--enable-proxy blah blah" with them. Or
>> does it matter.
> 
> The 4th parameter is a string which means that you either need to
> expand spaces with a backslash or wrap it with "" if you want to pass
> more than one configure option to mquery.


zactly!

if you have only 2 flags for the 2 parameters, you can omit the "" quotes:

  mquery FOO_OPT "Use foo?" y --enable-foo --disable-foo

if you need to pass more flags you need to group them such that they end up in 
$4 or $5 together:

  mquery FOO_OPT "Use foo?" y "--enable-foo --with-foo-too" --disable-foo

Auke


More information about the Lunar-dev mailing list