]> granicus.if.org Git - php/commitdiff
Fix libtool detection
authorMelvyn Sopacua <msopacua@php.net>
Fri, 20 Dec 2002 00:25:56 +0000 (00:25 +0000)
committerMelvyn Sopacua <msopacua@php.net>
Fri, 20 Dec 2002 00:25:56 +0000 (00:25 +0000)
run-tests.php

index b633fc28270e498ca2a18b2b48b7bee4c3ad0bea..49c0d8fdbdbf7564a4dac6bc617d9b50ad3f7fda 100755 (executable)
@@ -371,7 +371,8 @@ if (!getenv('NO_INTERACTION')) {
                if (substr(PHP_OS, 0, 3) != "WIN") {
                        $automake = shell_exec('automake --version');
                        $autoconf = shell_exec('autoconf --version');
-                       $libtool = shell_exec('libtool --version');
+                       /* Always use the generated libtool - Mac OSX uses 'glibtool' */
+                       $libtool = shell_exec('./libtool --version');
                        /* Try the most common flags for 'version' */
                        $flags = array('-v', '-V', '--version');
                        $cc_status=0;