[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT dfffc65] Add sparse to new feature convention
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT dfffc65] Add sparse to new feature convention |
Date: |
Fri, 28 Aug 2009 02:19:52 -0000 |
From: Juan Quintela <address@hidden>
Once there, move to a proper test to see if we are going to use it or not
Signed-off-by: Juan Quintela <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/configure b/configure
index abb2dfb..b993b65 100755
--- a/configure
+++ b/configure
@@ -186,6 +186,7 @@ fdt=""
kvm=""
nptl=""
sdl=""
+sparse="no"
vde=""
vnc_tls=""
vnc_sasl=""
@@ -194,7 +195,6 @@ xen=""
gprof="no"
debug_tcg="no"
debug="no"
-sparse="no"
strip_opt="yes"
bigendian="no"
mingw32="no"
@@ -682,10 +682,6 @@ echo "NOTE: The object files are built at the place where
configure is launched"
exit 1
fi
-if test ! -x "$(which cgcc 2>/dev/null)"; then
- sparse="no"
-fi
-
#
# Solaris specific configure tool chain decisions
#
@@ -893,6 +889,19 @@ EOF
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
sdl_too_old=no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT dfffc65] Add sparse to new feature convention,
Anthony Liguori <=