Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 81966 | Differences between
and this patch

Collapse All | Expand All

(-)configure.in.in.orig (-5 / +11 lines)
Lines 42-53 Link Here
42
dnl Test for libidn (IDNA support)
42
dnl Test for libidn (IDNA support)
43
dnl -------
43
dnl -------
44
44
45
AC_ARG_WITH(idn,AC_HELP_STRING([--with-idn],[Enable idn support [default=check]]),[idn_test="$withval"],[idn_test="yes"])
46
45
LIB_IDN=
47
LIB_IDN=
46
AC_CHECK_LIB(idn, idna_to_ascii_4i, [
48
47
  AC_DEFINE_UNQUOTED(HAVE_LIBIDN, 1, [Defined if you have libidn in your system])
49
if test "x$idn_test" = "xyes" ; then
48
  LIB_IDN=-lidn
50
  AC_CHECK_LIB(idn, idna_to_ascii_4i, [
49
])
51
    AC_DEFINE_UNQUOTED(HAVE_LIBIDN, 1, [Defined if you have libidn in your system])
50
AC_CHECK_HEADERS([idna.h punycode.h stringprep.h])
52
    LIB_IDN=-lidn
53
  ])
54
  AC_CHECK_HEADERS([idna.h punycode.h stringprep.h])
55
fi
56
51
AC_SUBST(LIB_IDN)
57
AC_SUBST(LIB_IDN)
52
58
53
dnl --------
59
dnl --------

Return to bug 81966