Japanese translation of message catalog for Sawfish Window-Manager
Revisão | ad9828a3f6cf1e4b276cce4679a8fdd8427182a7 (tree) |
---|---|
Hora | 2010-04-27 23:35:21 |
Autor | Christopher Roy Bratusek <zanghar@free...> |
Commiter | Christopher Roy Bratusek |
make xinerama an optional depedency
@@ -1,3 +1,7 @@ | ||
1 | +2010-04-27 Christopher Bratusek <zanghar@freenet.de> | |
2 | + * configure.in: make xinerama an optional dependency | |
3 | + -- [modified patch from Gentoo] | |
4 | + | |
1 | 5 | 2010-04-06 Teika Kazura <teika@lavabit.com> |
2 | 6 | * lisp/sawfish/wm/autoload.jl |
3 | 7 | * lisp/sawfish/wm/commands.jl |
@@ -81,11 +81,17 @@ XRANDR_LIBS="" | ||
81 | 81 | XFT_LIBS="" |
82 | 82 | XFT_CFLAGS="" |
83 | 83 | |
84 | +AC_ARG_WITH([xinerama], [AS_HELP_STRING([--with-xinerama], [Include Xinerama support])], [], [with_xinerama=yes]) | |
85 | + | |
86 | +if test "$with_xinerama" != "no"; then | |
87 | + | |
84 | 88 | PKG_CHECK_MODULES(libXineRama, xinerama >= 1.0 |
85 | 89 | ,XINERAMA_LIBS="-lXinerama" |
86 | 90 | AC_DEFINE(HAVE_X11_EXTENSIONS_XINERAMA_H, 1, [Have xinerama]) |
87 | 91 | ,AC_MSG_ERROR([cannot locate libXineRama])) |
88 | 92 | |
93 | +fi | |
94 | + | |
89 | 95 | PKG_CHECK_MODULES(libXRandR, xrandr >= 1.0 |
90 | 96 | ,XRANDR_LIBS="-lXrandr" |
91 | 97 | AC_DEFINE(HAVE_X11_EXTENSIONS_XRANDR_H, 1, [Have xrandr]) |
@@ -135,11 +141,15 @@ XRANDR_LIBS="" | ||
135 | 141 | XFT_LIBS="" |
136 | 142 | XFT_CFLAGS="" |
137 | 143 | |
144 | +if test "$with_xinerama" != "no"; then | |
145 | + | |
138 | 146 | AC_CHECK_LIB(Xinerama, XineramaQueryScreens, |
139 | 147 | [XINERAMA_LIBS="-lXinerama" |
140 | 148 | AC_CHECK_HEADERS(X11/extensions/Xinerama.h)], |
141 | 149 | [],[$X_LIBS -lX11 -lXext]) |
142 | 150 | |
151 | +fi | |
152 | + | |
143 | 153 | AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration, |
144 | 154 | [XRANDR_LIBS="-lXrandr" |
145 | 155 | AC_CHECK_HEADERS(X11/extensions/Xrandr.h, [], [], |
@@ -110,6 +110,8 @@ We now edit the info often, so they are not so much meaningful. | ||
110 | 110 | @item Pressing the lock-button does the state-change of the window |
111 | 111 | accordingly. [Fuchur]@* |
112 | 112 | No theme shipped with Sawfish does have the lock-button yet, though. |
113 | + | |
114 | +@item Make xinerama an optional dependency [original patch from Gentoo] | |
113 | 115 | @end itemize |
114 | 116 | @end itemize |
115 | 117 |