b812a988 |
1 | dnl -*-m4-*- |
90b2c5d4 |
2 | dnl |
47747dbe |
3 | dnl $Id: configure.in,v 1.16 2004/04/08 01:36:29 mdw Exp $ |
90b2c5d4 |
4 | dnl |
5 | dnl Configuration script for X tools |
6 | dnl |
7 | dnl (c) 1998 Straylight/Edgeware |
8 | dnl |
9 | |
10 | dnl ----- Licensing notice -------------------------------------------------- |
11 | dnl |
12 | dnl This file is part of the Edgeware X tools collection. |
13 | dnl |
14 | dnl X tools is free software; you can redistribute it and/or modify |
15 | dnl it under the terms of the GNU General Public License as published by |
16 | dnl the Free Software Foundation; either version 2 of the License, or |
17 | dnl (at your option) any later version. |
18 | dnl |
19 | dnl X tools is distributed in the hope that it will be useful, |
20 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22 | dnl GNU General Public License for more details. |
23 | dnl |
24 | dnl You should have received a copy of the GNU General Public License |
25 | dnl along with X tools; if not, write to the Free Software Foundation, |
26 | dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
27 | |
90b2c5d4 |
28 | AC_INIT(xwait.c) |
d5419f6c |
29 | AM_INIT_AUTOMAKE(xtoys, 1.3.0) |
90b2c5d4 |
30 | AC_PROG_CC |
31 | mdw_GCC_FLAGS |
90b2c5d4 |
32 | |
d5419f6c |
33 | mdw_MLIB(1.6.0) |
34 | mdw_MGLIB(1.1.0, mgLib=yes, mgLib=no) |
90b2c5d4 |
35 | |
d5419f6c |
36 | if test $mgLib = yes; then |
37 | AM_PATH_GTK(1.0.0, |
38 | [CFLAGS="$CFLAGS $MGLIB_CFLAGS $GTK_CFLAGS" |
39 | GTK_PROGS='$(GTK_PROGS)'], |
40 | [AC_MSG_ERROR([GTK not found or too old.])]) |
41 | fi |
42 | |
43 | AC_SUBST(GTK_PROGS) |
90b2c5d4 |
44 | AC_PATH_XTRA |
45 | CFLAGS="$CFLAGS $X_CFLAGS" |
46 | |
47 | AC_OUTPUT(Makefile) |
48 | |
49 | dnl ----- That's all, folks ------------------------------------------------- |