mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user