X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=ac52595138aeef6a645a7e2b786ec81a655a6204;hb=d8d5781c1eb031477670facc132e198f8fddd56c;hp=6924e01a1c496d25bc39bd2b9d98691e1ed38935;hpb=c1bf4024a16291b4371333db2b86bd1e1d227e13;p=elogind.git diff --git a/configure.ac b/configure.ac index 6924e01a1..ac5259513 100644 --- a/configure.ac +++ b/configure.ac @@ -497,21 +497,6 @@ if test "x$enable_libcurl" != "xno"; then fi AM_CONDITIONAL(HAVE_LIBCURL, [test "$have_libcurl" = "yes"]) -# ------------------------------------------------------------------------------ -have_libidn=no -AC_ARG_ENABLE(libidn, AS_HELP_STRING([--disable-libidn], [Disable optional LIBIDN support])) -if test "x$enable_libidn" != "xno"; then - PKG_CHECK_MODULES(LIBIDN, [libidn], - [AC_DEFINE(HAVE_LIBIDN, 1, [Define if libidn is available]) - have_libidn=yes - M4_DEFINES="$M4_DEFINES -DHAVE_LIBIDN"], - [have_libidn=no]) - if test "x$have_libidn" = "xno" -a "x$enable_libidn" = "xyes"; then - AC_MSG_ERROR([*** libidn support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_LIBIDN, [test "$have_libidn" = "yes"]) - # ------------------------------------------------------------------------------ have_binfmt=no AC_ARG_ENABLE(binfmt, AS_HELP_STRING([--disable-binfmt], [disable binfmt tool])) @@ -1056,7 +1041,6 @@ AC_MSG_RESULT([ SMACK: ${have_smack} ACL: ${have_acl} libcurl: ${have_libcurl} - libidn: ${have_libidn} binfmt: ${have_binfmt} vconsole: ${have_vconsole} bootchart: ${have_bootchart}