summaryrefslogtreecommitdiff
path: root/debian/patches/brl-menu.reconf
diff options
context:
space:
mode:
authorbrl <brl>2006-11-21 16:54:49 +0000
committerbrl <brl>2006-11-21 16:54:49 +0000
commit41ee1578d0b079b60a224ad8a595af42b86b0c72 (patch)
tree3d1cfff1f41e9356d0fb38a90605ceef8b39f6ed /debian/patches/brl-menu.reconf
parent59dd6a0795dd27192e5c9e63a1d2648bce559326 (diff)
downloadratpoison-41ee1578d0b079b60a224ad8a595af42b86b0c72.zip
update debian/ directory
Diffstat (limited to 'debian/patches/brl-menu.reconf')
-rw-r--r--debian/patches/brl-menu.reconf54
1 files changed, 54 insertions, 0 deletions
diff --git a/debian/patches/brl-menu.reconf b/debian/patches/brl-menu.reconf
new file mode 100644
index 0000000..db2e287
--- /dev/null
+++ b/debian/patches/brl-menu.reconf
@@ -0,0 +1,54 @@
+Index: ratpoison/configure
+===================================================================
+--- ratpoison.orig/configure 2006-10-30 17:37:33.000000000 +0100
++++ ratpoison/configure 2006-10-30 17:38:43.000000000 +0100
+@@ -1295,6 +1295,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:
+@@ -2343,6 +2344,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/src/config.h.in
+===================================================================
+--- ratpoison.orig/src/config.h.in 2006-10-30 17:38:06.000000000 +0100
++++ ratpoison/src/config.h.in 2006-10-30 17:38:31.000000000 +0100
+@@ -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
+