X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/408ea0b9ceafdc9f861701cfb14b57d09aa47777..d393825d164f31fe0194221b6ed90f3c320d8d44:/configure.ac?ds=inline diff --git a/configure.ac b/configure.ac index a94dbbe..c654ab8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,17 @@ AC_PREREQ(2.50) -AC_INIT([onak],[0.3.3+arch],[noodles-onak@earth.li]) +AC_INIT([onak],[0.4.0],[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" @@ -17,7 +22,7 @@ AC_MSG_CHECKING(for libdb version in db.h) printf "#include \nDB_VERSION_MAJOR DB_VERSION_MINOR\n" >conftest.c set `eval $ac_cpp conftest.c | egrep '^ *[[0-9]] *'`; v="$1"; vv="$2" AC_MSG_RESULT($v.$vv) -if test "$v" -eq 4; then +if test "$v" -ge 4; then for db in "db-$v.$vv" "db$v.$vv" "db-$v" "db$v" "db"; do AC_MSG_CHECKING(for db_create in lib$db) oldLIBS="$LIBS"