configure: Promote SQLite3 "not installed" warning to error

Since Asterisk won't build without the library, not having it is definitely
an error. Thanks to Kyle Kurz for pointing this out.
........

Merged revisions 432280 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@432281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Jordan
2015-02-25 23:09:19 +00:00
parent ddff640f94
commit 474fec4f92
2 changed files with 10 additions and 12 deletions

View File

@@ -2245,8 +2245,8 @@ AST_EXT_LIB_CHECK([SQLITE], [sqlite], [sqlite_exec], [sqlite.h])
AST_EXT_LIB_CHECK([SQLITE3], [sqlite3], [sqlite3_open], [sqlite3.h], [${PTHREAD_LIBS}], [${PTHREAD_CFLAGS}])
if test "${PBX_SQLITE3}" != 1; then
AC_MSG_WARN(*** Asterisk now uses SQLite3 for the internal Asterisk database.)
AC_MSG_WARN(*** Please install the SQLite3 development package.)
AC_MSG_ERROR(*** Asterisk now uses SQLite3 for the internal Asterisk database.)
AC_MSG_ERROR(*** Please install the SQLite3 development package.)
exit 1
fi