From 5141a1e50ca86ffaedc02d19768f613b64923968 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 6 Jun 2005 13:36:02 +0000 Subject: r7336: make --with-sqlite3=auto possible metze (This used to be commit cd59ff50ed00526c2af5ebddfb1fca942ba8faa6) --- source4/lib/ldb/sqlite3.m4 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'source4/lib/ldb') 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) -- cgit