[gnutls-dev] Re: Autoconf tests for GNUTLS?
Simon Josefsson
jas at extundo.com
Sat Nov 24 11:50:01 CET 2001
Nikos Mavroyanopoulos <nmav at hellug.gr> writes:
> On Sat, 24 Nov 2001 00:32:52 +0100
> Simon Josefsson <jas at extundo.com> wrote:
>
>> >> Has anyone written a autoconf test for detecting GNUTLS?
>> >> I am now using the following, if someone would like to pick this up
>> >> and turn it into a proper AC_DEFUN or whatever, that would be nice.
>> > You may use 'gnutls.m4'. It's use is demonstrated in doc/README.autoconf.
>> Where can I find gnutls.m4? It doesn't seem to be included in neither
>> GNUTLS (from CVS) or Autoconf 2.52. Google didn't find it either.
>> Thanks.
> It's my mistake. It's called 'libgnutls.m4', and it is found at the lib/
> directory of gnutls.
Thanks, now I'm on the right track. The following is probably good as
well.
Index: README.autoconf
===================================================================
RCS file: /cvs/gnutls/gnutls/doc/README.autoconf,v
retrieving revision 1.5
diff -u -u -w -r1.5 README.autoconf
--- README.autoconf 2001/11/23 23:42:59 1.5
+++ README.autoconf 2001/11/24 10:48:57
@@ -5,7 +5,7 @@
include(libgnutls.m4)
configure.in:
- AM_PATH_GNUTLS( 0.2.3,, AC_MSG_ERROR[[*** gnutls was not found]]))
+ AM_PATH_LIBGNUTLS( 0.2.3,, AC_MSG_ERROR([[*** gnutls was not found]]))
-these macros define GNUTLS_LIBS and GNUTLS_CFLAGS.
+these macros define LIBGNUTLS_LIBS and LIBGNUTLS_CFLAGS.
More information about the Gnutls-devel
mailing list