]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Thu, 7 Apr 2005 22:03:47 +0000 (22:03 +0000)
committerfoobar <sniper@php.net>
Thu, 7 Apr 2005 22:03:47 +0000 (22:03 +0000)
scripts/phpize.in

index 97439b4bb7c74d622a6802dae0ff6ec996680b47..3a901743681db61eb7224c34d1697d20f88ee3e6 100644 (file)
@@ -66,7 +66,7 @@ phpize_print_api_numbers()
 
 phpize_no_shtool()
 {
-  echo <<EOF
+  cat <<EOF
 shtool at '$builddir/build/shtool' not executable. 
 Make sure that the file exists and is executable and then rerun this script. 
 
@@ -90,16 +90,16 @@ phpize_check_autotools()
   test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=autoconf
   test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=autoheader
   
-  if ! test -x "$php_shtool path $PHP_AUTOCONF"; then
-    echo <<EOF
+  if ! test -x "`$php_shtool path $PHP_AUTOCONF`"; then
+    cat <<EOF
 Cannot find autoconf. Please check your autoconf installation and the \$PHP_AUTOCONF 
 environment variable is set correctly and then rerun this script. 
 
 EOF
     exit 1
   fi
-  if ! test -x "$php_shtool path $PHP_AUTOHEADER"; then
-    echo <<EOF
+  if ! test -x "`$php_shtool path $PHP_AUTOHEADER`"; then
+    cat <<EOF
 Cannot find autoheader. Please check your autoconf installation and the \$PHP_AUTOHEADER 
 environment variable is set correctly and then rerun this script. 
 
@@ -114,7 +114,7 @@ phpize_copy_files()
  
   (cd "$phpdir" && cp $FILES_BUILD "$builddir"/build)
   (cd "$phpdir" && cp $FILES "$builddir")
-  (cd "$builddir" && cat ./build/libtool.m4 >> acinclude.m4)
+  (cd "$builddir" && cat acinclude.m4 ./build/libtool.m4 > aclocal.m4)
 }
 
 phpize_replace_prefix()