mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +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. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@432280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2154,8 +2154,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}])
|
AST_EXT_LIB_CHECK([SQLITE3], [sqlite3], [sqlite3_open], [sqlite3.h], [${PTHREAD_LIBS}], [${PTHREAD_CFLAGS}])
|
||||||
|
|
||||||
if test "${PBX_SQLITE3}" != 1; then
|
if test "${PBX_SQLITE3}" != 1; then
|
||||||
AC_MSG_WARN(*** Asterisk now uses SQLite3 for the internal Asterisk database.)
|
AC_MSG_ERROR(*** Asterisk now uses SQLite3 for the internal Asterisk database.)
|
||||||
AC_MSG_WARN(*** Please install the SQLite3 development package.)
|
AC_MSG_ERROR(*** Please install the SQLite3 development package.)
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user