diff -uNr clamav-0.98.3/configure.ac clamav-0.98.3-ac2.68/configure.ac --- clamav-0.98.3/configure.ac 2014-05-06 20:42:41.000000000 +0200 +++ clamav-0.98.3-ac2.68/configure.ac 2014-05-09 10:51:30.508280355 +0200 @@ -53,6 +53,7 @@ AC_USE_SYSTEM_EXTENSIONS m4_include([m4/reorganization/version.m4]) +m4_include([m4/reorganization/build_tools.m4]) LT_CONFIG_LTDL_DIR([libltdl]) LT_INIT([dlopen disable-static]) @@ -61,7 +62,6 @@ m4_include([m4/reorganization/libclamav-only.m4]) -m4_include([m4/reorganization/build_tools.m4]) m4_include([m4/reorganization/headers.m4]) AC_CONFIG_FILES([libltdl/Makefile]) @@ -396,7 +396,7 @@ ]) fi -if test "x$clamonacc-curl" = "xdeprecated"; then +if test "x$clamonacc_curl" = "xdeprecated"; then AC_MSG_WARN([m4_normalize([ ****** your libcurl (e.g. libcurl-devel) is older than the recommended version. Installing ClamAV with clamonacc requires libcurl 7.40 or higher to use fdpassing. ****** fdpassing with clamonacc will be disabled on your system. diff -uNr clamav-0.98.3/m4/reorganization/build_tools.m4 clamav-0.98.3-ac2.68/m4/reorganization/build_tools.m4 --- clamav-0.98.3/m4/reorganization/build_tools.m4 2014-05-06 20:39:56.000000000 +0200 +++ clamav-0.98.3-ac2.68/m4/reorganization/build_tools.m4 2014-05-09 10:53:30.800262620 +0200 @@ -1,3 +1,5 @@ +AM_PROG_AR +AM_PROG_CC_C_O AC_PROG_CC AC_PROG_INSTALL AC_PROG_LN_S --- clamav-0.103.0/m4/reorganization/clamdtop.m4.orig 2020-09-13 02:27:10.000000000 +0200 +++ clamav-0.103.0/m4/reorganization/clamdtop.m4 2020-11-23 06:28:37.380116770 +0100 @@ -13,8 +13,8 @@ if test "X$HAVE_LIBNCURSES" != "Xyes"; then AC_LIB_FIND([ncurses], [ncurses/ncurses.h], - AC_LANG_PROGRAM([#include ], - [initscr(); KEY_RESIZE;]), + [AC_LANG_PROGRAM([#include ], + [initscr(); KEY_RESIZE;])], [CURSES_CPPFLAGS="$INCNCURSES"; CURSES_LIBS="$LTLIBNCURSES"; CURSES_INCLUDE=""], []) @@ -23,8 +23,8 @@ if test "X$HAVE_LIBNCURSES" != "Xyes"; then HAVE_LIBNCURSES= AC_LIB_FIND([ncurses], [ncurses.h], - AC_LANG_PROGRAM([#include ], - [initscr(); KEY_RESIZE;]), + [AC_LANG_PROGRAM([#include ], + [initscr(); KEY_RESIZE;])], [CURSES_CPPFLAGS="$INCNCURSES"; CURSES_LIBS="$LTLIBNCURSES"; CURSES_INCLUDE=""], []) @@ -32,8 +32,8 @@ if test "X$HAVE_LIBNCURSES" != "Xyes"; then AC_LIB_FIND([pdcurses],[curses.h], - AC_LANG_PROGRAM([#include ], - [initscr(); KEY_RESIZE;]), + [AC_LANG_PROGRAM([#include ], + [initscr(); KEY_RESIZE;])], [CURSES_CPPFLAGS="$INCPDCURSES"; CURSES_LIBS="$LTLIBPDCURSES"; CURSES_INCLUDE=""], diff -uNr clamav-0.98.3/m4/reorganization/code_checks/unit_tests.m4 clamav-0.98.3-ac2.68/m4/reorganization/code_checks/unit_tests.m4 --- clamav-0.98.3/m4/reorganization/code_checks/unit_tests.m4 2014-05-06 20:39:56.000000000 +0200 +++ clamav-0.98.3-ac2.68/m4/reorganization/code_checks/unit_tests.m4 2014-05-09 10:51:06.963907781 +0200 @@ -12,7 +12,7 @@ esac AC_LIB_FIND([check],[check.h], - AC_LANG_PROGRAM([#include ],[srunner_create(0)]), + [AC_LANG_PROGRAM([#include ],[srunner_create(0)])], [CHECK_CPPFLAGS="$INCCHECK"; CHECK_LIBS="$LTLIBCHECK $LDFLAGS"], []) --- clamav-0.103.0/m4/reorganization/libs/curl.m4.orig 2020-09-13 02:27:10.000000000 +0200 +++ clamav-0.103.0/m4/reorganization/libs/curl.m4 2020-11-23 20:23:04.812211547 +0100 @@ -64,12 +64,12 @@ dnl end of section AM_COND_IF([BUILD_CLAMONACC], - $enable_clamonacc="yes" + enable_clamonacc="yes" - clamonacc_curl = "current" + clamonacc_curl="current" dnl if version less than to (7.40 0x072800) [if test $curl_version -lt 468992; then - clamonacc_curl = "deprecated" + clamonacc_curl="deprecated" fi] )