]> granicus.if.org Git - php/commitdiff
Apply patch automatically at buildconf time
authorSascha Schumann <sas@php.net>
Tue, 5 Oct 1999 17:43:45 +0000 (17:43 +0000)
committerSascha Schumann <sas@php.net>
Tue, 5 Oct 1999 17:43:45 +0000 (17:43 +0000)
buildconf
patch-ltmain.sh [new file with mode: 0644]

index c584867d2ecdd7f93a5e12765bcf6241d0994022..5f41d01ee87c1f3380efcaf232cd5da6c593b773 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -114,7 +114,9 @@ fi
 
 ./scripts/preconfig
 
+rm -f ltmain.sh
 libtoolize --automake $automake_flags --force
+patch < patch-ltmain.sh
 
 mv aclocal.m4 aclocal.m4.old 2>/dev/null
 aclocal
@@ -136,10 +138,10 @@ fi
 
 autoheader
 
-# suppress stupid automake warning
+# find all Makefile.ams
 files=`find . -name Makefile.am | sed 's#\.am##' | tr '\n' ' '`
 
-
+# suppress stupid automake warning
 automake --add-missing --include-deps $automake_flags $files  2>&1 | grep -v \$PHP_OUTPUT_FILES >&2
 
 
diff --git a/patch-ltmain.sh b/patch-ltmain.sh
new file mode 100644 (file)
index 0000000..dc6e352
--- /dev/null
@@ -0,0 +1,10 @@
+--- /usr/local/share/libtool/ltmain.sh Wed Jul 14 14:46:28 1999
++++ ltmain.sh  Tue Oct  5 19:01:41 1999
+@@ -1955,6 +1955,7 @@
+                   done
+             done
+             if test -n "$a_deplib" ; then
++            newdeplibs="$newdeplibs $a_deplib"
+               droppeddeps=yes
+               echo
+               echo "*** Warning: This library needs some functionality provided by $a_deplib."