diff --git a/configure.in b/configure.in index 701a9dbc..b4365663 100644 --- a/configure.in +++ b/configure.in @@ -63,6 +63,14 @@ AC_ARG_WITH(gdbm, esac ], [use_gdbm=false]) AM_CONDITIONAL(COND_USE_GDBM, test x$use_gdbm = xtrue) +AC_ARG_WITH(gdbm-includes, + [--with-gdbm-includes[[=DIR]] use gdbm include files in DIR],[ + if test "$withval" != "no" -a "$withval" != "yes"; then + Z_DIR=$withval + CPPFLAGS="${CPPFLAGS} -I$withval" + fi +]) + AC_ARG_WITH(howl-includes, [--with-howl-includes[[=DIR]] use howl include files in DIR],[ if test "$withval" != "no" -a "$withval" != "yes"; then @@ -71,6 +79,14 @@ AC_ARG_WITH(howl-includes, fi ]) +AC_ARG_WITH(gdbm-libs, + [--with-gdbm-libs[[=DIR]] use gdbm lib files in DIR],[ + if test "$withval" != "no" -a "$withval" != "yes"; then + Z_DIR=$withval; + LDFLAGS="${LDFLAGS} -L$withval" + fi +]) + AC_ARG_WITH(howl-libs, [--with-howl-libs[[=DIR]] use howl lib files in DIR],[ if test "$withval" != "no" -a "$withval" != "yes"; then diff --git a/src/configfile.c b/src/configfile.c index ca2f1c85..639d8ef7 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -23,6 +23,7 @@ # include "config.h" #endif +#define _POSIX_PTHREAD_SEMANTICS #include #include #include