summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Parise <jon@php.net>2005-07-11 06:32:02 +0000
committerJon Parise <jon@php.net>2005-07-11 06:32:02 +0000
commit6f1261c70cc6e31f1a615bf67beeaff5cd529ee7 (patch)
tree60b25c297cc98d9eb4420e66c778853881988c39
parent9dde2b0cbe8731017b6862c85ca169ca11ad9362 (diff)
downloadphp-git-6f1261c70cc6e31f1a615bf67beeaff5cd529ee7.tar.gz
Removing the automake-related output. The build no longer uses automake.
While I'm here, rewrite the PHP_AUTOCONF-related code to more closely match the conventions used elsewhere in this section. The result should be functionally the same as before.
-rwxr-xr-xrun-tests.php16
1 files changed, 7 insertions, 9 deletions
diff --git a/run-tests.php b/run-tests.php
index 34bb1632c1..31bea0c522 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -497,16 +497,15 @@ if (!getenv('NO_INTERACTION')) {
$failed_tests_data .= "\n" . $sep . 'BUILD ENVIRONMENT' . $sep;
$failed_tests_data .= "OS:\n" . PHP_OS . " - " . php_uname() . "\n\n";
- $ldd = $automake = $autoconf = $sys_libtool = $libtool = $compiler = 'N/A';
+ $ldd = $autoconf = $sys_libtool = $libtool = $compiler = 'N/A';
if (substr(PHP_OS, 0, 3) != "WIN") {
- /* Determine the names of the autotools executables. */
- $automake = (!empty($_ENV['PHP_AUTOMAKE'])) ? $_ENV['PHP_AUTOMAKE'] : 'automake';
- $autoconf = (!empty($_ENV['PHP_AUTOCONF'])) ? $_ENV['PHP_AUTOCONF'] : 'autoconf';
-
- /* Extract the tools' versions (overwriting our local variables). */
- $automake = shell_exec("$automake --version");
- $autoconf = shell_exec("$autoconf --version");
+ /* If PHP_AUTOCONF is set, use it; otherwise, use 'autoconf'. */
+ if (!empty($_ENV['PHP_AUTOCONF'])) {
+ $autoconf = shell_exec($_ENV['PHP_AUTOCONF'] . ' --version');
+ } else {
+ $autoconf = shell_exec('autoconf --version');
+ }
/* Always use the generated libtool - Mac OSX uses 'glibtool' */
$libtool = shell_exec($CUR_DIR . '/libtool --version');
@@ -527,7 +526,6 @@ if (!getenv('NO_INTERACTION')) {
}
$ldd = shell_exec("ldd $php 2>/dev/null");
}
- $failed_tests_data .= "Automake:\n$automake\n";
$failed_tests_data .= "Autoconf:\n$autoconf\n";
$failed_tests_data .= "Bundled Libtool:\n$libtool\n";
$failed_tests_data .= "System Libtool:\n$sys_libtool\n";