From 8f4a018e1801a1a4be124178db9cef5fd49c40d4 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 17 Apr 2015 14:12:27 -0400 Subject: [PATCH] remove support for wayland builds on 32bit this doesn't work for some reason and there are no plans to fix it anytime soon. ref some infinite number of tickets --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index c29d9baf2..6cbbeea7b 100644 --- a/configure.ac +++ b/configure.ac @@ -443,6 +443,7 @@ test -n "$dbus_mount" && AC_DEFINE_UNQUOTED([HAVE_UDISKS_MOUNT], [1], [enable Ud AM_CONDITIONAL([HAVE_UDISKS_MOUNT], [test -n "$dbus_mount"]) AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test -n "$eeze_mount"]) +AC_CHECK_SIZEOF([void*]) # verify "wayland-only" early to adapt dependencies have_wayland_only=no @@ -841,6 +842,10 @@ if test "x${have_wayland}" = "xyes"; then fi fi +if test "x${have_wayland}" = "xyes" && test "$ac_cv_sizeof_voidp" -ne 8 ; then + AC_MSG_ERROR([wayland support is only available for 64bit architectures]) +fi + AM_CONDITIONAL([HAVE_WAYLAND], [test "x${have_wayland}" = "xyes"]) AM_CONDITIONAL([HAVE_WAYLAND_ONLY], [test "x${have_wayland_only}" = "xyes"]) AM_CONDITIONAL([HAVE_WAYLAND_CLIENTS], [test "x${have_wayland_clients}" = "xyes"])