1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
# $Id: configure.in,v 1.5 2001/07/16 16:21:17 mast 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) 
 
  if test x$ac_cv_header_gdbm_h = xyes -a x$ac_cv_lib_gdbm_gdbm_open = xyes; then 
    PIKE_FEATURE_OK(Gdbm) 
  fi 
fi 
 
AC_OUTPUT(Makefile,echo FOO >stamp-h )