diff options
author | Wez Furlong <wez@php.net> | 2005-07-27 11:53:00 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-07-27 11:53:00 +0000 |
commit | a6f0d99e5bbaa8f7a221064f0fccb3b2a44574e3 (patch) | |
tree | 821e87a6aff67f11ee4835b43b663eecf96ca65a /ext/pdo_sqlite/config.m4 | |
parent | 594dadf9ae284bae334488f60263bca23c79a3df (diff) | |
download | php-git-a6f0d99e5bbaa8f7a221064f0fccb3b2a44574e3.tar.gz |
fixup the build in HEAD again... moved the maintainer only stuff out of the
config.m4 and into a separate script to make it cleaner
Diffstat (limited to 'ext/pdo_sqlite/config.m4')
-rw-r--r-- | ext/pdo_sqlite/config.m4 | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4 index 11bbaaf27a..71244cdf16 100644 --- a/ext/pdo_sqlite/config.m4 +++ b/ext/pdo_sqlite/config.m4 @@ -91,19 +91,8 @@ if test "$PHP_PDO_SQLITE" != "no"; then PDO_SQLITE_VERSION=`cat $ext_srcdir/sqlite/VERSION` PDO_SQLITE_VERSION_NUMBER=`echo $PDO_SQLITE_VERSION | $AWK -F. '{printf("%d%03d%03d", $1, $2, $3)}'` sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/ $abs_srcdir/sqlite/src/sqlite.h.in > $abs_srcdir/sqlite/src/sqlite3.h - if ! test -f $abs_srcdir/sqlite/src/parse.h ; then - dnl maintainer can comment this line out when upgrading the bundled library - dnl and reinstate it when done - AC_MSG_ERROR([this package is broken]) - $CC -o $abs_srcdir/sqlite/tool/lemon $abs_srcdir/sqlite/tool/lemon.c - $abs_srcdir/sqlite/tool/lemon $abs_srcdir/sqlite/src/parse.y - cat $abs_srcdir/sqlite/src/parse.h $abs_srcdir/sqlite/src/vdbe.c | $AWK -f $abs_srcdir/sqlite/mkopcodeh.awk > $abs_srcdir/sqlite/src/opcodes.h - sort -n +2 $abs_srcdir/sqlite/src/opcodes.h | $AWK -f $abs_srcdir/sqlite/mkopcodec.awk > $abs_srcdir/sqlite/src/opcodes.c - $CC -o $abs_srcdir/sqlite/tool/mkkeywordhash $abs_srcdir/sqlite/tool/mkkeywordhash.c - $abs_srcdir/sqlite/tool/mkkeywordhash > $abs_srcdir/sqlite/src/keywordhash.h - else - touch $abs_srcdir/sqlite/src/parse.c $abs_srcdir/sqlite/src/parse.h - fi + + touch $ext_srcdir/sqlite/src/parse.c $ext_srcdir/sqlite/src/parse.h if test "$ext_shared" = "no" -o "$ext_srcdir" != "$abs_srcdir"; then echo '#include <php_config.h>' > $ext_srcdir/sqlite/src/config.h |