7b62e22011-04-25Martin Stjernholm # $Id$
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
13277e2001-07-16Martin Stjernholm  PIKE_FEATURE_OK(Gdbm)
2d3c852001-07-10Martin Stjernholm  fi
a80a9c1997-02-11Fredrik Hübinette (Hubbe) fi AC_OUTPUT(Makefile,echo FOO >stamp-h )