configure.ac revision 3e747e6d
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
233e747e6dSmrgAC_PREREQ([2.57])
243e747e6dSmrgAC_INIT(twm,[1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],twm)
253e747e6dSmrgAM_INIT_AUTOMAKE([dist-bzip2])
263e747e6dSmrgAM_MAINTAINER_MODE
273e747e6dSmrg
283e747e6dSmrgAM_CONFIG_HEADER(config.h)
293e747e6dSmrg
303e747e6dSmrgAC_PROG_CC
313e747e6dSmrgAC_PROG_INSTALL
323e747e6dSmrgAC_PROG_YACC
333e747e6dSmrgAC_PROG_LEX
343e747e6dSmrg
353e747e6dSmrgAC_CHECK_FUNC([mkstemp], 
363e747e6dSmrg   AC_DEFINE(HAS_MKSTEMP,1,[Define to 1 if you have the `mkstemp' function.]))
373e747e6dSmrg
383e747e6dSmrg# Checks for pkg-config packages
393e747e6dSmrgPKG_CHECK_MODULES(TWM, x11 xext xt xmu ice sm)
403e747e6dSmrgAC_SUBST(TWM_CFLAGS)
413e747e6dSmrgAC_SUBST(TWM_LIBS)
423e747e6dSmrg
433e747e6dSmrgXORG_MANPAGE_SECTIONS
443e747e6dSmrgXORG_RELEASE_VERSION
453e747e6dSmrg
463e747e6dSmrgAC_OUTPUT([Makefile
473e747e6dSmrg	   src/Makefile
483e747e6dSmrg	   man/Makefile])
49