[pacman-dev] [PATCH] 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> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index dd4ac04..03e9670 100644 --- a/configure.ac +++ b/configure.ac @@ -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, -- 2.9.0
On 27/06/16 05:30, Olivier Brunel wrote:
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>
Thanks. A
participants (2)
-
Allan McRae
-
Olivier Brunel