Change build structure a bit: put common code in a library.
[xtoys] / configure.in
CommitLineData
90b2c5d4 1dnl -*-fundamental-*-
2dnl
a776bc6b 3dnl $Id: configure.in,v 1.3 1998/11/19 12:48:19 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 $
a776bc6b 31dnl Revision 1.3 1998/11/19 12:48:19 mdw
32dnl Don't bother with AC_ARG_PROGRAM any more.
33dnl
e7e1c5f2 34dnl Revision 1.2 1998/11/18 21:25:39 mdw
35dnl Change version number.
36dnl
90b2c5d4 37dnl Revision 1.1 1998/11/16 23:00:49 mdw
38dnl Initial versions.
39dnl
40
41AC_INIT(xwait.c)
e7e1c5f2 42AM_INIT_AUTOMAKE(xtoys, 1.0.1)
90b2c5d4 43AC_PROG_CC
44mdw_GCC_FLAGS
45AC_PROG_INSTALL
90b2c5d4 46
47AM_PATH_GTK(1.0.0,
48 [CFLAGS="$CFLAGS $GTK_CFLAGS"
49 GTK_PROGS="xgetline xshutdown"],
50 [AC_MSG_WARN([You appear not to have GTK.])
51 GTK_PROGS=""])
52AC_SUBST(GTK_PROGS)
53
54AC_PATH_XTRA
55CFLAGS="$CFLAGS $X_CFLAGS"
56
57AC_OUTPUT(Makefile)
58
59dnl ----- That's all, folks -------------------------------------------------