The current GNU TLS tests in the configure script just use CHECK_HEADER and
CHECK_LIB to try and locate gnutls. This is fine if its in /usr, but no so
useful if it is installed elsewhere. There are also no Makefile.am vars set
to let you specify an alternate install location. gnutls already comes with
support for pkg-config, so this patch just switches our configure script
and Makefiles over to use that. Building against a different GNU TLS install
is now just a matter of setting PKG_CONFIG_PATH, or the GNUTLS_LIBS and
GNUTLS_CFLAGS vars.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|