diff options
author | unknown <lenz@mysql.com> | 2002-11-08 11:52:16 +0100 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2002-11-08 11:52:16 +0100 |
commit | 30396dac3bc959a8ce934e1ac54cabe6eae4ab7f (patch) | |
tree | ec394000de86df97a03f5f451916cb2d0881167b /Build-tools | |
parent | 125913c3e183415f8681c2438a36442595c970bb (diff) | |
download | mariadb-git-30396dac3bc959a8ce934e1ac54cabe6eae4ab7f.tar.gz |
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
Diffstat (limited to 'Build-tools')
-rwxr-xr-x | Build-tools/Do-compile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile index 367911bb252..51ff8105b3b 100755 --- a/Build-tools/Do-compile +++ b/Build-tools/Do-compile @@ -14,7 +14,7 @@ $opt_innodb=$opt_bdb=$opt_raid=$opt_libwrap=0; GetOptions( "bdb", "build-thread=i", - "config-env=s", + "config-env=s" => \@config_env, "config-options=s" => \@config_options, "dbd-options=s", "debug", @@ -53,11 +53,6 @@ GetOptions( usage() if ($opt_help); usage() if (!$opt_distribution); -if ($opt_bdb && $opt_version_suffix eq "") -{ - $opt_version_suffix="-max"; -} - if (@make_options > 0) { chomp(@make_options); @@ -70,6 +65,12 @@ if (@config_options > 0) $opt_config_options= join(" ", @config_options); } +if (@config_env > 0) +{ + chomp(@config_env); + $opt_config_env= join(" ", @config_env); +} + chomp($host=`hostname`); $full_host_name=$host; $connect_option= ($opt_tcpip ? "--host=$host" : ""); |