diff options
Diffstat (limited to 'tcpd')
| -rw-r--r-- | tcpd/Makefile.am | 2 | ||||
| -rw-r--r-- | tcpd/configure.ac | 6 | 
2 files changed, 8 insertions, 0 deletions
| diff --git a/tcpd/Makefile.am b/tcpd/Makefile.am index 7c0e23d..9374e50 100644 --- a/tcpd/Makefile.am +++ b/tcpd/Makefile.am @@ -43,6 +43,7 @@ couriertcpd_LDADD= libspipe.la \          ../waitlib/libwaitlib.la\  	../soxwrap/libsoxwrap.a\  	../md5/libmd5.la ../random128/librandom128.la \ +	@LIBIDN_LIBS@ \  	$(couriertcpd_t:%=-Wl,%)  couriertcpd_LDFLAGS=-static @@ -65,6 +66,7 @@ couriertls_DEPENDENCIES=libcouriertls.la libspipe.la ../rfc1035/librfc1035.a \  couriertls_LDADD=libcouriertls.la libspipe.la ../rfc1035/librfc1035.a \  	../md5/libmd5.la ../random128/librandom128.la \  	../numlib/libnumlib.la ../liblock/liblock.la \ +	@LIBIDN_LIBS@ \  	../soxwrap/libsoxwrap.a $(couriertls_t:%=-Wl,%)  couriertls_LDFLAGS=-static diff --git a/tcpd/configure.ac b/tcpd/configure.ac index 5f1e1e2..8f6d1fc 100644 --- a/tcpd/configure.ac +++ b/tcpd/configure.ac @@ -61,6 +61,12 @@ saveLIBS="$LIBS"  AC_CHECK_LIB(dl, dlopen, [ LIBDL="-ldl" ])  LIBS="$saveLIBS" +PKG_CHECK_MODULES(LIBIDN, libidn >= 0.0.0, [libidn=yes], [libidn=no]) +if test "$libidn" != "yes" +then +	AC_MSG_ERROR([libidn not found]) +fi +  dnl Determine whether transport libraries are created static or shared  AC_SUBST(LIBDL) | 
