1c48db0c |
1 | dnl -*-fundamental-*- |
2 | dnl |
19c0192c |
3 | dnl $Id: configure.in,v 1.5 1999/05/05 18:52:45 mdw Exp $ |
1c48db0c |
4 | dnl |
5 | dnl Configuration script for mgLib |
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 mgLib GTK utilities library. |
13 | dnl |
14 | dnl mgLib is free software; you can redistribute it and/or modify |
19c0192c |
15 | dnl it under the terms of the GNU Library General Public License as |
16 | dnl published by the Free Software Foundation; either version 2 of the |
17 | dnl License, or (at your option) any later version. |
1c48db0c |
18 | dnl |
19 | dnl mgLib 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 |
19c0192c |
22 | dnl GNU Library General Public License for more details. |
1c48db0c |
23 | dnl |
19c0192c |
24 | dnl You should have received a copy of the GNU Library General Public |
25 | dnl License along with mgLib; if not, write to the Free Software |
26 | dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
1c48db0c |
27 | |
28 | dnl ----- Revision history -------------------------------------------------- |
29 | dnl |
30 | dnl $Log: configure.in,v $ |
19c0192c |
31 | dnl Revision 1.5 1999/05/05 18:52:45 mdw |
32 | dnl Change licensing conditions to LGPL. |
33 | dnl |
8e774312 |
34 | dnl Revision 1.4 1999/03/25 23:36:08 mdw |
35 | dnl Compile to nothing in absence of GTK, for the benefit of parent packages |
36 | dnl which contain non-GTK-dependent parts. |
37 | dnl |
be43a39d |
38 | dnl Revision 1.3 1999/03/24 22:22:59 mdw |
39 | dnl Remove redundant call to AC_PROG_INSTALL. |
40 | dnl |
0f637cc7 |
41 | dnl Revision 1.2 1998/12/15 23:48:21 mdw |
42 | dnl Don't need to check for `vsnprintf' any more. |
43 | dnl |
1c48db0c |
44 | dnl Revision 1.1 1998/12/11 09:44:21 mdw |
45 | dnl Initial version. |
46 | dnl |
47 | |
48 | AC_INIT(mdwfocus.c) |
49 | AM_INIT_AUTOMAKE(mgLib, 1.0.0) |
50 | |
51 | AC_PROG_CC |
52 | mdw_GCC_FLAGS |
53 | AC_CHECK_PROG(AR, ar, ar) |
54 | AC_PROG_RANLIB |
1c48db0c |
55 | |
56 | AM_PATH_GTK(1.0.0, |
8e774312 |
57 | [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS" |
58 | AC_DEFINE(HAVE_GTK)], |
59 | [AC_MSG_WARN([couldn't find GTK])]) |
1c48db0c |
60 | |
61 | mdw_OPT_mLib_DEBUG(mgLib) |
1c48db0c |
62 | |
63 | AC_OUTPUT(Makefile) |
64 | |
65 | dnl ----- That's all, folks ------------------------------------------------- |