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