From f16f93be3fd8d6e09074bbf8a3f38ac10dad23d4 Mon Sep 17 00:00:00 2001 From: Brandon Invergo Date: Sun, 19 May 2013 15:16:37 +0200 Subject: fix testing for db program --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index ae8528a2..0baaf58a 100755 --- a/configure +++ b/configure @@ -2436,10 +2436,11 @@ $as_echo "no" >&6; } fi -if [ "x$SQLITE" = "x" && "x$POSTGRES" = "x" ]; then - as_fn_error $? "SQLite or PostgreSQL is required" "$LINENO" 5 +if test "x$SQLITE" = x -a "x$POSTGRES" = "x"; then : + as_fn_error $? "SQLite or PostgreSQL is required" "$LINENO" 5 fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python prefix" >&5 $as_echo_n "checking for Python prefix... " >&6; } if ${pc_cv_python_prefix+:} false; then : -- cgit v1.2.3