Simplify configure.ac

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-10-01 12:32:08 +02:00
parent 286d8275c7
commit 94651e65ce

View File

@ -428,13 +428,8 @@ AC_CHECK_TYPES([mbstate_t],,, [#include "wchar.h"])
# Test auxiliary packages
# ----------------------------------------
AM_CONDITIONAL([HAVE_LIBCURL], false)
PKG_CHECK_MODULES([libcurl], [libcurl], [have_libcurl=true], [have_libcurl=false])
if $have_libcurl; then
AM_CONDITIONAL([HAVE_LIBCURL], true)
else
AM_CONDITIONAL([HAVE_LIBCURL], false)
fi
AM_CONDITIONAL([HAVE_LIBCURL], $have_libcurl)
PKG_CHECK_MODULES([LEPTONICA], [lept >= 1.74], [have_lept=true], [have_lept=false])
if $have_lept; then