configure.ac revision 492e1cfe
1492e1cfeSmrg
2492e1cfeSmrgdnl  Copyright 2005 Red Hat, Inc.
3492e1cfeSmrgdnl 
4492e1cfeSmrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
5492e1cfeSmrgdnl  documentation for any purpose is hereby granted without fee, provided that
6492e1cfeSmrgdnl  the above copyright notice appear in all copies and that both that
7492e1cfeSmrgdnl  copyright notice and this permission notice appear in supporting
8492e1cfeSmrgdnl  documentation, and that the name of Red Hat not be used in
9492e1cfeSmrgdnl  advertising or publicity pertaining to distribution of the software without
10492e1cfeSmrgdnl  specific, written prior permission.  Red Hat makes no
11492e1cfeSmrgdnl  representations about the suitability of this software for any purpose.  It
12492e1cfeSmrgdnl  is provided "as is" without express or implied warranty.
13492e1cfeSmrgdnl 
14492e1cfeSmrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15492e1cfeSmrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16492e1cfeSmrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17492e1cfeSmrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18492e1cfeSmrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19492e1cfeSmrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20492e1cfeSmrgdnl  PERFORMANCE OF THIS SOFTWARE.
21492e1cfeSmrgdnl
22492e1cfeSmrgdnl Process this file with autoconf to create configure.
23492e1cfeSmrg
24492e1cfeSmrgAC_PREREQ([2.57])
25492e1cfeSmrgAC_INIT(xfd,[1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xfd)
26492e1cfeSmrgAM_INIT_AUTOMAKE([dist-bzip2])
27492e1cfeSmrgAM_MAINTAINER_MODE
28492e1cfeSmrg
29492e1cfeSmrgAM_CONFIG_HEADER(config.h)
30492e1cfeSmrg
31492e1cfeSmrgAC_PROG_CC
32492e1cfeSmrgAC_PROG_INSTALL
33492e1cfeSmrg
34492e1cfeSmrg# Checks for pkg-config packages
35492e1cfeSmrgXAW_CHECK_XPRINT_SUPPORT(XAW)
36492e1cfeSmrg
37492e1cfeSmrgPKG_CHECK_MODULES(ADDITIONAL, freetype2 fontconfig xft)
38492e1cfeSmrg
39492e1cfeSmrgXFD_CFLAGS="$XAW_CFLAGS $ADDITIONAL_CFLAGS"
40492e1cfeSmrgXFD_LIBS="$XAW_LIBS $ADDITIONAL_LIBS"
41492e1cfeSmrg
42492e1cfeSmrgAC_SUBST(XFD_CFLAGS)
43492e1cfeSmrgAC_SUBST(XFD_LIBS)
44492e1cfeSmrg
45492e1cfeSmrg
46492e1cfeSmrgPKG_CHECK_MODULES(APPDEFS, xt)
47492e1cfeSmrgappdefaultdir=$(pkg-config --variable=appdefaultdir xt)
48492e1cfeSmrgAC_SUBST(appdefaultdir)
49492e1cfeSmrg
50492e1cfeSmrgXORG_MANPAGE_SECTIONS
51492e1cfeSmrgXORG_RELEASE_VERSION
52492e1cfeSmrg
53492e1cfeSmrgAC_OUTPUT([Makefile])
54