mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-04 23:28:08 +02:00
Issue an error if XTRANS macros were not found when generating configure from configure.ac to flag errors early, instead of when people wonder why libX11 can't talk to an Xserver because it has no transports defined
This commit is contained in:
parent
3eb9f2d693
commit
3e920a65a7
1 changed files with 9 additions and 0 deletions
|
|
@ -36,6 +36,15 @@ AC_SUBST(X11_LIBS)
|
|||
AC_SUBST(XDMCP_CFLAGS)
|
||||
AC_SUBST(XDMCP_LIBS)
|
||||
|
||||
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
|
||||
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"
|
||||
m4_pattern_forbid(XTRANS_CONNECTION_FLAGS)
|
||||
|
||||
# Transport selection macro from xtrans.m4
|
||||
XTRANS_CONNECTION_FLAGS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue