2d3c852001-07-10Martin Stjernholm # $Id: configure.in,v 1.4 2001/07/10 07:17:47 mast Exp $
a80a9c1997-02-11Fredrik Hübinette (Hubbe) AC_INIT(gdbmmod.c) AC_CONFIG_HEADER(gdbm_machine.h) AC_ARG_WITH(gdbm, [ --with(out)-gdbm GNU database manager support ],[],[with_gdbm=yes])
e269811998-09-20Fredrik Hübinette (Hubbe) AC_MODULE_INIT()
a80a9c1997-02-11Fredrik Hübinette (Hubbe) 
2d3c852001-07-10Martin Stjernholm PIKE_FEATURE_WITHOUT(Gdbm)
a80a9c1997-02-11Fredrik Hübinette (Hubbe) if test x$with_gdbm = xyes; then
2d3c852001-07-10Martin Stjernholm  PIKE_FEATURE_NODEP(Gdbm)
a80a9c1997-02-11Fredrik Hübinette (Hubbe)  AC_CHECK_HEADERS(gdbm.h) AC_CHECK_LIB(gdbm, gdbm_open)
2d3c852001-07-10Martin Stjernholm  if test x$ac_cv_header_gdbm_h = xyes -a x$ac_cv_lib_gdbm_gdbm_open = xyes; then PIKE_FEATURE(Gdbm) fi
a80a9c1997-02-11Fredrik Hübinette (Hubbe) fi AC_OUTPUT(Makefile,echo FOO >stamp-h )