diff --git a/configure.ac b/configure.ac index 712918fc8539d02a1143ccb3f87f8336e6fbc90d..4bd3c3e21937d1412fac5336df01c760f5102467 100644 --- a/configure.ac +++ b/configure.ac @@ -1810,7 +1810,7 @@ dnl check for (ESX) dnl if test "$with_curl" != "yes" ; then - if test "$with_esx" = "check"; then + if test "$with_esx" != "yes"; then with_esx=no else AC_MSG_ERROR([Curl is required for the ESX driver])