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