chiark / gitweb /
Initial version.
[mgLib] / configure.in
1 dnl -*-fundamental-*-
2 dnl
3 dnl $Id: configure.in,v 1.1 1998/12/11 09:44:21 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 General Public License as published by
16 dnl the Free Software Foundation; either version 2 of the License, or
17 dnl (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 General Public License for more details.
23 dnl 
24 dnl You should have received a copy of the GNU General Public License
25 dnl along with mgLib; if not, write to the Free Software Foundation,
26 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
28 dnl ----- Revision history --------------------------------------------------
29 dnl
30 dnl $Log: configure.in,v $
31 dnl Revision 1.1  1998/12/11 09:44:21  mdw
32 dnl Initial version.
33 dnl
34
35 AC_INIT(mdwfocus.c)
36 AM_INIT_AUTOMAKE(mgLib, 1.0.0)
37
38 AC_PROG_CC
39 mdw_GCC_FLAGS
40 AC_CHECK_PROG(AR, ar, ar)
41 AC_PROG_RANLIB
42 AC_PROG_INSTALL
43
44 AM_PATH_GTK(1.0.0,
45             [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"],
46             [AC_MSG_ERROR([couldn't find GTK])])
47
48 mdw_OPT_mLib_DEBUG(mgLib)
49 AC_CHECK_FUNCS(vsnprintf)
50
51 AC_OUTPUT(Makefile)
52
53 dnl ----- That's all, folks -------------------------------------------------