Ah - now I get why posting to QA gives me 'cc: command not found'.

Any objections to using getenv('CC') and default to 'cc' when undefined?

I for one don't have cc in my path and have set the CC=gcc in my profile,
further more 'cc' may not be the compiler used.




At 10:51 23-10-2002, Jan Lehnardt wrote:

jan Wed Oct 23 04:51:18 2002 EDT

Modified files:
/php4 run-tests.php
Log:
- be more verbose


Index: php4/run-tests.php
diff -u php4/run-tests.php:1.81 php4/run-tests.php:1.82
--- php4/run-tests.php:1.81 Tue Oct 22 14:53:56 2002
+++ php4/run-tests.php Wed Oct 23 04:51:17 2002
@@ -270,7 +270,7 @@
$failed_tests_data .= "Autoconf:\n". shell_exec('autoconf --version'). "\n";
$failed_tests_data .= "Libtool:\n". shell_exec('libtool --version'). "\n";
$failed_tests_data .= "Bison:\n". shell_exec('bison --version'). "\n";
- $failed_tests_data .= "Compiler:\n". shell_exec('cc --version'). "\n";
+ $failed_tests_data .= "Compiler:\n". shell_exec('cc -v'). "\n";
$failed_tests_data .= "\n\n";

foreach ($GLOBALS['__PHP_FAILED_TESTS__'] as $test_info) {



--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
With kind regards,

Melvyn Sopacua
<?php include("not_reflecting_employers_views.txt"); ?>


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to