Debianization fixes.
[xtoys] / configure.in
CommitLineData
b812a988 1dnl -*-m4-*-
90b2c5d4 2dnl
b812a988 3dnl $Id: configure.in,v 1.15 2003/11/29 23:49:42 mdw Exp $
90b2c5d4 4dnl
5dnl Configuration script for X tools
6dnl
7dnl (c) 1998 Straylight/Edgeware
8dnl
9
10dnl ----- Licensing notice --------------------------------------------------
11dnl
12dnl This file is part of the Edgeware X tools collection.
13dnl
14dnl X tools is free software; you can redistribute it and/or modify
15dnl it under the terms of the GNU General Public License as published by
16dnl the Free Software Foundation; either version 2 of the License, or
17dnl (at your option) any later version.
18dnl
19dnl X tools is distributed in the hope that it will be useful,
20dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
21dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22dnl GNU General Public License for more details.
23dnl
24dnl You should have received a copy of the GNU General Public License
25dnl along with X tools; if not, write to the Free Software Foundation,
26dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
28dnl ----- Revision history --------------------------------------------------
29dnl
30dnl $Log: configure.in,v $
b812a988 31dnl Revision 1.15 2003/11/29 23:49:42 mdw
32dnl Debianization fixes.
33dnl
d5419f6c 34dnl Revision 1.14 1999/11/11 19:50:13 mdw
35dnl Build separately from libraries.
36dnl
90fea909 37dnl Revision 1.13 1999/08/20 07:32:00 mdw
38dnl Version bump.
39dnl
f227ff28 40dnl Revision 1.12 1999/05/19 20:41:15 mdw
41dnl Track gratuitous change in mdwopt interface.
42dnl
3d144660 43dnl Revision 1.11 1999/03/25 23:37:21 mdw
44dnl Remove absolute dependence on GTK.
45dnl
6ea3abd3 46dnl Revision 1.10 1999/03/24 22:23:00 mdw
47dnl Remove redundant call to AC_PROG_INSTALL.
48dnl
07ba26fa 49dnl Revision 1.7 1998/12/15 23:46:24 mdw
50dnl Add `xcatch', and rearrange so that the GTK-based programs are only
51dnl mentioned in the Makefile.
52dnl
6930fe78 53dnl Revision 1.6 1998/12/11 09:50:38 mdw
54dnl Recursively build and configure mLib and mgLib.
55dnl
642e1d68 56dnl Revision 1.4 1998/11/21 22:27:42 mdw
57dnl Support library building in Makefile. Bump patchlevel.
58dnl
a776bc6b 59dnl Revision 1.3 1998/11/19 12:48:19 mdw
60dnl Don't bother with AC_ARG_PROGRAM any more.
61dnl
90b2c5d4 62dnl Revision 1.1 1998/11/16 23:00:49 mdw
63dnl Initial versions.
64dnl
65
66AC_INIT(xwait.c)
d5419f6c 67AM_INIT_AUTOMAKE(xtoys, 1.3.0)
90b2c5d4 68AC_PROG_CC
69mdw_GCC_FLAGS
90b2c5d4 70
d5419f6c 71mdw_MLIB(1.6.0)
72mdw_MGLIB(1.1.0, mgLib=yes, mgLib=no)
90b2c5d4 73
d5419f6c 74if test $mgLib = yes; then
75 AM_PATH_GTK(1.0.0,
76 [CFLAGS="$CFLAGS $MGLIB_CFLAGS $GTK_CFLAGS"
77 GTK_PROGS='$(GTK_PROGS)'],
78 [AC_MSG_ERROR([GTK not found or too old.])])
79fi
80
81AC_SUBST(GTK_PROGS)
90b2c5d4 82AC_PATH_XTRA
83CFLAGS="$CFLAGS $X_CFLAGS"
84
85AC_OUTPUT(Makefile)
86
87dnl ----- That's all, folks -------------------------------------------------