Better error messages when no libidn

Initial
Stephane Bortzmeyer 21 years ago
parent aa7d8b33a7
commit 9bec7086de

@ -17,7 +17,7 @@ may not be available on your platform).
--disable-http (suppress the HTTP support) --disable-http (suppress the HTTP support)
--disable-smtp (suppress the SMTP support) --disable-smtp (suppress the SMTP support)
--enable-icp (add the ICP support, to monitor Web proxies like Squid) --enable-icp (add the ICP support, to monitor Web proxies like Squid)
--enable-idn (add the IDN support, to handle Unicode domaine names, see RFC 3490) --disable-idn (suppress the IDN support, the handling of Unicode domaine names, see RFC 3490)
--with-gnutls[=/where/is/gnutls] (add the SSL/TLS support, you will need --with-gnutls[=/where/is/gnutls] (add the SSL/TLS support, you will need
the GNU TLS library <http://www.gnutls.org/>) the GNU TLS library <http://www.gnutls.org/>)
--with-ssl[=/where/is/ssl] (add the SSL/TLS support, you will need --with-ssl[=/where/is/ssl] (add the SSL/TLS support, you will need

@ -180,7 +180,7 @@ AC_DEFUN([CF_LIB_GNUIDN],
[ [
AC_CHECK_LIB(idn,idna_to_ascii_from_utf8, AC_CHECK_LIB(idn,idna_to_ascii_from_utf8,
[LIBS="${LIBS} `pkg-config libidn --libs-only-L` `pkg-config libidn --libs-only-l`"], [LIBS="${LIBS} `pkg-config libidn --libs-only-L` `pkg-config libidn --libs-only-l`"],
[AC_ERROR([Get the GNU IDN library (http://www.josefsson.org/libidn/)])], dnl [AC_ERROR([Get the GNU IDN library (http://www.josefsson.org/libidn/) or use --disable-idn])], dnl
)]) )])
dnl experimental dnl experimental

2
SRC/aclocal.m4 vendored

@ -192,7 +192,7 @@ AC_DEFUN([CF_LIB_GNUIDN],
[ [
AC_CHECK_LIB(idn,idna_to_ascii_from_utf8, AC_CHECK_LIB(idn,idna_to_ascii_from_utf8,
[LIBS="${LIBS} `pkg-config libidn --libs-only-L` `pkg-config libidn --libs-only-l`"], [LIBS="${LIBS} `pkg-config libidn --libs-only-L` `pkg-config libidn --libs-only-l`"],
[AC_ERROR([Get the GNU IDN library (http://www.josefsson.org/libidn/)])], dnl [AC_ERROR([Get the GNU IDN library (http://www.josefsson.org/libidn/) or use --disable-idn])], dnl
)]) )])
dnl experimental dnl experimental

2
SRC/configure vendored

@ -2140,7 +2140,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
LIBS="${LIBS} `pkg-config libidn --libs-only-L` `pkg-config libidn --libs-only-l`" LIBS="${LIBS} `pkg-config libidn --libs-only-L` `pkg-config libidn --libs-only-l`"
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
{ echo "configure: error: Get the GNU IDN library (http://www.josefsson.org/libidn/)" 1>&2; exit 1; } { echo "configure: error: Get the GNU IDN library (http://www.josefsson.org/libidn/) or use --disable-idn" 1>&2; exit 1; }
fi fi
fi fi

Loading…
Cancel
Save