1 If you want to use the gnutls library in other projects
2 using autoconf/aclocal, put in your
4 acinclude.m4 or aclocal.m4:
8 AM_PATH_LIBGNUTLS( 1.0.0,, AC_MSG_ERROR([[
10 *** libgnutls was not found. You may want to get it from
11 *** ftp://ftp.gnutls.org/pub/gnutls/
14 these macros define LIBGNUTLS_LIBS and LIBGNUTLS_CFLAGS. If you want to
15 use the GPL gnutls parts then also add:
18 include(libgnutls-extra.m4)
21 AM_PATH_LIBGNUTLS_EXTRA( 1.0.0,, AC_MSG_ERROR([[
23 *** libgnutls-extra was not found. You may want to get it from
24 *** ftp://ftp.gnutls.org/pub/gnutls/
27 which define LIBGNUTLS_EXTRA_LIBS and LIBGNUTLS_EXTRA_CFLAGS.