mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-08 13:48:04 +02:00
Make Xdmcp unconditionally required, require various protocol modules.
Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> Check for kbproto if using XKB. Require xextproto rather than xextensions Remove the entries from the xlibs tree, as they are not relevant here.
This commit is contained in:
parent
8bd3aea84c
commit
23198d2bfb
5 changed files with 16 additions and 13 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-05-16 <ssp@aware-of-vacuity.boston.redhat.com>
|
||||
|
||||
* configure.ac: Make Xdmcp unconditionally required, require various
|
||||
protocol modules.
|
||||
|
||||
Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* configure.ac: Check for kbproto if using XKB.
|
||||
|
|
|
|||
11
configure.ac
11
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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 <transport.c>
|
||||
#include <X11/transport.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 <transport.c>
|
||||
#include <X11/transport.c>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue