Apply patch automatically at buildconf time

This commit is contained in:
Sascha Schumann 1999-10-05 17:43:45 +00:00
parent d71eb7bbe6
commit dff6e711ce
2 changed files with 14 additions and 2 deletions

View file

@ -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

10
patch-ltmain.sh Normal file
View file

@ -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."