Commit 30396dac authored by unknown's avatar unknown

Do-compile:

 - "--config-env" can now be given more than once
 - don't be smart about version suffixes


Build-tools/Do-compile:
   - "--config-env" can now be given more than once
   - don't be smart about version suffixes
parent 125913c3
...@@ -14,7 +14,7 @@ $opt_innodb=$opt_bdb=$opt_raid=$opt_libwrap=0; ...@@ -14,7 +14,7 @@ $opt_innodb=$opt_bdb=$opt_raid=$opt_libwrap=0;
GetOptions( GetOptions(
"bdb", "bdb",
"build-thread=i", "build-thread=i",
"config-env=s", "config-env=s" => \@config_env,
"config-options=s" => \@config_options, "config-options=s" => \@config_options,
"dbd-options=s", "dbd-options=s",
"debug", "debug",
...@@ -53,11 +53,6 @@ GetOptions( ...@@ -53,11 +53,6 @@ GetOptions(
usage() if ($opt_help); usage() if ($opt_help);
usage() if (!$opt_distribution); usage() if (!$opt_distribution);
if ($opt_bdb && $opt_version_suffix eq "")
{
$opt_version_suffix="-max";
}
if (@make_options > 0) if (@make_options > 0)
{ {
chomp(@make_options); chomp(@make_options);
...@@ -70,6 +65,12 @@ if (@config_options > 0) ...@@ -70,6 +65,12 @@ if (@config_options > 0)
$opt_config_options= join(" ", @config_options); $opt_config_options= join(" ", @config_options);
} }
if (@config_env > 0)
{
chomp(@config_env);
$opt_config_env= join(" ", @config_env);
}
chomp($host=`hostname`); chomp($host=`hostname`);
$full_host_name=$host; $full_host_name=$host;
$connect_option= ($opt_tcpip ? "--host=$host" : ""); $connect_option= ($opt_tcpip ? "--host=$host" : "");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment