cURL / Mailing Lists / curl-library / Single Mail


Passing key value parameters to

From: Marc <>
Date: Tue, 31 May 2011 09:49:33 +0200

Hello everyone,

I am trying to pass the following arguments to

./tests/ --nogitpull --mktarball=../
'--configure=--host=i586-mingw32msvc --prefix=/usr/i586-mingw32msvc
--disable-ldap --disable-rtsp --without-ssl

The problem is that splits it's own arguments into 2 or more
parts using the equal sign already. It drops everything behind the third
equal sign.

So the result of the command line above is:

testcurl: CONFOPTS = --host --enable-warnings

This is the code responsible:

elsif ($ARGV[0] =~ /--configure=/) {
  $confopts = (split(/=/, shift @ARGV))[1];

Does anyone have a solution to this issue?

The story behind this is: I am setting up a Linux and Windows buildbot which
runs autobuilds.

Best regards,

List admin:
Received on 2011-05-31