]> granicus.if.org Git - php/commitdiff
Fix workaround for systems where libtool cannot handle -avoid-version
authorSascha Schumann <sas@php.net>
Thu, 18 May 2000 10:36:35 +0000 (10:36 +0000)
committerSascha Schumann <sas@php.net>
Thu, 18 May 2000 10:36:35 +0000 (10:36 +0000)
correctly.

Makefile.in
configure.in

index 5403c2a49d80cb8a428a8c9d823826448aa02f0c..f6e863f7e1573ee1adf7762f086844412ae9e209 100644 (file)
@@ -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:
index 01aa17a20e58d969880a4bf70cc5b0d83bee21ba..d044f027c9d5d045e3be77bc4bd1ecc5fcb6e098 100644 (file)
@@ -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)