More patches to fix disable issus on non-linux.
> Here's a patch for the build failure on darwin.
Will check in when testing completes.
tested x86/linux
tested x86_64/darwin12
-benjamin
2013-08-08 Benjamin Kosnik <b...@rehat.com>
Michael Meissner <meiss...@linux.vnet.ibm.com>
* configure.tgt : Simplify, just use VTV_SUPPORTED.
diff --git a/libvtv/configure.tgt b/libvtv/configure.tgt
index a84ed27..801d2f0 100644
--- a/libvtv/configure.tgt
+++ b/libvtv/configure.tgt
@@ -19,6 +19,7 @@
# lets us skip running autoconf when modifying target specific information.
# Filter out unsupported systems.
+VTV_SUPPORTED=no
case "${target}" in
x86_64-*-linux* | i?86-*-linux*)
VTV_SUPPORTED=yes
@@ -30,9 +31,7 @@ case "${target}" in
arm*-*-linux*)
;;
x86_64-*-darwin[1]* | i?86-*-darwin[1]*)
- VTV_SUPPORTED=no
;;
*)
- UNSUPPORTED=1
;;
esac
2013-08-02 Benjamin Kosnik <b...@redhat.com>
* configure.ac: Adjust to check VTV_SUPPORTED.
* configure: Regenerated.
diff --git a/configure.ac b/configure.ac
index bcbc95c..6f3d801 100644
--- a/configure.ac
+++ b/configure.ac
@@ -561,7 +561,7 @@ if test -d ${srcdir}/libvtv; then
AC_MSG_CHECKING([for libvtv support])
if (srcdir=${srcdir}/libvtv; \
. ${srcdir}/configure.tgt; \
- test -n "$UNSUPPORTED")
+ test "$VTV_SUPPORTED" != "yes")
then
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs target-libvtv"