From: Moriyoshi Koizumi Date: Sun, 4 Apr 2004 19:23:19 +0000 (+0000) Subject: - Let it work safely X-Git-Tag: php-5.0.0RC2RC1~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94ec5c2a649c7d22f87c28d76c1e023294c37d3c;p=php - Let it work safely --- diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4 index a6166d442d..c0d2473c2e 100644 --- a/ext/mbstring/config.m4 +++ b/ext/mbstring/config.m4 @@ -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