diff options
| author | Nuno Lopes <nlopess@php.net> | 2007-02-15 20:52:50 +0000 |
|---|---|---|
| committer | Nuno Lopes <nlopess@php.net> | 2007-02-15 20:52:50 +0000 |
| commit | 14a6567f09e260841cb196b12bbe39f5a9e3c0e3 (patch) | |
| tree | 1e281a4a697a40510b8cdb302a33bae3a824148d /ext/pdo_sqlite/config.m4 | |
| parent | fd7d6a6f0a4216b163f18b10f5db3d77aa2acbeb (diff) | |
| download | php-git-14a6567f09e260841cb196b12bbe39f5a9e3c0e3.tar.gz | |
fix build on cygwin with windows-style EOLs
Diffstat (limited to 'ext/pdo_sqlite/config.m4')
| -rw-r--r-- | ext/pdo_sqlite/config.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4 index 3d7c20e2a3..4a3b4df76c 100644 --- a/ext/pdo_sqlite/config.m4 +++ b/ext/pdo_sqlite/config.m4 @@ -89,7 +89,7 @@ if test "$PHP_PDO_SQLITE" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/sqlite/src, 1) AC_CHECK_SIZEOF(char *,4) AC_DEFINE(SQLITE_PTR_SZ, SIZEOF_CHAR_P, [Size of a pointer]) - PDO_SQLITE_VERSION=`cat $ext_srcdir/sqlite/VERSION` + PDO_SQLITE_VERSION=`cat $ext_srcdir/sqlite/VERSION | sed 's/[^0-9.]//g'` 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/ $ext_srcdir/sqlite/src/sqlite.h.in > $ext_srcdir/sqlite/src/sqlite3.h |
