configure.ac: Abort if gcrypt.h is not available.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 25 Nov 2009 19:08:54 +0000 (20:08 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 25 Nov 2009 19:08:54 +0000 (20:08 +0100)
configure.ac

index eb8f889..dd940bf 100644 (file)
@@ -47,7 +47,7 @@ AC_CHECK_HEADERS(netdb.h)
 #
 # Check for libgcrypt
 #
-AC_CHECK_HEADERS(gcrypt.h)
+AC_CHECK_HEADERS(gcrypt.h, [], [AC_MSG_ERROR("gcrypt.h is required for librouteros to compile")])
 
 socket_needs_socket="no"
 AC_CHECK_FUNCS(socket, [],