Commit 4b2f5ba1 authored by Alan Coopersmith's avatar Alan Coopersmith

Use macros from xtrans.m4, issue error if not found.

parent 733a6d7a
2005-09-02 Alan Coopersmith <>
Use macros from xtrans.m4, issue error if not found.
2005-09-02 Daniel Stone <>
* GL/mesa/X/
......@@ -244,11 +244,20 @@ AC_ARG_ENABLE(xnest, AS_HELP_STRING([--enable-xnest], [Build Xnest serv
AC_ARG_ENABLE(xwin, AS_HELP_STRING([--enable-xwin], [Build XWin server (default: auto)]), [XWIN=$enableval], [XWIN=auto])
AC_ARG_ENABLE(xprint, AS_HELP_STRING([--enable-xprint], [Build Xprint extension and server (default: auto)]), [XPRINT=$enableval], [XPRINT=auto])
dnl Transport selection
AC_ARG_ENABLE(unix-transport,[ --disable-unix-transport ], [UNIXCONN=$enableval], [UNIXCONN=yes])
AC_ARG_ENABLE(tcp-transport, [ --disable-tcp-transport ], [TCPCONN=$enableval], [TCPCONN=yes])
AC_ARG_ENABLE(ipv6, [ --disable-ipv6 ], [IPV6CONN=$enableval], [IPV6CONN=yes])
dnl Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
dnl was not expanded, since libX11 with no transport types is rather useless.
dnl If you're seeing an error here, be sure you installed the lib/xtrans module
dnl first and if it's not in the default location, that you set the ACLOCAL
dnl environment variable to find it, such as:
dnl ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
# Transport selection macro from xtrans.m4
# Secure RPC detection macro from xtrans.m4
AM_CONDITIONAL(INT10_VM86, [test "x$INT10" = xvm86])
AM_CONDITIONAL(INT10_X86EMU, [test "x$INT10" = xx86emu])
......@@ -258,16 +267,6 @@ if test "x$INT10" = xyes; then
AC_CHECK_HEADERS([sys/vm86.h sys/io.h])
if test "x$UNIXCONN" = xyes; then
AC_DEFINE(UNIXCONN, 1, [Support UNIX socket connections])
if test "x$TCPCONN" = xyes; then
AC_DEFINE(TCPCONN, 1, [Support TCP socket connections])
if test "x$IPV6CONN" = xyes; then
AC_DEFINE(IPv6, 1, [Support IPv6 for TCP connections])
dnl ---------------------------------------------------------------------------
dnl Extension section
dnl ---------------------------------------------------------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment