--- a/configure.ac Fri Jun 16 08:51:48 2006 +0000
+++ b/configure.ac Fri Jun 16 09:21:33 2006 +0000
@@ -76,6 +76,11 @@
PKG_CHECK_MODULES(LOUDMOUTH, glib-2.0 >= $GLIB2_REQUIRED)
+PKG_CHECK_MODULES(LIBIDN, libidn, have_idn=yes, have_idn=no)
+if test "x$have_idn" = "xyes"; then
+ AC_DEFINE(HAVE_IDN, 1, [Define if IDN support is included])
+fi
+
# Check Unit test framework (defined in acinclude.m4)
IDT_PATH_CHECK(0.9.2, have_check=yes, have_check=no)
@@ -257,6 +262,7 @@
prefix: ${prefix}
compiler: ${CC}
+ Have IDN support: ${have_idn}
Enable SSL ${enable_ssl}
Enable Debug: ${enable_debug}
Enable Unit Tests: ${have_check}