diff options
| author | Sascha Schumann <sas@php.net> | 2000-05-02 14:46:20 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2000-05-02 14:46:20 +0000 |
| commit | fca9539d63bc60ae9621c690eadb5a662d987a75 (patch) | |
| tree | 113f043695ecc07181af1c9c6a8edb9e37a895cd /configure.in | |
| parent | 8eb698a847912735fa471ec8142ec95c4e33d598 (diff) | |
| download | php-git-fca9539d63bc60ae9621c690eadb5a662d987a75.tar.gz | |
Preset extension_dir to the installation directory of PHP modules.
This effectively means that dl() will work without having an installed
configuration file.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index bf4df29262..b5a328a6eb 100644 --- a/configure.in +++ b/configure.in @@ -646,11 +646,12 @@ fi phplibdir="`pwd`/modules" test -d $phplibdir || mkdir $phplibdir phptempdir="`pwd`/libs" +EXTENSION_DIR="$prefix/lib/php/modules" AC_BUILD_RPATH EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS" - + PHP_BUILD_DATE=`date '+%Y-%m-%d'` AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE") PHP_UNAME=`uname -a` @@ -678,6 +679,7 @@ PHP_SUBST(CPPFLAGS) PHP_SUBST(CXX) PHP_SUBST(DEBUG_CFLAGS) PHP_SUBST(DEFS) +PHP_SUBST(EXTENSION_DIR) PHP_SUBST(EXTRA_LDFLAGS) PHP_SUBST(EXTRA_LIBS) PHP_SUBST(INCLUDES) |
