]> granicus.if.org Git - php/commitdiff
Set ext_base, a common prefix to the per-extension build directory
authorSascha Schumann <sas@php.net>
Thu, 10 Feb 2000 18:07:30 +0000 (18:07 +0000)
committerSascha Schumann <sas@php.net>
Thu, 10 Feb 2000 18:07:30 +0000 (18:07 +0000)
(ext/<ext-name> for in-tree builds, "" for rest)

acinclude.m4

index 0fe1571c497345dc282d97da3164685ea8df98fb..0aec0c688a12ceeae4c8db61eed633672794a230 100644 (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"