summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2017-08-31 07:55:45 +0200
committerRemi Collet <remi@php.net>2017-08-31 07:55:45 +0200
commit3239f6d6798d86fdbf8e03aa741d9990bcfffe79 (patch)
tree88583ed81b9e80b68f50ca2806640fe919c157ff
parent0966f9de41586092a2b0ca95bb012b422be49554 (diff)
downloadphp-git-3239f6d6798d86fdbf8e03aa741d9990bcfffe79.tar.gz
move AC_DEFINE in the right position (in bundled lib conditon)
-rw-r--r--ext/sqlite3/config0.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sqlite3/config0.m4 b/ext/sqlite3/config0.m4
index 0e5fbc5d1d..78fd6224dc 100644
--- a/ext/sqlite3/config0.m4
+++ b/ext/sqlite3/config0.m4
@@ -85,11 +85,11 @@ if test $PHP_SQLITE3 != "no"; then
other_flags="$other_flags -DSQLITE_ENABLE_ICU=1"
fi
+ AC_DEFINE(HAVE_SQLITE3_ERRSTR, 1, [have sqlite3_errstr function])
PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite $other_flags $threadsafe_flags $debug_flags"
PHP_INSTALL_HEADERS([ext/sqlite3/libsqlite/sqlite3.h])
fi
- AC_DEFINE(HAVE_SQLITE3_ERRSTR, 1, [have sqlite3_errstr function])
AC_DEFINE(HAVE_SQLITE3,1,[ ])
sqlite3_sources="sqlite3.c $sqlite3_extra_sources"