chiark / gitweb /
More Debian fixes.
[mgLib] / configure.in
CommitLineData
1c48db0c 1dnl -*-fundamental-*-
2dnl
fbfeb09d 3dnl $Id: configure.in,v 1.10 2002/01/13 14:32:33 mdw Exp $
1c48db0c 4dnl
5dnl Configuration script for mgLib
6dnl
7dnl (c) 1998 Straylight/Edgeware
8dnl
9
10dnl ----- Licensing notice --------------------------------------------------
11dnl
12dnl This file is part of the mgLib GTK utilities library.
13dnl
14dnl mgLib is free software; you can redistribute it and/or modify
19c0192c 15dnl it under the terms of the GNU Library General Public License as
16dnl published by the Free Software Foundation; either version 2 of the
17dnl License, or (at your option) any later version.
1c48db0c 18dnl
19dnl mgLib 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
19c0192c 22dnl GNU Library General Public License for more details.
1c48db0c 23dnl
19c0192c 24dnl You should have received a copy of the GNU Library General Public
e962a3e2 25dnl License along with mgLib; if not, write to the Free
26dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27dnl MA 02111-1307, USA.
1c48db0c 28
29dnl ----- Revision history --------------------------------------------------
30dnl
31dnl $Log: configure.in,v $
fbfeb09d 32dnl Revision 1.10 2002/01/13 14:32:33 mdw
33dnl Use the correct compiler flags. Maybe.
34dnl
cc21a004 35dnl Revision 1.9 2000/08/15 22:45:56 mdw
36dnl Whoops. Use the right library initialization rune.
37dnl
3eb2b65a 38dnl Revision 1.8 2000/08/15 22:40:48 mdw
39dnl New library configuration stuff from `common'.
40dnl
ff3a8b71 41dnl Revision 1.7 1999/11/11 19:54:37 mdw
42dnl Prep for standalone release.
43dnl
e962a3e2 44dnl Revision 1.6 1999/05/06 19:51:48 mdw
45dnl Reformatted the LGPL notice a little bit.
46dnl
19c0192c 47dnl Revision 1.5 1999/05/05 18:52:45 mdw
48dnl Change licensing conditions to LGPL.
49dnl
8e774312 50dnl Revision 1.4 1999/03/25 23:36:08 mdw
51dnl Compile to nothing in absence of GTK, for the benefit of parent packages
52dnl which contain non-GTK-dependent parts.
53dnl
be43a39d 54dnl Revision 1.3 1999/03/24 22:22:59 mdw
55dnl Remove redundant call to AC_PROG_INSTALL.
56dnl
0f637cc7 57dnl Revision 1.2 1998/12/15 23:48:21 mdw
58dnl Don't need to check for `vsnprintf' any more.
59dnl
1c48db0c 60dnl Revision 1.1 1998/12/11 09:44:21 mdw
61dnl Initial version.
62dnl
63
64AC_INIT(mdwfocus.c)
cc21a004 65mdw_INIT_LIB(mgLib, mgLib, 1.1.0)
1c48db0c 66
67AC_PROG_CC
fbfeb09d 68mdw_GCC_FLAGS
ff3a8b71 69AM_PROG_LIBTOOL
1c48db0c 70
ff3a8b71 71mdw_MLIB(1.6.0)
1c48db0c 72AM_PATH_GTK(1.0.0,
ff3a8b71 73 [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"],
74 [AC_MSG_ERROR([couldn't find GTK])])
1c48db0c 75
76mdw_OPT_mLib_DEBUG(mgLib)
1c48db0c 77
3eb2b65a 78AC_OUTPUT(Makefile mgLib-config:lib-config.in)
1c48db0c 79
80dnl ----- That's all, folks -------------------------------------------------