pike.git / src / modules / Gdbm / configure.in

version» Context lines:

pike.git/src/modules/Gdbm/configure.in:1: - # $Id: configure.in,v 1.3 1998/09/20 08:30:50 hubbe Exp $ +    AC_INIT(gdbmmod.c)   AC_CONFIG_HEADER(gdbm_machine.h)      AC_ARG_WITH(gdbm, [ --with(out)-gdbm GNU database manager support ],[],[with_gdbm=yes])      AC_MODULE_INIT()    -  + PIKE_FEATURE_WITHOUT(Gdbm) +    if test x$with_gdbm = xyes; then -  +  PIKE_FEATURE_NODEP(Gdbm) +     AC_CHECK_HEADERS(gdbm.h) -  AC_CHECK_LIB(gdbm, gdbm_open) +  AC_SEARCH_LIBS(gdbm_open, gdbm libgdbm, [ +  if test x$ac_cv_header_gdbm_h = xyes; then +  AC_DEFINE(HAVE_LIBGDBM, [], [Defined if the gdbm library is found.]) +  PIKE_FEATURE_OK(Gdbm)    fi -  +  ]) + fi      AC_OUTPUT(Makefile,echo FOO >stamp-h )