configure.ac: Fix handling --with-libcurl

It was reported being --with-libcurl in the help (and the check for libcurl
being installed used $with_libcurl accordingly), but the option handling was set
using $with_curl and, therefore, expected option --with-curl.

In the end, --with-libcurl wasn't recognized, and --with-curl had no effect.

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Olivier Brunel 2016-06-26 21:30:49 +02:00 committed by Allan McRae
parent be1ffedaf6
commit 56ae960376
1 changed files with 2 additions and 2 deletions

View File

@ -131,9 +131,9 @@ AC_ARG_WITH(gpgme,
[], [with_gpgme=check])
# Help line for using libcurl
AC_ARG_WITH(curl,
AC_ARG_WITH(libcurl,
AS_HELP_STRING([--with-libcurl], [use libcurl for the internal downloader]),
[], [with_curl=check])
[], [with_libcurl=check])
# Help line for documentation
AC_ARG_ENABLE(doc,