diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-03-12 17:15:50 -0800 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-03-12 17:15:50 -0800 |
commit | 5e0cfa84bec3e04f3a1991baaa29da09c7c4a02c (patch) | |
tree | f1d42aee2ab75d61d21e88eb1d1f6e82fef99fb3 /configure.ac | |
parent | d69c403cba9bdebd1bd41b62ae7e28f5852248d4 (diff) |
Use libXdmcp, if available with XdmcpWrap, for XDM-AUTHORIZATION-1. Closes bug #6106.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b022b4c..f445683 100644 --- a/configure.ac +++ b/configure.ac @@ -38,6 +38,17 @@ PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 0.9) PKG_CHECK_MODULES(XPROTO, xproto) PKG_CHECK_MODULES(XAU, xau) +PKG_CHECK_MODULES(XDMCP, xdmcp, + AC_CHECK_LIB(Xdmcp, XdmcpWrap, + [ + AC_DEFINE(HASXDMAUTH,1,[Has Wraphelp.c needed for XDM AUTH protocols]) + ], + [ + XDMCP_CFLAGS= + XDMCP_LIBS= + ], [$XDMCP_LIBS]), + [AC_MSG_RESULT(no)]) + # Find the xcb-proto protocol descriptions AC_MSG_CHECKING(XCBPROTO_XCBINCLUDEDIR) XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto` |