Once there, move to a proper test to see if we are going to use it or not
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kvm=""
nptl=""
sdl=""
+sparse="no"
vde=""
vnc_tls=""
vnc_sasl=""
gprof="no"
debug_tcg="no"
debug="no"
-sparse="no"
strip_opt="yes"
bigendian="no"
mingw32="no"
exit 1
fi
-if test ! -x "$(which cgcc 2>/dev/null)"; then
- sparse="no"
-fi
-
#
# Solaris specific configure tool chain decisions
#
fi
fi
+##########################################
+# Sparse probe
+if test "$sparse" != "no" ; then
+ if test -x "$(which cgcc 2>/dev/null)"; then
+ sparse=yes
+ else
+ if test "$sparse" = "yes" ; then
+ feature_not_found "sparse"
+ fi
+ sparse=no
+ fi
+fi
+
##########################################
# SDL probe