com php-src: move AC_DEFINE in the right position (in bundled lib conditon): ext/sqlite3/config 0.m4
| From: | Remi Collet | Date: | Thu, 31 Aug 2017 05:55:45 +0000 |
| Subject: | com php-src: move AC_DEFINE in the right position (in bundled lib conditon): ext/sqlite3/config 0.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99206@lists.php.net to get a copy of this message | ||
Commit: 3239f6d6798d86fdbf8e03aa741d9990bcfffe79
Author: Remi Collet <remi@php.net> Thu, 31 Aug 2017 07:55:45 +0200
Parents: 0966f9de41586092a2b0ca95bb012b422be49554
Branches: PHP-7.0 PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3239f6d6798d86fdbf8e03aa741d9990bcfffe79
Log:
move AC_DEFINE in the right position (in bundled lib conditon)
Changed paths:
M ext/sqlite3/config0.m4
Diff:
diff --git a/ext/sqlite3/config0.m4 b/ext/sqlite3/config0.m4
index 0e5fbc5..78fd622 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"