|
|
@ -85,16 +85,12 @@ AC_SEARCH_LIBS(exp, m, , echo "Error: Required library math not found." && exit |
|
|
|
AC_SEARCH_LIBS(pthread_mutex_trylock, pthread, , "Error: Required library pthreads not found." && exit 1) |
|
|
|
AC_SEARCH_LIBS(pthread_mutex_trylock, pthread, , "Error: Required library pthreads not found." && exit 1) |
|
|
|
|
|
|
|
|
|
|
|
if test "x$ckdb" != "xno"; then |
|
|
|
if test "x$ckdb" != "xno"; then |
|
|
|
AC_CHECK_LIB([pq], [main],[PQ=-lpq],echo "Error: Required library libpq-dev |
|
|
|
AC_CHECK_LIB([pq], [main],[PQ=-lpq],echo "Error: Required library pq |
|
|
|
not found. Install it or disable postgresql support with --without-ckdb" && exit 1) |
|
|
|
not found. Install it or disable postgresql support with --without-ckdb" && exit 1) |
|
|
|
AC_CHECK_LIB([gsl], [main],[GSL=-lgsl],echo "Error: Required library gsl-dev |
|
|
|
AC_CHECK_LIB([gsl], [main],[GSL=-lgsl],echo "Error: Required libraries gsl and gslcblas |
|
|
|
not found. Install it or disable support with --without-ckdb" && exit 1) |
|
|
|
not found. Install them or disable support with --without-ckdb" && exit 1,[-lgslcblas]) |
|
|
|
AC_CHECK_LIB([gslcblas], [main],[GSLCBLAS=-lgslcblas],echo "Error: Required library gslcblas |
|
|
|
AC_CHECK_LIB([ssl], [main],[SSL=-lssl],echo "Error: Required libraries ssl and crypto |
|
|
|
not found. Install it or disable support with --without-ckdb" && exit 1) |
|
|
|
not found. Install them or disable support with --without-ckdb" && exit 1,[-lcrypto]) |
|
|
|
AC_CHECK_LIB([ssl], [main],[SSL=-lssl],echo "Error: Required library ssl |
|
|
|
|
|
|
|
not found. Install it or disable support with --without-ckdb" && exit 1) |
|
|
|
|
|
|
|
AC_CHECK_LIB([crypto], [main],[SSL=-lcrypto],echo "Error: Required library crypto |
|
|
|
|
|
|
|
not found. Install it or disable support with --without-ckdb" && exit 1) |
|
|
|
|
|
|
|
AC_DEFINE([USE_CKDB], [1], [Defined to 1 if ckdb support required]) |
|
|
|
AC_DEFINE([USE_CKDB], [1], [Defined to 1 if ckdb support required]) |
|
|
|
DB_LIBS="-lpq -lgsl -lgslcblas -lssl -lcrypto" |
|
|
|
DB_LIBS="-lpq -lgsl -lgslcblas -lssl -lcrypto" |
|
|
|
else |
|
|
|
else |
|
|
|