This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [vtv] fix default configure
- From: Benjamin De Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: cmtice at google dot com
- Date: Thu, 8 Aug 2013 18:02:48 -0700
- Subject: Re: [vtv] fix default configure
- References: <20130807164806 dot 39e80ea8 at oakwood>
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 <bkoz@rehat.com>
Michael Meissner <meissner@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 <bkoz@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"