From 55c6d66f61a96ba63cd8c141229843ad2ab42632 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 24 Nov 2020 03:01:06 +0000 Subject: CTAN sync 202011240301 --- graphics/asymptote/configure.ac | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'graphics/asymptote/configure.ac') diff --git a/graphics/asymptote/configure.ac b/graphics/asymptote/configure.ac index fd61d7974d..4abd151a9d 100644 --- a/graphics/asymptote/configure.ac +++ b/graphics/asymptote/configure.ac @@ -3,7 +3,7 @@ # this file. AC_PREREQ(2) -AC_INIT([Asymptote],[2.67],[http://sourceforge.net/projects/asymptote]) +AC_INIT([Asymptote],[2.68],[https://sourceforge.net/projects/asymptote]) VERSION=$PACKAGE_VERSION AC_SUBST(VERSION) m4_include([ax_pthread.m4]) @@ -55,7 +55,7 @@ fi ]) AC_CHECK_PROGS(TEXI2DVI,[texi2dvi], -[@echo \*\*\*\*\*\*\*\*\*\* Please install texi2dvi or put http://asymptote.sourceforge.net/asymptote.pdf in the doc directory: cannot execute texi2dvi]) +[@echo \*\*\*\*\*\*\*\*\*\* Please install texi2dvi or put https://asymptote.sourceforge.io/asymptote.pdf in the doc directory: cannot execute texi2dvi]) AC_SUBST(TEXI2DVI) @@ -265,8 +265,14 @@ fi AC_CHECK_LIB([rt], [sched_yield]) -AC_CHECK_LIB([curl],[curl_easy_init],, -AC_MSG_NOTICE([*** Could not find libcurl: will compile without optional URL support. ***])) +AC_ARG_ENABLE(curl, +[AS_HELP_STRING(--enable-curl[[[=yes]]],enable libcurl and compile with optional URL support)]) +if test "x$enable_curl" != "xno"; then + AC_CHECK_LIB([curl],[curl_easy_init],, + AC_MSG_NOTICE([*** Could not find libcurl: will compile without optional URL support. ***])) +else + AC_MSG_NOTICE([*** libcurl support disabled by configure flag: will compile without optional URL support. ***]) +fi AC_ARG_ENABLE(readline, [AS_HELP_STRING(--enable-readline[[[=yes]]],enable GNU Readline Library)]) -- cgit v1.2.3