chiark / gitweb /
Script to transform CVS sources into buildable source tree.
[mgLib] / configure.in
CommitLineData
1c48db0c 1dnl -*-fundamental-*-
2dnl
19c0192c 3dnl $Id: configure.in,v 1.5 1999/05/05 18:52:45 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
25dnl License along with mgLib; if not, write to the Free Software
26dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1c48db0c 27
28dnl ----- Revision history --------------------------------------------------
29dnl
30dnl $Log: configure.in,v $
19c0192c 31dnl Revision 1.5 1999/05/05 18:52:45 mdw
32dnl Change licensing conditions to LGPL.
33dnl
8e774312 34dnl Revision 1.4 1999/03/25 23:36:08 mdw
35dnl Compile to nothing in absence of GTK, for the benefit of parent packages
36dnl which contain non-GTK-dependent parts.
37dnl
be43a39d 38dnl Revision 1.3 1999/03/24 22:22:59 mdw
39dnl Remove redundant call to AC_PROG_INSTALL.
40dnl
0f637cc7 41dnl Revision 1.2 1998/12/15 23:48:21 mdw
42dnl Don't need to check for `vsnprintf' any more.
43dnl
1c48db0c 44dnl Revision 1.1 1998/12/11 09:44:21 mdw
45dnl Initial version.
46dnl
47
48AC_INIT(mdwfocus.c)
49AM_INIT_AUTOMAKE(mgLib, 1.0.0)
50
51AC_PROG_CC
52mdw_GCC_FLAGS
53AC_CHECK_PROG(AR, ar, ar)
54AC_PROG_RANLIB
1c48db0c 55
56AM_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
61mdw_OPT_mLib_DEBUG(mgLib)
1c48db0c 62
63AC_OUTPUT(Makefile)
64
65dnl ----- That's all, folks -------------------------------------------------