1From 60c17eb49121bf2aa485acd30750b2fc6c8eb61f Mon Sep 17 00:00:00 2001
2From: Jarmo Jaakkola <jarmo.jaakkola@vincit.fi>
3Date: Mon, 19 Jun 2017 16:41:36 +0300
4Subject: [PATCH] Fix compilation for Helix.
5
6Gnome support, including GNOME_INIT_HOOK, has been removed, but it was
7still being called.
8
9COMPAT_OLD_KEYSYMDEF is a check for a legacy system, which our system
10most definitely is not.  It is accomplished by trying to execute
11a program, which does not work when cross compiling.
12
13Upstream-Status: Inappropriate [OE specific]
14Signed-off-by: Jarmo Jaakkola <jarmo.jaakkola@vincit.fi>
15Signed-off-by: Riku Hämäläinen <riku.hamalainen@ge.com>
16Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
17---
18 configure.ac         | 20 ++++----------------
19 doc/fvwm/Makefile.am |  2 +-
20 3 files changed, 7 insertions(+), 17 deletions(-)
21
22diff --git a/configure.ac b/configure.ac
23index 48ce264..fab7b44 100644
24--- a/configure.ac
25+++ b/configure.ac
26@@ -1413,8 +1413,4 @@ else
27 # Define some compatibility macros needed for config.h.
28-mg_DEFINE_IF_NOT([#include <X11/keysym.h>],
29-  [defined XK_Page_Up && defined XK_Page_Down],
30-  [COMPAT_OLD_KEYSYMDEF], [$X_CFLAGS],
31-  [Old AIX systems (3.2.5) don't define some common keysyms.])
32 AH_VERBATIM([_COMPAT_OLD_KEYSYMDEF],
33 [#ifdef COMPAT_OLD_KEYSYMDEF
34 #  define XK_Page_Up   XK_Prior
35--
361.9.1
37
38