diff options
author | unknown <lenz@mysql.com> | 2002-09-26 15:36:31 +0200 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2002-09-26 15:36:31 +0200 |
commit | 7bba4e4c55a6913e78de332e979a88b2aad34ae8 (patch) | |
tree | fc9523f5fd667b6eac62c83664b9d850aa8dabc9 /Build-tools/Do-compile | |
parent | b0bf32fd57def0a364cd2803d48caf8c0975dd05 (diff) | |
download | mariadb-git-7bba4e4c55a6913e78de332e979a88b2aad34ae8.tar.gz |
- reworked Do-compile a bit (better failure report output, only build
with InnoDB support when requested to do so)
Build-tools/Do-compile:
- only build with InnoDB, if requested to do so (required to be able
to build 4.0 "Classic" packages without InnoDB support)
- Enhanced the failure report message subject a little
Diffstat (limited to 'Build-tools/Do-compile')
-rwxr-xr-x | Build-tools/Do-compile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile index 1c52e10eebf..2e4da3091b0 100755 --- a/Build-tools/Do-compile +++ b/Build-tools/Do-compile @@ -208,12 +208,15 @@ if ($opt_stage <= 1) $opt_config_options.= " --disable-shared" if (!$opt_enable_shared); # Default for binary versions $opt_config_options.= " --with-berkeley-db" if ($opt_bdb); $opt_config_options.= " --with-client-ldflags=-all-static" if ($opt_static_client); - $opt_config_options.= " --with-innodb" if ($opt_innodb); $opt_config_options.= " --with-libwrap" if ($opt_libwrap); $opt_config_options.= " --with-low-memory" if ($opt_with_low_memory); $opt_config_options.= " --with-mysqld-ldflags=-all-static" if ($opt_static_server); $opt_config_options.= " --with-raid" if ($opt_raid); + # Only enable InnoDB when requested (required to be able to + # build the "Classic" packages that do not include InnoDB) + $opt_config_options.= " --without-innodb" if (!$opt_innodb); + if ($opt_with_other_libc) { $opt_with_other_libc= " --with-other-libc=$opt_with_other_libc"; @@ -516,9 +519,9 @@ sub abort open(TMP,">$mail_header_file"); print TMP "From: mysql\@$full_host_name\n"; print TMP "To: $email\n"; - print TMP "Subject: MySQL compilation failed again\n\n"; + print TMP "Subject: $ver$opt_version_suffix compilation failed\n\n"; close TMP; - system("tail -30 $log > $log.mail"); + system("tail -40 $log > $log.mail"); system("cat $mail_header_file $log.mail | $sendmail -t -f $email"); unlink($mail_header_file); unlink("$log.mail"); |