1 dnl Process this file with autoconf to create configure.
5 AC_INIT([xhost], [1.0.5],
6 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xhost])
7 AC_CONFIG_SRCDIR([Makefile.am])
8 AC_CONFIG_HEADERS([config.h])
11 AM_INIT_AUTOMAKE([foreign dist-bzip2])
14 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
15 m4_ifndef([XORG_MACROS_VERSION],
16 [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
17 XORG_MACROS_VERSION(1.8)
22 # Checks for pkg-config packages
23 # - Both CFLAGS & LIBS needed:
24 PKG_CHECK_MODULES(XHOST, x11 xmuu)
25 # - Only CFLAGS needed, not libs:
26 PKG_CHECK_MODULES(XAU, xau)
28 # Transport selection macro from xtrans.m4
29 XTRANS_CONNECTION_FLAGS
31 # Secure RPC detection macro from xtrans.m4
32 XTRANS_SECURE_RPC_FLAGS