Revision 788c8196 configure

b/configure
178 178
# --enable-foo that exits if feature is not found
179 179

  
180 180
brlapi=""
181
curl=""
181 182
curses=""
182 183
vde=""
183 184
vnc_tls=""
......
207 208
guest_base=""
208 209
build_docs="yes"
209 210
uname_release=""
210
curl="yes"
211 211
io_thread="no"
212 212
nptl="yes"
213 213
mixemu="no"
......
504 504
  ;;
505 505
  --disable-curl) curl="no"
506 506
  ;;
507
  --enable-curl) curl="yes"
508
  ;;
507 509
  --disable-nptl) nptl="no"
508 510
  ;;
509 511
  --enable-mixemu) mixemu="yes"
......
626 628
echo "  --disable-curses         disable curses output"
627 629
echo "  --enable-curses          enable curses output"
628 630
echo "  --disable-curl           disable curl connectivity"
631
echo "  --enable-curl            enable curl connectivity"
629 632
echo "  --disable-bluez          disable bluez stack connectivity"
630 633
echo "  --disable-kvm            disable KVM acceleration support"
631 634
echo "  --disable-nptl           disable usermode NPTL support"
......
1136 1139
##########################################
1137 1140
# curl probe
1138 1141

  
1139
if test "$curl" = "yes" ; then
1140
  curl=no
1142
if test "$curl" != "no" ; then
1141 1143
  cat > $TMPC << EOF
1142 1144
#include <curl/curl.h>
1143 1145
int main(void) { return curl_easy_init(); }
......
1148 1150
    curl=yes
1149 1151
    libs_tools="$curl_libs $libs_tools"
1150 1152
    libs_softmmu="$curl_libs $libs_softmmu"
1153
  else
1154
    if test "$curl" = "yes" ; then
1155
      feature_not_found "curl"
1156
    fi
1157
    curl=no
1151 1158
  fi
1152 1159
fi # test "$curl"
1153 1160

  

Also available in: Unified diff