From b458902704a67a490689d28a82ad41517ea946d0 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 18 May 2000 10:36:35 +0000 Subject: [PATCH] Fix workaround for systems where libtool cannot handle -avoid-version correctly. --- Makefile.in | 3 +++ configure.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 5403c2a49d8..f6e863f7e15 100644 --- a/Makefile.in +++ b/Makefile.in @@ -38,6 +38,9 @@ include $(top_srcdir)/build/program.mk install-sapi: @$(LIBTOOL) --silent --mode=install cp libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1 -@$(mkinstalldirs) $(bindir) + -@if ! test -r $(phptempdir)/libphp4.so && test -r $(phptempdir)/libphp4.so.0.0; then \ + $(LN_S) $(phptempdir)/libphp4.so.0.0 $(phptempdir)/libphp4.so; \ + fi $(INSTALL_IT) install-modules: diff --git a/configure.in b/configure.in index 01aa17a20e5..d044f027c9d 100644 --- a/configure.in +++ b/configure.in @@ -119,7 +119,7 @@ PHP_BUILD_PROGRAM dnl paths to the targets relative to the build directory SAPI_PROGRAM=php dnl on HP-UX, the extension is .sl. Need to improve this -SAPI_SHARED=libs/libphp4.s* +SAPI_SHARED=libs/libphp4.so SAPI_STATIC=libs/libphp4.a PHP_CONFIGURE_PART(Configuring SAPI modules)