summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f13157e..7ced8ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,10 +16,17 @@ AM_PROG_CC_C_O
AC_PROG_LIBTOOL
# Checks for libraries.
+PKG_CHECK_MODULES(GnuTLS, gnutls, , AC_MSG_ERROR(Test for GnuTLS failed.))
+
+CPPFLAGS="$GnuTLS_CFLAGS $CPPFLAGS"
+LIBS="$GnuTLS_LIBS $LIBS"
# Checks for header files.
+AC_CHECK_HEADERS([arpa/inet.h sys/socket.h])
# Checks for typedefs, structures, and compiler characteristics.
+AC_HEADER_STDBOOL
+AC_C_CONST
# Checks for library functions.