cvs: pecl /pdo_sqlite config.m4
| From: | Wez Furlong | Date: | Sun, 13 Feb 2005 02:51:11 +0000 |
| Subject: | cvs: pecl /pdo_sqlite config.m4 | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-2528@lists.php.net to get a copy of this message | ||
wez Sat Feb 12 21:51:11 2005 EDT
Modified files:
/pecl/pdo_sqlite config.m4
Log:
Probably fix pecl vs bundled-shared build
http://cvs.php.net/diff.php/pecl/pdo_sqlite/config.m4?r1=1.6&r2=1.7&ty=u
Index: pecl/pdo_sqlite/config.m4
diff -u pecl/pdo_sqlite/config.m4:1.6 pecl/pdo_sqlite/config.m4:1.7
--- pecl/pdo_sqlite/config.m4:1.6 Sat Feb 12 03:20:17 2005
+++ pecl/pdo_sqlite/config.m4 Sat Feb 12 21:51:11 2005
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.6 2005/02/12 08:20:17 wez Exp $
+dnl $Id: config.m4,v 1.7 2005/02/13 02:51:11 wez Exp $
dnl config.m4 for extension pdo_sqlite
dnl vim:et:sw=2:ts=2:
@@ -91,12 +91,11 @@
sort -n +2 $ext_srcdir/sqlite/src/opcodes.h | awk -f $ext_srcdir/sqlite/mkopcodec.awk >
$ext_srcdir/sqlite/src/opcodes.c
fi
- if test "$ext_shared" = "no"; then
+ if test "$ext_shared" = "no" -o "$ext_srcdir" =
"$abs_srcdir"; then
echo '#include "php_config.h"' > $ext_srcdir/sqlite/src/config.h
else
echo "#include \"$abs_builddir/config.h\"" >
$ext_srcdir/sqlite/src/config.h
fi
-
cat >> $ext_srcdir/sqlite/src/config.h <<EOF
#if ZTS
# define THREADSAFE 1