summaryrefslogtreecommitdiffstats
path: root/tcpd/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'tcpd/configure.ac')
-rw-r--r--tcpd/configure.ac10
1 files changed, 9 insertions, 1 deletions
diff --git a/tcpd/configure.ac b/tcpd/configure.ac
index 8f6d1fc..0aa6f8a 100644
--- a/tcpd/configure.ac
+++ b/tcpd/configure.ac
@@ -15,6 +15,7 @@ AC_CONFIG_HEADERS(config.h)
dnl Checks for programs.
AC_PROG_CC
+AC_PROG_CC_C99
AC_PROG_INSTALL
AC_PROG_LN_S
AC_LIBTOOL_DLOPEN
@@ -165,6 +166,13 @@ fi
dnl Checks for library functions.
+PKG_CHECK_MODULES(LIBIDN, libidn >= 0.0.0, [libidn=yes], [libidn=no])
+
+if test "$libidn" != "yes"
+then
+ AC_MSG_ERROR([libidn not found])
+fi
+
AC_CHECK_FUNCS(setpgrp setpgid)
AC_CHECK_FUNC(setpgrp,
[
@@ -545,7 +553,7 @@ RAND_bytes(dummy, 1);
]
)
LIBS="-lssl $LIBS"
- AC_CHECK_FUNCS(TLSv1_1_method TLSv1_2_method)
+ AC_CHECK_FUNCS(TLSv1_1_method TLSv1_2_method X509_VERIFY_PARAM_set1_host)
LIBS="$save_LIBS"
AC_TRY_COMPILE( [