mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Merge pull request #3458 from nosnilmot/sqlite3-macos
Remove external dependency on sqlite3 for macos
This commit is contained in:
commit
75a4e23996
1 changed files with 13 additions and 6 deletions
11
configure.ac
11
configure.ac
|
@ -269,12 +269,19 @@ AC_ARG_ENABLE(zlib,
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-zlib) ;;
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-zlib) ;;
|
||||||
esac],[if test "x$zlib" = "x"; then zlib=true; fi])
|
esac],[if test "x$zlib" = "x"; then zlib=true; fi])
|
||||||
|
|
||||||
if test "$sqlite" = "true"; then
|
case "`uname`" in
|
||||||
|
"Darwin")
|
||||||
|
# Darwin (macos) erlang-sqlite is built using amalgamated lib, so no external dependency
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if test "$sqlite" = "true"; then
|
||||||
AX_LIB_SQLITE3([3.6.19])
|
AX_LIB_SQLITE3([3.6.19])
|
||||||
if test "x$SQLITE3_VERSION" = "x"; then
|
if test "x$SQLITE3_VERSION" = "x"; then
|
||||||
AC_MSG_ERROR(SQLite3 library >= 3.6.19 was not found)
|
AC_MSG_ERROR(SQLite3 library >= 3.6.19 was not found)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
enabled_backends=""
|
enabled_backends=""
|
||||||
for backend in odbc mysql pgsql sqlite redis mssql; do
|
for backend in odbc mysql pgsql sqlite redis mssql; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue