cvs: /php4 configure.in

From: Date: Thu, 04 May 2000 11:57:59 +0000
Subject: cvs: /php4 configure.in
Groups: php.version4 
Request: Send a blank email to php-version4+get-14461@lists.php.net to get a copy of this message
sas Thu May 4 04:57:59 2000 EDT Modified files: /php4 configure.in Log: Install extensions in different directories, so that users can have various PHP installations with different parameters. Index: php4/configure.in diff -u php4/configure.in:1.118 php4/configure.in:1.119 --- php4/configure.in:1.118 Thu May 4 03:38:12 2000 +++ php4/configure.in Thu May 4 04:57:59 2000 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.118 2000/05/04 10:38:12 sas Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.119 2000/05/04 11:57:59 sas Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -646,8 +646,28 @@ phplibdir="pwd/modules" test -d $phplibdir || mkdir $phplibdir phptempdir="pwd/libs" -EXTENSION_DIR="$prefix/lib/php/modules" +test "$prefix" = "NONE" && prefix="/usr/local" +test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' + +dnl Build extension directory path + +if test "$PHP_DEBUG" = "1"; then + PART1=debug +else + PART1=no-debug +fi + +if test "$enable_experimental_zts" = "yes"; then + PART2=zts +else + PART2=non-zts +fi + +ZEND_MODULE_API_NO=egrep '#define ZEND_MODULE_API_NO ' $srcdir/Zend/modules.h|sed 's/#define ZEND_MODULE_API_NO //' + +EXTENSION_DIR="$prefix/lib/php/extensions/$PART1-$PART2-$ZEND_MODULE_API_NO" + AC_BUILD_RPATH EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS" @@ -759,9 +779,6 @@ CC="$abs_builddir/meta_cc" fi changequote([,]) - -test "$prefix" = "NONE" && prefix="/usr/local" -test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' PHP_CONFIGURE_PART(Generating files)

« previous php.version4 (#14461) next »