1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
# $Id: configure.in,v 1.7 2004/01/15 01:19:14 grendel Exp $ 
AC_INIT(nettle.cmod) 
AC_CONFIG_HEADER(nettle_config.h) 
 
AC_SET_MAKE 
 
AC_MODULE_INIT() 
 
PIKE_FEATURE_OK(Nettle) 
 
AC_CHECK_LIB(nettle, md5_init,, 
             AC_MSG_WARN([The nettle library not found. 
No crypto functions will be available.]) 
             PIKE_FEATURE_NODEP(Nettle),-lgmp) 
 
AC_HAVE_FUNCS(nettle_md4_init) 
 
AC_OUTPUT(Makefile,echo FOO >stamp-h )