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
........

Merged revisions 432281 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Jordan
2015-02-25 23:09:51 +00:00
parent 4b63da7f7d
commit ced84d7e62
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