mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Add libtool files to CVS. Advantages:
- PHP-specific changes are easier to maintain - it removes one dependency for users (i.e. GNU vs. FreeBSD ports) I have not removed the libtool check in buildconf, since libzend/TSRM still depend on a local version of libtool.
This commit is contained in:
parent
b87228e491
commit
7bc251058a
4 changed files with 7082 additions and 20 deletions
16
build.mk
16
build.mk
|
@ -11,10 +11,6 @@
|
|||
#
|
||||
# $Id$
|
||||
|
||||
|
||||
LT_TARGETS = ltmain.sh ltconfig
|
||||
LT_PATCHES = patch-aa patch-ab
|
||||
|
||||
SUBDIRS = libzend TSRM
|
||||
|
||||
makefile_am_files = Makefile.am $(shell find ext sapi regex -name Makefile.am)
|
||||
|
@ -31,7 +27,7 @@ config_m4_files = \
|
|||
|
||||
acconfig_h_SOURCES = acconfig.h.in $(config_h_files)
|
||||
|
||||
targets = $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
|
||||
targets = $(makefile_in_files) configure $(config_h_in)
|
||||
|
||||
all: $(targets)
|
||||
@for i in $(SUBDIRS); do \
|
||||
|
@ -63,16 +59,6 @@ acconfig.h: $(acconfig_h_SOURCES)
|
|||
@echo rebuilding $@
|
||||
@cat $(acconfig_h_SOURCES) > $@
|
||||
|
||||
$(LT_TARGETS): $(LT_PATCHES)
|
||||
rm -f $(LT_TARGETS)
|
||||
libtoolize --automake -c -f
|
||||
patch ltconfig < patch-aa
|
||||
patch ltmain.sh < patch-ab
|
||||
@grep compile_rpath ltconfig >/dev/null 2>&1 || (\
|
||||
echo "patching libtool components failed."; \
|
||||
exit 1)
|
||||
|
||||
|
||||
$(makefile_in_files): $(makefile_am_files) aclocal.m4
|
||||
@echo rebuilding Makefile.in\'s
|
||||
@automake -a -i $(AMFLAGS) $(makefile_files) 2>&1 \
|
||||
|
|
|
@ -114,11 +114,6 @@ fi
|
|||
|
||||
./scripts/preconfig
|
||||
|
||||
rm -f ltmain.sh ltconfig
|
||||
libtoolize --automake --copy --force
|
||||
patch ltconfig < patch-aa
|
||||
patch ltmain.sh < patch-ab
|
||||
|
||||
mv aclocal.m4 aclocal.m4.old 2>/dev/null
|
||||
aclocal
|
||||
if test "$?" != "0" -a "$am_prefix" != "$lt_prefix"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue