chiark / gitweb /
Remove libidn checks/support
authorAndy Wingo <wingo@pobox.com>
Sun, 19 Apr 2015 13:48:58 +0000 (15:48 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 19 Apr 2015 13:48:58 +0000 (15:48 +0200)
configure.ac
src/shared/build.h

index 6924e01..ac52595 100644 (file)
@@ -498,21 +498,6 @@ 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]))
 if test "x$enable_binfmt" != "xno"; then
@@ -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}
index 42b3493..c276154 100644 (file)
 #define _BLKID_FEATURE_ "-BLKID"
 #endif
 
-#ifdef HAVE_LIBIDN
-#define _IDN_FEATURE_ "+IDN"
-#else
-#define _IDN_FEATURE_ "-IDN"
-#endif
-
 #define SYSTEMD_FEATURES                                                \
         _PAM_FEATURE_ " "                                               \
         _SELINUX_FEATURE_ " "                                           \
@@ -76,5 +70,4 @@
         _SMACK_FEATURE_ " "                                             \
         _ACL_FEATURE_ " "                                               \
         _SECCOMP_FEATURE_ " "                                           \
-        _BLKID_FEATURE_ " "                                             \
-        _IDN_FEATURE_
+        _BLKID_FEATURE_