mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
Added --noconfigure switch to testcurl.pl.
This commit is contained in:
parent
7b79c8bf96
commit
7e46061cac
@ -49,6 +49,7 @@
|
|||||||
# --nocvsup Don't pull from git even though it is a git tree
|
# --nocvsup Don't pull from git even though it is a git tree
|
||||||
# --nogitpull Don't pull from git even though it is a git tree
|
# --nogitpull Don't pull from git even though it is a git tree
|
||||||
# --nobuildconf Don't run buildconf
|
# --nobuildconf Don't run buildconf
|
||||||
|
# --noconfigure Don't run configure
|
||||||
# --runtestopts=[options] Options to pass to runtests.pl
|
# --runtestopts=[options] Options to pass to runtests.pl
|
||||||
# --setup=[file name] File name to read setup from (deprecated)
|
# --setup=[file name] File name to read setup from (deprecated)
|
||||||
# --target=[your os] Specify your target environment.
|
# --target=[your os] Specify your target environment.
|
||||||
@ -84,6 +85,7 @@ if (-f ".git/config") {
|
|||||||
|
|
||||||
$git=1;
|
$git=1;
|
||||||
$setupfile = 'setup';
|
$setupfile = 'setup';
|
||||||
|
$configurebuild = 1;
|
||||||
while ($ARGV[0]) {
|
while ($ARGV[0]) {
|
||||||
if ($ARGV[0] =~ /--target=/) {
|
if ($ARGV[0] =~ /--target=/) {
|
||||||
$targetos = (split(/=/, shift @ARGV))[1];
|
$targetos = (split(/=/, shift @ARGV))[1];
|
||||||
@ -117,6 +119,10 @@ while ($ARGV[0]) {
|
|||||||
$nobuildconf=1;
|
$nobuildconf=1;
|
||||||
shift @ARGV;
|
shift @ARGV;
|
||||||
}
|
}
|
||||||
|
elsif ($ARGV[0] =~ /--noconfigure/) {
|
||||||
|
$configurebuild=0;
|
||||||
|
shift @ARGV;
|
||||||
|
}
|
||||||
elsif ($ARGV[0] =~ /--crosscompile/) {
|
elsif ($ARGV[0] =~ /--crosscompile/) {
|
||||||
$crosscompile=1;
|
$crosscompile=1;
|
||||||
shift @ARGV;
|
shift @ARGV;
|
||||||
@ -131,7 +137,6 @@ while ($ARGV[0]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Do the platform-specific stuff here
|
# Do the platform-specific stuff here
|
||||||
$configurebuild = 1;
|
|
||||||
$confheader = 'curl_config.h';
|
$confheader = 'curl_config.h';
|
||||||
$binext = '';
|
$binext = '';
|
||||||
$libext = '.la'; # .la since both libcurl and libcares are made with libtool
|
$libext = '.la'; # .la since both libcurl and libcares are made with libtool
|
||||||
|
Loading…
Reference in New Issue
Block a user