configure.ac revision 3544ea2e
13544ea2eSmrgdnl Process this file with autoconf to create configure. 264ce7165Smrg 33544ea2eSmrg# Initialize Autoconf 4169a0819SmrgAC_PREREQ([2.60]) 53544ea2eSmrgAC_INIT([xhost], [1.0.5], 6169a0819Smrg [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xhost]) 73544ea2eSmrgAC_CONFIG_SRCDIR([Makefile.am]) 83544ea2eSmrgAC_CONFIG_HEADERS([config.h]) 93544ea2eSmrg 103544ea2eSmrg# Initialize Automake 11169a0819SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2]) 1264ce7165SmrgAM_MAINTAINER_MODE 1364ce7165Smrg 14169a0819Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 15fb23d3a8Smrgm4_ifndef([XORG_MACROS_VERSION], 16169a0819Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 17169a0819SmrgXORG_MACROS_VERSION(1.8) 183544ea2eSmrgXORG_DEFAULT_OPTIONS 1964ce7165Smrg 2064ce7165SmrgAC_TYPE_SIGNAL 2164ce7165Smrg 2264ce7165Smrg# Checks for pkg-config packages 233544ea2eSmrg# - Both CFLAGS & LIBS needed: 243544ea2eSmrgPKG_CHECK_MODULES(XHOST, x11 xmuu) 253544ea2eSmrg# - Only CFLAGS needed, not libs: 263544ea2eSmrgPKG_CHECK_MODULES(XAU, xau) 2764ce7165Smrg 2864ce7165Smrg# Transport selection macro from xtrans.m4 2964ce7165SmrgXTRANS_CONNECTION_FLAGS 3064ce7165Smrg 3164ce7165Smrg# Secure RPC detection macro from xtrans.m4 3264ce7165SmrgXTRANS_SECURE_RPC_FLAGS 3364ce7165Smrg 343544ea2eSmrgAC_CONFIG_FILES([ 353544ea2eSmrg Makefile 363544ea2eSmrg man/Makefile]) 373544ea2eSmrgAC_OUTPUT 38