diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2018-05-08 14:37:56 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2018-05-08 14:42:15 +0100 |
commit | ca57ccbda2f09d8e5bc2a75277c21e12bfa1947b (patch) | |
tree | 74f8c136a2640ffd7d80bb1a621b77920646fcba | |
parent | 25b5bc35601cba6f279af13df4ba4ad7390546ab (diff) | |
download | libosinfo-ca57ccbda2f09d8e5bc2a75277c21e12bfa1947b.tar.gz |
configure: fix HAVE_CURL conditional on Win32
AM_CONDITIONAL lines must always be executed, but HAVE_CURL was inside
an "if ...", which caused configure to fail when run on Win32.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d834c89..f7f1c72 100644 --- a/configure.ac +++ b/configure.ac @@ -60,8 +60,8 @@ if test "x$enable_tests" != "xno" ; then PKG_CHECK_MODULES([CURL], [libcurl], [have_curl=yes], [:]) AC_SUBST(CURL_CFLAGS) AC_SUBST(CURL_LIBS) - AM_CONDITIONAL([HAVE_CURL],[test "x$have_curl" = "xyes"]) fi +AM_CONDITIONAL([HAVE_CURL],[test "x$have_curl" = "xyes"]) AM_CONDITIONAL([ENABLE_TESTS],[test "x$enable_tests" = "xyes"]) |