Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From 60c17eb49121bf2aa485acd30750b2fc6c8eb61f Mon Sep 17 00:00:00 2001 |
| 2 | From: Jarmo Jaakkola <jarmo.jaakkola@vincit.fi> |
| 3 | Date: Mon, 19 Jun 2017 16:41:36 +0300 |
| 4 | Subject: [PATCH] Fix compilation for Helix. |
| 5 | |
| 6 | Gnome support, including GNOME_INIT_HOOK, has been removed, but it was |
| 7 | still being called. |
| 8 | |
| 9 | COMPAT_OLD_KEYSYMDEF is a check for a legacy system, which our system |
| 10 | most definitely is not. It is accomplished by trying to execute |
| 11 | a program, which does not work when cross compiling. |
| 12 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 13 | Upstream-Status: Inappropriate [OE specific] |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 14 | Signed-off-by: Jarmo Jaakkola <jarmo.jaakkola@vincit.fi> |
| 15 | Signed-off-by: Riku Hämäläinen <riku.hamalainen@ge.com> |
| 16 | Signed-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 | |
| 22 | diff --git a/configure.ac b/configure.ac |
| 23 | index 48ce264..fab7b44 100644 |
| 24 | --- a/configure.ac |
| 25 | +++ b/configure.ac |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 26 | @@ -1413,8 +1413,4 @@ else |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 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 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 35 | -- |
| 36 | 1.9.1 |
| 37 | |