1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 07:48:50 -05:00

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

View File

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