From f5455ef081ecaa894e137bc288ecddab27b32fd4 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Mon, 16 May 2022 05:13:19 +0200 Subject: [PATCH] remove additional AM_CONDITIONAL definitions Remove additional AM_CONDITIONAL definitions for HAVE_LIBCURL and HAVE_LIBXML2. Those two AM_CONDITIONALS are already defined by GP_CHECK_LIBRARY. If not having the addtional definitions exposes a bug, then that bug should be fixed, not papered over with the additional definitions. --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 9974f7c19..b6852871e 100644 --- a/configure.ac +++ b/configure.ac @@ -366,12 +366,6 @@ GP_CHECK_LIBRARY([LIBCURL],[libcurl],[>= 7.1], ) GP_CONFIG_MSG([CURL support for Lumix Wifi],[${have_LIBCURL}]) -AM_CONDITIONAL([HAVE_LIBCURL], - [test -n "$have_LIBCURL" && test "X$have_LIBCURL" != "Xno"]) -AM_CONDITIONAL([HAVE_LIBXML2], - [test -n "$have_LIBXML2" && test "X$have_LIBXML2" != "Xno"]) - - dnl --------------------------------------------------------------------------- dnl check for libgd dnl they call it "gdlib" ... confusing.