X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/2f1e9ae7c4d8f893de7ffe03fcb36b905ffe0f96..b7a8b5277d37b289361ff0cc881632f527e4d5db:/configure.ac?ds=inline diff --git a/configure.ac b/configure.ac index 76462ad..55def5c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,15 +1,22 @@ AC_PREREQ(2.50) -AC_INIT([onak],[0.4.0],[noodles-onak@earth.li]) +AC_INIT([onak],[0.4.1],[noodles-onak@earth.li]) AC_CONFIG_SRCDIR(onak.c) AC_CONFIG_HEADER(config.h) AC_PROG_CC +AC_PROG_CC_C99 AC_C_BIGENDIAN +m4_include([m4/ax_lib_nettle.m4]) + +AX_LIB_NETTLE(auto) + dnl We should always have these backends available. backends="file fs keyd" +LIBCURL_CHECK_CONFIG(,,[have_libcurl="yes" backends="$backends hkp"],have_libcurl="no") + AC_CHECK_LIB(pq, PQsetdbLogin,[have_libpq="yes" backends="$backends pg"],have_libpq="no") AC_CHECK_HEADER(db.h, have_db_h="yes", have_db_h="no")