cvs: php-src /ext/mbstring config.m4
| From: | Moriyoshi Koizumi | Date: | Sun, 04 Apr 2004 19:23:19 +0000 |
| Subject: | cvs: php-src /ext/mbstring config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26959@lists.php.net to get a copy of this message | ||
moriyoshi Sun Apr 4 15:23:19 2004 EDT
Modified files:
/php-src/ext/mbstring config.m4
Log:
- Let it work safely
http://cvs.php.net/diff.php/php-src/ext/mbstring/config.m4?r1=1.48&r2=1.49&ty=u
Index: php-src/ext/mbstring/config.m4
diff -u php-src/ext/mbstring/config.m4:1.48 php-src/ext/mbstring/config.m4:1.49
--- php-src/ext/mbstring/config.m4:1.48 Sun Apr 4 15:00:53 2004
+++ php-src/ext/mbstring/config.m4 Sun Apr 4 15:23:19 2004
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.48 2004/04/04 19:00:53 derick Exp $
+dnl $Id: config.m4,v 1.49 2004/04/04 19:23:19 moriyoshi Exp $
dnl
AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [
@@ -34,10 +34,14 @@
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