diff options
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e805c93..ff68a86 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,15 @@ AC_CHECK_FUNCS([reallocarray strlcpy]) # Checks for pkg-config packages PKG_CHECK_MODULES(XAUTH, x11 xau xext xmuu xproto >= 7.0.17) +# Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro +# was not expanded, since xauth with no address support is rather broken. +# +# If you're seeing an error here, be sure you installed the lib/xtrans module +# first and if it's not in the default location, that you set the ACLOCAL +# environment variable to find it, such as: +# ACLOCAL="aclocal -I ${PREFIX}/share/aclocal" +m4_pattern_forbid([^XTRANS_CONNECTION_FLAGS$]) + # Transport selection macro from xtrans.m4 # Needed to set *CONN defines for gethost.c & parsedpy.c XTRANS_CONNECTION_FLAGS |