From: Sascha Schumann Date: Thu, 18 May 2000 10:36:35 +0000 (+0000) Subject: Fix workaround for systems where libtool cannot handle -avoid-version X-Git-Tag: php-4.0.0~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b458902704a67a490689d28a82ad41517ea946d0;p=php Fix workaround for systems where libtool cannot handle -avoid-version correctly. --- diff --git a/Makefile.in b/Makefile.in index 5403c2a49d..f6e863f7e1 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 01aa17a20e..d044f027c9 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)