From 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 Mon Sep 17 00:00:00 2001 From: Date: Mon, 16 May 2005 22:35:27 +0000 Subject: [PATCH] =?UTF-8?q?Make=20Xdmcp=20unconditionally=20required,=20re?= =?UTF-8?q?quire=20various=20protocol=20modules.=20Mon=20May=2016=2017:48:?= =?UTF-8?q?03=202005=20S=C3=B8ren=20Sandmann=20=20Che?= =?UTF-8?q?ck=20for=20kbproto=20if=20using=20XKB.=20Require=20xextproto=20?= =?UTF-8?q?rather=20than=20xextensions=20Remove=20the=20entries=20from=20t?= =?UTF-8?q?he=20xlibs=20tree,=20as=20they=20are=20not=20relevant=20here.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 5 +++++ configure.ac | 11 ++--------- nls/Makefile.am | 5 +++++ src/x11_trans.c | 4 ++-- src/xim_trans.c | 4 ++-- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index f8a5106f..cc3026ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-16 + + * configure.ac: Make Xdmcp unconditionally required, require various + protocol modules. + Mon May 16 17:48:03 2005 Søren Sandmann * configure.ac: Check for kbproto if using XKB. diff --git a/configure.ac b/configure.ac index 47e3da9f..0acbcbb2 100644 --- a/configure.ac +++ b/configure.ac @@ -22,8 +22,7 @@ PKG_CHECK_MODULES(BIGREQS, bigreqsproto) AC_SUBST(BIGREQS_CFLAGS) AC_SUBST(BIGREQS_LIBS) -PKG_CHECK_MODULES(X11, xextproto xtrans xau) -PKG_CHECK_MODULES(XDMCP, xdmcp, [xdmauth="yes"], [xdmauth="no"]) +PKG_CHECK_MODULES(X11, xextproto xtrans xau xcmiscproto xdmcp) AC_SUBST(X11_CFLAGS) AC_SUBST(X11_LIBS) @@ -98,19 +97,13 @@ esac AC_SUBST(XTHREADS) AC_SUBST(XUSE_MTSAFE_API) -if test "x$xdmauth" = "xyes"; then -echo checking dmcp AC_CHECK_LIB(Xdmcp, XdmcpWrap, [xdmauth="yes"], [xdmauth="no"], [$XDMCP_LIBS]) -fi case x$xdmauth in xyes) - echo setting flags XDMCP_CFLAGS="$XDMCP_CFLAGS -DHASXDMAUTH" ;; xno) - echo unsetting flags - XDMCP_CFLAGS="" XDMCP_LIBS="" ;; esac @@ -181,7 +174,7 @@ fi AM_CONDITIONAL(XKB, [ test x$XKB = xyes ]) if test "$XKB" = yes; then - PKG_CHECK_MODULES(XKBPROTO, kbproto) + PKG_CHECK_MODULES(XKBPROTO, kbproto inputproto) AC_DEFINE(XKB, YES, [Use XKB]) X11_CFLAGS="$X11_CFLAGS $XKBPROTO_CFLAGS" X11_LIBS="$X11_LIBS $XKBPROTO_LIBS" diff --git a/nls/Makefile.am b/nls/Makefile.am index a01b5cd4..f0c3eb91 100644 --- a/nls/Makefile.am +++ b/nls/Makefile.am @@ -69,3 +69,8 @@ locale.alias: locale.alias.pre $(CPP) -traditional -DXCOMM='#' - < $< > locale.alias.l1 sed -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \ < locale.alias.l1 > locale.alias + +compose.dir: compose.dir.pre + $(CPP) -traditional -DXCOMM='#' - < $< > compose.dir.l1 + sed -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \ + < compose.dir.l1 > compose.dir diff --git a/src/x11_trans.c b/src/x11_trans.c index d6bf5856..fa4d0664 100644 --- a/src/x11_trans.c +++ b/src/x11_trans.c @@ -1,5 +1,5 @@ /* - * $Id: x11_trans.c,v 3.3 2003/11/01 00:33:15 anholt Exp $ + * $Id: x11_trans.c,v 1.1 2005/05/13 22:53:43 sandmann Exp $ * * Copyright © 2003 Keith Packard * @@ -28,5 +28,5 @@ #define X11_t #define TRANS_CLIENT -#include +#include diff --git a/src/xim_trans.c b/src/xim_trans.c index 8a9030fe..af7f8bb2 100644 --- a/src/xim_trans.c +++ b/src/xim_trans.c @@ -1,5 +1,5 @@ /* - * $Id: xim_trans.c,v 3.2 2003/09/26 21:07:29 keithp Exp $ + * $Id: xim_trans.c,v 1.1 2005/05/13 22:53:43 sandmann Exp $ * * Copyright © 2003 Keith Packard * @@ -25,4 +25,4 @@ #define XIM_t #define TRANS_CLIENT -#include +#include