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.
This commit is contained in:
Hans Ulrich Niedermann
2022-05-16 05:13:19 +02:00
parent 6f5bd93820
commit f5455ef081

View File

@@ -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.