Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions pear/Makefile.frag
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@

peardir=$(PEAR_INSTALLDIR)

# Skip all php.ini files altogether
PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dopen_basedir= -derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0
# Skip all php.ini files altogether and add possible shared XML extension
PEAR_INSTALL_FLAGS = ` \
echo -n -dshort_open_tag=0 -dopen_basedir= -derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0; \
for i in $(CONFIGURE_COMMAND); do \
if test "$$i" = "--enable-xml=shared"; then \
echo " " -dextension_dir="$(top_builddir)/modules" -dextension=xml.$(SHLIB_DL_SUFFIX_NAME); \
fi; \
done`

WGET = `which wget 2>/dev/null`
FETCH = `which fetch 2>/dev/null`
Expand Down Expand Up @@ -34,4 +40,3 @@ install-pear:
else \
cat $(srcdir)/install-pear.txt; \
fi