changeset 36794:138582cbff16

configure: Make the XShape extension optional. The GUI compiles and runs without it. Although some skins will look ugly, there are skins that not even require the extension.
author ib
date Wed, 19 Feb 2014 16:58:41 +0000
parents bc1787a9684a
children 7ee92e6f4d61
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Feb 19 16:32:45 2014 +0000
+++ b/configure	Wed Feb 19 16:58:41 2014 +0000
@@ -7826,7 +7826,8 @@
     if test "$_xshape" = yes ; then
       def_xshape='#define CONFIG_XSHAPE 1'
     else
-      die "The GUI requires the X11 extension XShape (which was not found)."
+      def_xshape='#undef CONFIG_XSHAPE'
+      res_comment="some skins will look ugly without it"
     fi
     echores "$_xshape"