Skip to content

Commit

Permalink
move AC_DEFINE in the right position (in bundled lib conditon)
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Aug 31, 2017
1 parent 0966f9d commit 3239f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/sqlite3/config0.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3239f6d

Please sign in to comment.