From 8e1adda1da0f8248dcc45aec7aeec61dee882053 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 13 May 2017 18:31:21 +1000 Subject: [PATCH] Disable ckdb by default. --- configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 084b04eb..2deaa69c 100644 --- a/configure.ac +++ b/configure.ac @@ -75,8 +75,8 @@ JANSSON_LIBS="jansson-2.10/src/.libs/libjansson.a" AC_SUBST(JANSSON_LIBS) AC_ARG_WITH([ckdb], - [AC_HELP_STRING([--without-ckdb],[Compile ckpool without postgresql database support (default enabled)])], - [ckdb=$withval] + [AC_HELP_STRING([--with-ckdb],[Compile ckpool with ckdb database support (default disabled)])], + [ckdb=$withval],[ckdb=no] ) AC_SEARCH_LIBS(clock_nanosleep, rt, , "Error: Required library rt not found." && exit 1) @@ -85,15 +85,15 @@ AC_SEARCH_LIBS(pthread_mutex_trylock, pthread, , "Error: Required library pthrea if test "x$ckdb" != "xno"; then AC_SEARCH_LIBS(PQdb, pq, , echo "Error: Required library pq - not found. Install it or disable postgresql support with --without-ckdb" && exit 1) + not found. Install it or disable support by removing --with-ckdb" && exit 1) AC_SEARCH_LIBS(BN_init, crypto, , echo "Error: Required library crypto - not found. Install them or disable support with --without-ckdb" && exit 1) + not found. Install them or disable support by removing --with-ckdb" && exit 1) AC_SEARCH_LIBS(SSL_accept, ssl, , echo "Error: Required libraries ssl - not found. Install them or disable support with --without-ckdb" && exit 1) + not found. Install them or disable support by removing --with-ckdb" && exit 1) AC_SEARCH_LIBS(cblas_dgemm, gslcblas, ,echo "Error: Required library gslcblas - not found. Install them or disable support with --without-ckdb" && exit 1) + not found. Install them or disable support by removing --with-ckdb" && exit 1) AC_SEARCH_LIBS(gsl_blas_dgemm, gsl, , echo "Error: Required library gsl - not found. Install them or disable support with --without-ckdb" && exit 1) + not found. Install them or disable support by removing --with-ckdb" && exit 1) AC_DEFINE([USE_CKDB], [1], [Defined to 1 if ckdb support required]) fi AM_CONDITIONAL([WANT_CKDB], [test "x$ckdb" != "xno"])