mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Apply patch automatically at buildconf time
This commit is contained in:
parent
d71eb7bbe6
commit
dff6e711ce
2 changed files with 14 additions and 2 deletions
|
@ -114,7 +114,9 @@ fi
|
||||||
|
|
||||||
./scripts/preconfig
|
./scripts/preconfig
|
||||||
|
|
||||||
|
rm -f ltmain.sh
|
||||||
libtoolize --automake $automake_flags --force
|
libtoolize --automake $automake_flags --force
|
||||||
|
patch < patch-ltmain.sh
|
||||||
|
|
||||||
mv aclocal.m4 aclocal.m4.old 2>/dev/null
|
mv aclocal.m4 aclocal.m4.old 2>/dev/null
|
||||||
aclocal
|
aclocal
|
||||||
|
@ -136,10 +138,10 @@ fi
|
||||||
|
|
||||||
autoheader
|
autoheader
|
||||||
|
|
||||||
# suppress stupid automake warning
|
# find all Makefile.ams
|
||||||
files=`find . -name Makefile.am | sed 's#\.am##' | tr '\n' ' '`
|
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
|
automake --add-missing --include-deps $automake_flags $files 2>&1 | grep -v \$PHP_OUTPUT_FILES >&2
|
||||||
|
|
||||||
|
|
||||||
|
|
10
patch-ltmain.sh
Normal file
10
patch-ltmain.sh
Normal 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."
|
Loading…
Add table
Add a link
Reference in a new issue