chiark / gitweb /
More Debian fixes.
[mgLib] / configure.in
1 dnl -*-fundamental-*-
2 dnl
3 dnl $Id: configure.in,v 1.10 2002/01/13 14:32:33 mdw Exp $
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
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.
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
22 dnl GNU Library General Public License for more details.
23 dnl 
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
26 dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27 dnl MA 02111-1307, USA.
28
29 dnl ----- Revision history --------------------------------------------------
30 dnl
31 dnl $Log: configure.in,v $
32 dnl Revision 1.10  2002/01/13 14:32:33  mdw
33 dnl Use the correct compiler flags.  Maybe.
34 dnl
35 dnl Revision 1.9  2000/08/15 22:45:56  mdw
36 dnl Whoops.  Use the right library initialization rune.
37 dnl
38 dnl Revision 1.8  2000/08/15 22:40:48  mdw
39 dnl New library configuration stuff from `common'.
40 dnl
41 dnl Revision 1.7  1999/11/11 19:54:37  mdw
42 dnl Prep for standalone release.
43 dnl
44 dnl Revision 1.6  1999/05/06 19:51:48  mdw
45 dnl Reformatted the LGPL notice a little bit.
46 dnl
47 dnl Revision 1.5  1999/05/05 18:52:45  mdw
48 dnl Change licensing conditions to LGPL.
49 dnl
50 dnl Revision 1.4  1999/03/25 23:36:08  mdw
51 dnl Compile to nothing in absence of GTK, for the benefit of parent packages
52 dnl which contain non-GTK-dependent parts.
53 dnl
54 dnl Revision 1.3  1999/03/24 22:22:59  mdw
55 dnl Remove redundant call to AC_PROG_INSTALL.
56 dnl
57 dnl Revision 1.2  1998/12/15 23:48:21  mdw
58 dnl Don't need to check for `vsnprintf' any more.
59 dnl
60 dnl Revision 1.1  1998/12/11 09:44:21  mdw
61 dnl Initial version.
62 dnl
63
64 AC_INIT(mdwfocus.c)
65 mdw_INIT_LIB(mgLib, mgLib, 1.1.0)
66
67 AC_PROG_CC
68 mdw_GCC_FLAGS
69 AM_PROG_LIBTOOL
70
71 mdw_MLIB(1.6.0)
72 AM_PATH_GTK(1.0.0,
73             [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"],
74             [AC_MSG_ERROR([couldn't find GTK])])
75
76 mdw_OPT_mLib_DEBUG(mgLib)
77
78 AC_OUTPUT(Makefile mgLib-config:lib-config.in)
79
80 dnl ----- That's all, folks -------------------------------------------------