summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-06 13:36:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:44 -0500
commit5141a1e50ca86ffaedc02d19768f613b64923968 (patch)
tree28864dfe2775d041912034ed47d59d61a5043415
parent903a7fb990795deac92e13d8873ab0002572a7bb (diff)
downloadsamba-5141a1e50ca86ffaedc02d19768f613b64923968.tar.gz
samba-5141a1e50ca86ffaedc02d19768f613b64923968.tar.bz2
samba-5141a1e50ca86ffaedc02d19768f613b64923968.zip
r7336: make --with-sqlite3=auto possible
metze (This used to be commit cd59ff50ed00526c2af5ebddfb1fca942ba8faa6)
-rw-r--r--source4/lib/ldb/sqlite3.m410
1 files changed, 4 insertions, 6 deletions
diff --git a/source4/lib/ldb/sqlite3.m4 b/source4/lib/ldb/sqlite3.m4
index ab7c61f243..d4a4c95870 100644
--- a/source4/lib/ldb/sqlite3.m4
+++ b/source4/lib/ldb/sqlite3.m4
@@ -2,22 +2,20 @@
# Compile with SQLITE3 support?
SQLITE3_LIBS=""
-with_sqlite3_support=auto
+with_sqlite3_support=no
AC_MSG_CHECKING([for SQLITE3 support])
AC_ARG_WITH(sqlite3,
-[ --with-sqlite3 SQLITE3 support (default no)],
+[ --with-sqlite3 SQLITE3 support (default=no)],
[ case "$withval" in
- yes|no)
+ yes|no|auto)
with_sqlite3_support=$withval
;;
esac ])
AC_MSG_RESULT($with_sqlite3_support)
-if test x"$with_sqlite3_support" != x"yes"; then
- with_sqlite3_support=no
-else
+if test x"$with_sqlite3_support" != x"no"; then
##################################################################
# first test for sqlite3.h
AC_CHECK_HEADERS(sqlite3.h)