Hi,
I never do Makefile stuff, so I need someone who can tell me why this
blasted piece of scripting doesn't work:
@if test "a$(program_prefix)" != "a"; then \
PEAR_PREFIX = " -dp php_prefix=$(program_prefix)"; \
fi
@if test "a$(program_suffix)" != "a"; then \
PEAR_SUFFIX = " -ds php_suffix=$(program_suffix)"; \
fi
install-pear-installer: $(SAPI_CLI_PATH)
@$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS)
$(builddir)/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)"
$(PEAR_PREFIX) $(PEAR_SUFFIX)
What I am trying to do is to pass in those options ONLY if
--program_prefix or --program_suffix were specified in the configure line.
Any working solution is appreciated.
Thanks,
Greg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php