summaryrefslogtreecommitdiff
path: root/packages/fvwm/files/oe-configure.ac.patch
blob: c140cff5dd5d980aa3f0460635dd1dfd7ed04129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
upstream: OE-only
origin: Yuri Bushmelev <jay4mail at gmail.com>
comment: disable mkstemp() safety check, X11/keysym.h check and old libstroke check
--- fvwm-2.5.26/configure.ac.orig	2008-06-11 15:44:28.000000000 +0400
+++ fvwm-2.5.26/configure.ac	2008-06-11 15:44:46.000000000 +0400
@@ -1405,7 +1407,8 @@
 
 # check for mkstemp, see the discution on this subject on the fvwm workers
 # list (2001-02-16 and 2001-02-24)
-AM_SAFETY_CHECK_MKSTEMP
+#AM_SAFETY_CHECK_MKSTEMP
+AC_DEFINE(HAVE_SAFETY_MKSTEMP)
 
 # If we do not have atexit(), then check for on_exit()
 if test x$ac_cv_func_atexit = xno; then
@@ -1465,23 +1468,23 @@
   problem_gnomehints=": Explicitly disabled"
 fi
 
-# Define some compatibility macros needed for config.h.
-mg_DEFINE_IF_NOT([#include <X11/keysym.h>],
-  [defined XK_Page_Up && defined XK_Page_Down],
-  [COMPAT_OLD_KEYSYMDEF], [$X_CFLAGS],
-  [Old AIX systems (3.2.5) don't define some common keysyms.])
-AH_VERBATIM([_COMPAT_OLD_KEYSYMDEF],
-[#ifdef COMPAT_OLD_KEYSYMDEF
-#  define XK_Page_Up   XK_Prior
-#  define XK_Page_Down XK_Next
-#endif])
-
-if test x"$with_stroke" = xyes; then
-  mg_DEFINE_IF_NOT([#include <stroke.h>],
-    [defined STROKE_MAX_SEQUENCE],
-    [COMPAT_OLD_LIBSTROKE], [$stroke_CFLAGS],
-    [Old libstroke <= 0.4 does not use STROKE_ prefix for constants.])
-fi
+## Define some compatibility macros needed for config.h.
+#mg_DEFINE_IF_NOT([#include <X11/keysym.h>],
+#  [defined XK_Page_Up && defined XK_Page_Down],
+#  [COMPAT_OLD_KEYSYMDEF], [$X_CFLAGS],
+#  [Old AIX systems (3.2.5) don't define some common keysyms.])
+#AH_VERBATIM([_COMPAT_OLD_KEYSYMDEF],
+#[#ifdef COMPAT_OLD_KEYSYMDEF
+##  define XK_Page_Up   XK_Prior
+##  define XK_Page_Down XK_Next
+##endif])
+
+#if test x"$with_stroke" = xyes; then
+#  mg_DEFINE_IF_NOT([#include <stroke.h>],
+#    [defined STROKE_MAX_SEQUENCE],
+#    [COMPAT_OLD_LIBSTROKE], [$stroke_CFLAGS],
+#    [Old libstroke <= 0.4 does not use STROKE_ prefix for constants.])
+#fi
 AH_VERBATIM([_COMPAT_OLD_LIBSTROKE],
 [#ifdef COMPAT_OLD_LIBSTROKE
 /* currently we only use one constant */