* The library needs libgcrypt. Libgcrypt is part of gnupg (cvs.gnupg.org)
-* Libmhash is also needed. Try mhash.sourceforge.net
* Run the buildconf script before doing anything. This will create
the needed configure, makefiles etc. using Automake, Autoconf, and libtool.
GNUTLS_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER=$GNUTLS_MICRO_VERSION
GNUTLS_OLDEST_INTERFACE=0
+dnl AM_PATH_GCRYPT(1.1.2,,
+dnl AC_MSG_ERROR([[
+dnl ***
+dnl *** libgcrypt was not found. You may want to get it from
+dnl *** ftp://ftp.gnupg.org/gcrypt/devel/
+dnl ***
+dnl ]]))
+
AC_SUBST(GNUTLS_MAJOR_VERSION)
AC_SUBST(GNUTLS_MINOR_VERSION)
AC_SUBST(GNUTLS_MICRO_VERSION)
EXTRA_DIST = port.h
noinst_PROGRAMS = serv cli
serv_SOURCES = serv.c
-serv_LDADD = ../lib/libgnutls.la -lgcrypt -lmhash
+serv_LDADD = ../lib/libgnutls.la -lgcrypt
cli_SOURCES = cli.c
-cli_LDADD = ../lib/libgnutls.la -lgcrypt -lmhash
+cli_LDADD = ../lib/libgnutls.la -lgcrypt