# --enable-foo that exits if feature is not found
brlapi=""
+curl=""
curses=""
vde=""
vnc_tls=""
guest_base=""
build_docs="yes"
uname_release=""
-curl="yes"
io_thread="no"
nptl="yes"
mixemu="no"
;;
--disable-curl) curl="no"
;;
+ --enable-curl) curl="yes"
+ ;;
--disable-nptl) nptl="no"
;;
--enable-mixemu) mixemu="yes"
echo " --disable-curses disable curses output"
echo " --enable-curses enable curses output"
echo " --disable-curl disable curl connectivity"
+echo " --enable-curl enable curl connectivity"
echo " --disable-bluez disable bluez stack connectivity"
echo " --disable-kvm disable KVM acceleration support"
echo " --disable-nptl disable usermode NPTL support"
##########################################
# curl probe
-if test "$curl" = "yes" ; then
- curl=no
+if test "$curl" != "no" ; then
cat > $TMPC << EOF
#include <curl/curl.h>
int main(void) { return curl_easy_init(); }
curl=yes
libs_tools="$curl_libs $libs_tools"
libs_softmmu="$curl_libs $libs_softmmu"
+ else
+ if test "$curl" = "yes" ; then
+ feature_not_found "curl"
+ fi
+ curl=no
fi
fi # test "$curl"