Add our own autoconf check for libgcrypt.

This one doesn't require one to have libgcrypt installed while running
autoreconf, making life easier for people who compile tinc from git.
This commit is contained in:
Guus Sliepen 2013-12-10 11:18:04 +01:00
parent 283c5d1cf0
commit 53b00f8c1a
3 changed files with 37 additions and 4 deletions

View file

@ -197,7 +197,7 @@ endif
tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
sptps_speed_LDADD = -lrt
LIBS = @LIBS@ @LIBGCRYPT_LIBS@
LIBS = @LIBS@
if TUNEMU
LIBS += -lpcap