]> granicus.if.org Git - php/commitdiff
- MFH(r-1.49): Let it work safely
authorMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 4 Apr 2004 19:23:43 +0000 (19:23 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 4 Apr 2004 19:23:43 +0000 (19:23 +0000)
ext/mbstring/config.m4

index 736d42db7d1b65ebf881d37c6f0efe6dc83e23c1..c6a0cb75899db5927f3d3e0a8b059bb8f4bbf600 100644 (file)
@@ -34,10 +34,14 @@ AC_DEFUN([PHP_MBSTRING_EXTENSION], [
     PHP_ADD_BUILD_DIR([$ext_builddir/$dir])
   done
   
-  if test "$ext_shared" = "no" -o ! -e "$ext_builddir/config.h.in"; then
+  if test "$ext_shared" = "no"; then
     out="php_config.h"
   else
-    out="$abs_builddir/config.h"
+    if test -e "$ext_builddir/config.h.in"; then
+      out="$abs_builddir/config.h"
+    else
+      out="php_config.h"
+    fi
   fi
   
   for cfg in $PHP_MBSTRING_EXTRA_CONFIG_HEADERS; do