chiark / gitweb /
Remove memory leak.
[mLib] / configure.in
CommitLineData
0875b58f 1dnl -*-fundamental-*-
2dnl
9df1e210 3dnl $Id: configure.in,v 1.32 2003/05/16 00:26:22 mdw Exp $
0875b58f 4dnl
5dnl Configuration script for mLib
6dnl
7dnl (c) 1998 Straylight/Edgeware
8dnl
9
10dnl ----- Licensing notice --------------------------------------------------
11dnl
12dnl This file is part of the mLib utilities library.
13dnl
14dnl mLib is free software; you can redistribute it and/or modify
c846879c 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.
18dnl
0875b58f 19dnl mLib 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
c846879c 22dnl GNU Library General Public License for more details.
23dnl
24dnl You should have received a copy of the GNU Library General Public
0bd98442 25dnl License along with mLib; if not, write to the Free
26dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27dnl MA 02111-1307, USA.
0875b58f 28
29dnl ----- Revision history --------------------------------------------------
30dnl
31dnl $Log: configure.in,v $
9df1e210 32dnl Revision 1.32 2003/05/16 00:26:22 mdw
8a97bb20 33dnl Version bump.
34dnl
c3b137c8 35dnl Revision 1.30 2003/04/23 12:50:30 mdw
36dnl New manpage installer.
37dnl
5d45633f 38dnl Revision 1.29 2001/06/22 19:34:07 mdw
39dnl Find out whether @<float.h>@ exists (hack for uC-Linux).
40dnl
335577d0 41dnl Revision 1.28 2000/10/08 11:07:55 mdw
42dnl Define a constant to tell @mdwopt@ that @str_qword@ is available.
43dnl Reinstate the `-pedantic' option to GCC.
44dnl
37e8702c 45dnl Revision 1.27 2000/08/15 21:39:13 mdw
46dnl New library configuration stuff from `common'.
34eeea53 47dnl
6fe600df 48dnl Revision 1.25 2000/07/16 18:57:42 mdw
49dnl Version bump. Change compiler flags.
8d4ae8c7 50dnl
c7f30b36 51dnl Revision 1.19 1999/11/11 18:47:33 mdw
52dnl Use `libtool' to generate a shared library.
53dnl
ae24fcf7 54dnl Revision 1.18 1999/11/11 17:48:28 mdw
55dnl New configuration system for library clients.
56dnl
685b7e3e 57dnl Revision 1.17 1999/10/04 21:48:50 mdw
58dnl Find libraries for standalone name resolver server.
f7d7caed 59dnl
8f207948 60dnl Revision 1.14 1999/07/06 19:18:47 mdw
61dnl Handle new manual page directory.
62dnl
f45c2e72 63dnl Revision 1.11 1999/05/21 22:11:20 mdw
64dnl Omitted version number changes from change log. Changed version
65dnl number. ;-)
0411cfed 66dnl
f44135a0 67dnl Revision 1.8 1999/05/14 21:08:56 mdw
68dnl Bump version number to 1.3, to celebrate adding in the `select'
69dnl routines.
70dnl
0bd98442 71dnl Revision 1.6 1999/05/06 19:51:35 mdw
72dnl Reformatted the LGPL notice a little bit.
73dnl
c846879c 74dnl Revision 1.5 1999/05/05 18:50:31 mdw
75dnl Change licensing conditions to LGPL.
76dnl
46b7bcaa 77dnl Revision 1.4 1999/03/24 22:22:57 mdw
78dnl Remove redundant call to AC_PROG_INSTALL.
79dnl
9085749a 80dnl Revision 1.3 1998/12/15 23:52:42 mdw
81dnl Reordered and tidied.
82dnl
7989bb45 83dnl Revision 1.1.1.1 1998/06/17 23:44:42 mdw
84dnl Initial version of mLib
0875b58f 85dnl
86
0875b58f 87AC_INIT(exc.c)
9df1e210 88mdw_INIT_LIB(mLib, mLib, 2.0.0)
0875b58f 89
90AC_PROG_CC
c7f30b36 91AM_PROG_LIBTOOL
335577d0 92mdw_GCC_FLAGS
c3b137c8 93mdw_MANEXT
0875b58f 94
5d45633f 95AC_CHECK_HEADERS(float.h)
96
685b7e3e 97mdw_CHECK_MANYLIBS(socket, socket)
98mdw_CHECK_MANYLIBS(gethostbyname, nsl resolv)
99
335577d0 100AC_DEFINE(BUILDING_MLIB)
0875b58f 101mdw_OPT_mLib_DEBUG(mLib)
102
37e8702c 103AC_OUTPUT(Makefile man/Makefile mLib-config:lib-config.in)