blob: 83535d5c47bf93b2fd1aa1bc0be1a321a2d7bfa0 (
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
|
Index: ratpoison-1.4.2/configure
===================================================================
--- ratpoison-1.4.2.orig/configure 2007-10-07 11:28:27.000000000 +0200
+++ ratpoison-1.4.2/configure 2007-10-07 11:28:32.000000000 +0200
@@ -864,6 +864,7 @@
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-xterm=PROG set the x terminal emulator used by ratpoison
+ --with-menu=PROG set a external menu program to be advertised
--with-x use the X Window System
Some influential environment variables:
@@ -1872,6 +1873,27 @@
_ACEOF
+
+# Check whether --with-menu was given.
+if test "${with_menu+set}" = set; then
+ withval=$with_menu; menu_prog="$withval"
+else
+ menu_prog=""
+fi
+
+
+if test "$menu_prog" != "no" && ! test -z "$menu_prog" ; then
+
+cat >>confdefs.h <<_ACEOF
+#define MENU_PROG "$menu_prog"
+_ACEOF
+
+{ echo "$as_me:$LINENO: checking external menu program" >&5
+echo $ECHO_N "checking external menu program... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: result: $menu_prog" >&5
+echo "${ECHO_T}$menu_prog" >&6; }
+fi
+
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
Index: ratpoison-1.4.2/src/config.h.in
===================================================================
--- ratpoison-1.4.2.orig/src/config.h.in 2007-10-07 11:28:27.000000000 +0200
+++ ratpoison-1.4.2/src/config.h.in 2007-10-07 11:28:32.000000000 +0200
@@ -72,6 +72,9 @@
/* Define to 1 if you have the <X11/extensions/Xinerama.h> header file. */
#undef HAVE_X11_EXTENSIONS_XINERAMA_H
+/* external menu program to advertise */
+#undef MENU_PROG
+
/* Name of package */
#undef PACKAGE
|