-keep and drop are not needed here as we watch for disconnects
[oweals/gnunet.git] / configure.ac
index 52bc8967d02ea2c03dae6afc41fbdcc2bdf9aa2c..bb02ab89353108eae8ef2a29d1f31b137001ce12 100644 (file)
@@ -387,11 +387,7 @@ if test "$libidn" != "no"; then
     [libidn=yes LIBS="${LIBS} -lidn"], libidn=no),
      libidn=no)
 fi
-if test "$libidn" != "no" ; then
-  AC_DEFINE(LIBIDN, 1, [Define to 1 if you want IDN support.])
-  else
-  AC_MSG_FAILURE([Libidn not found])
-fi
+AM_CONDITIONAL([HAVE_LIBIDN], [test "$libidn" != "no"]) 
 AC_MSG_RESULT($libidn)