Use `libtool' to generate a shared library.
[mLib] / configure.in
CommitLineData
0875b58f 1dnl -*-fundamental-*-
2dnl
c7f30b36 3dnl $Id: configure.in,v 1.19 1999/11/11 18:47:33 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 $
c7f30b36 32dnl Revision 1.19 1999/11/11 18:47:33 mdw
33dnl Use `libtool' to generate a shared library.
34dnl
ae24fcf7 35dnl Revision 1.18 1999/11/11 17:48:28 mdw
36dnl New configuration system for library clients.
37dnl
685b7e3e 38dnl Revision 1.17 1999/10/04 21:48:50 mdw
39dnl Find libraries for standalone name resolver server.
f7d7caed 40dnl
8f207948 41dnl Revision 1.14 1999/07/06 19:18:47 mdw
42dnl Handle new manual page directory.
43dnl
f45c2e72 44dnl Revision 1.11 1999/05/21 22:11:20 mdw
45dnl Omitted version number changes from change log. Changed version
46dnl number. ;-)
0411cfed 47dnl
f44135a0 48dnl Revision 1.8 1999/05/14 21:08:56 mdw
49dnl Bump version number to 1.3, to celebrate adding in the `select'
50dnl routines.
51dnl
0bd98442 52dnl Revision 1.6 1999/05/06 19:51:35 mdw
53dnl Reformatted the LGPL notice a little bit.
54dnl
c846879c 55dnl Revision 1.5 1999/05/05 18:50:31 mdw
56dnl Change licensing conditions to LGPL.
57dnl
46b7bcaa 58dnl Revision 1.4 1999/03/24 22:22:57 mdw
59dnl Remove redundant call to AC_PROG_INSTALL.
60dnl
9085749a 61dnl Revision 1.3 1998/12/15 23:52:42 mdw
62dnl Reordered and tidied.
63dnl
7989bb45 64dnl Revision 1.1.1.1 1998/06/17 23:44:42 mdw
65dnl Initial version of mLib
0875b58f 66dnl
67
0875b58f 68AC_INIT(exc.c)
c7f30b36 69AM_INIT_AUTOMAKE(mLib, 1.6.0)
0875b58f 70
71AC_PROG_CC
9085749a 72AC_CHECK_PROG(AR, ar, ar)
c7f30b36 73AM_PROG_LIBTOOL
74mdw_GCC_FLAGS
0875b58f 75
685b7e3e 76mdw_CHECK_MANYLIBS(socket, socket)
77mdw_CHECK_MANYLIBS(gethostbyname, nsl resolv)
78
0875b58f 79mdw_OPT_mLib_DEBUG(mLib)
80
ae24fcf7 81AC_OUTPUT(Makefile mLib-config man/Makefile)