cvs: /php4 configure.in
| From: | Sascha Schumann | Date: | Sun, 07 May 2000 04:42:04 +0000 |
| Subject: | cvs: /php4 configure.in | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14629@lists.php.net to get a copy of this message | ||
sas Sat May 6 21:42:04 2000 EDT
Modified files:
/php4 configure.in
Log:
Libtool creates libphp4.so.0.0 on at least AIX and FreeBSD 2.2.
This hack will catch the resulting shared library anyway.
The Right Way to approach this is to fix libtool to properly
handle -module on all platforms.
Index: php4/configure.in
diff -u php4/configure.in:1.123 php4/configure.in:1.124
--- php4/configure.in:1.123 Sat May 6 16:26:41 2000
+++ php4/configure.in Sat May 6 21:42:04 2000
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.123 2000/05/06 23:26:41 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.124 2000/05/07 04:42:04 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -12,6 +12,7 @@
dnl Otherwise, the current user will not be able to delete libs
dnl or the contents of libs.
test -d libs || mkdir libs
+rm -f libs/*
if test "$with_shared_apache" != "no" && test -n
"$with_shared_apache" ; then
AC_MSG_ERROR(--with-shared-apache is not supported. Please refer to the documentation for using
APXS)
@@ -117,7 +118,7 @@
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.so
+SAPI_SHARED=libs/libphp4.s*
SAPI_STATIC=libs/libphp4.a
PHP_CONFIGURE_PART(Configuring SAPI modules)