Set ext_base, a common prefix to the per-extension build directory

(ext/<ext-name> for in-tree builds, "" for rest)
This commit is contained in:
Sascha Schumann 2000-02-10 18:07:30 +00:00
parent c59993005c
commit aa50e6368a

View File

@ -352,6 +352,7 @@ dnl a dynamically loadable library.
dnl
AC_DEFUN(PHP_EXTENSION,[
if test -d "$cwd/$srcdir/ext/$1" ; then
ext_base="ext/$1/"
EXT_SUBDIRS="$EXT_SUBDIRS $1"
if test "$2" != "shared" && test "$2" != "yes" && test -z "$php_always_shared"; then
_extlib="lib$1.a"