Commit 0bc24d6f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

configure: accept --with-libidn2 instead

... which the help text already implied since we switched to libidn2
from libidn in commit 9c91ec77 back in October 2016.

Reported-by: Christian Weisgerber
Bug: https://curl.haxx.se/mail/lib-2016-12/0110.html
parent 913312f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2830,7 +2830,7 @@ dnl **********************************************************************


AC_MSG_CHECKING([whether to build with libidn2])
AC_MSG_CHECKING([whether to build with libidn2])
OPT_IDN="default"
OPT_IDN="default"
AC_ARG_WITH(libidn,
AC_ARG_WITH(libidn2,
AC_HELP_STRING([--with-libidn2=PATH],[Enable libidn2 usage])
AC_HELP_STRING([--with-libidn2=PATH],[Enable libidn2 usage])
AC_HELP_STRING([--without-libidn2],[Disable libidn2 usage]),
AC_HELP_STRING([--without-libidn2],[Disable libidn2 usage]),
  [OPT_IDN=$withval])
  [OPT_IDN=$withval])