configure.ac revision 7a2631fc
13e747e6dSmrgdnl Copyright 2005 Red Hat, Inc. 23e747e6dSmrgdnl 33e747e6dSmrgdnl Permission to use, copy, modify, distribute, and sell this software and its 43e747e6dSmrgdnl documentation for any purpose is hereby granted without fee, provided that 53e747e6dSmrgdnl the above copyright notice appear in all copies and that both that 63e747e6dSmrgdnl copyright notice and this permission notice appear in supporting 73e747e6dSmrgdnl documentation, and that the name of Red Hat not be used in 83e747e6dSmrgdnl advertising or publicity pertaining to distribution of the software without 93e747e6dSmrgdnl specific, written prior permission. Red Hat makes no 103e747e6dSmrgdnl representations about the suitability of this software for any purpose. It 113e747e6dSmrgdnl is provided "as is" without express or implied warranty. 123e747e6dSmrgdnl 133e747e6dSmrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 143e747e6dSmrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 153e747e6dSmrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 163e747e6dSmrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 173e747e6dSmrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 183e747e6dSmrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 193e747e6dSmrgdnl PERFORMANCE OF THIS SOFTWARE. 203e747e6dSmrgdnl 213e747e6dSmrgdnl Process this file with autoconf to create configure. 223e747e6dSmrg 237a2631fcSmrgAC_PREREQ([2.60]) 247a2631fcSmrgAC_INIT([twm], [1.0.5], 257a2631fcSmrg [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [twm]) 267a2631fcSmrgAM_INIT_AUTOMAKE([foreign dist-bzip2]) 273e747e6dSmrgAM_MAINTAINER_MODE 283e747e6dSmrg 293e747e6dSmrgAM_CONFIG_HEADER(config.h) 303e747e6dSmrg 317a2631fcSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 327a2631fcSmrgm4_ifndef([XORG_MACROS_VERSION], 337a2631fcSmrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 347a2631fcSmrgXORG_MACROS_VERSION(1.8) 357a2631fcSmrgXORG_DEFAULT_OPTIONS 367a2631fcSmrg 373e747e6dSmrgAC_PROG_YACC 387a2631fcSmrgAC_PATH_PROG([YACC_INST], $YACC) 397a2631fcSmrgAC_CHECK_FILE([$srcdir/gram.c], [], 407a2631fcSmrg [test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable to compile gram.y])]) 413e747e6dSmrgAC_PROG_LEX 423e747e6dSmrg 437a2631fcSmrgAC_CHECK_FUNCS([mkstemp]) 443e747e6dSmrg 453e747e6dSmrg# Checks for pkg-config packages 463e747e6dSmrgPKG_CHECK_MODULES(TWM, x11 xext xt xmu ice sm) 473e747e6dSmrg 483e747e6dSmrgAC_OUTPUT([Makefile 493e747e6dSmrg src/Makefile 503e747e6dSmrg man/Makefile]) 51