Updates for new configuration system, and `mptypes' generator.
[u/mdw/catacomb] / configure.in
1 dnl -*-fundamental-*-
2 dnl
3 dnl $Id: configure.in,v 1.5 1999/11/11 17:47:34 mdw Exp $
4 dnl
5 dnl Autoconfiguration for Catacomb
6 dnl
7 dnl (c) 1999 Straylight/Edgeware
8 dnl
9
10 dnl ----- Licensing notice --------------------------------------------------
11 dnl
12 dnl This file is part of Catacomb.
13 dnl
14 dnl Catacomb is free software; you can redistribute it and/or modify
15 dnl it under the terms of the GNU Library General Public License as
16 dnl published by the Free Software Foundation; either version 2 of the
17 dnl License, or (at your option) any later version.
18 dnl
19 dnl Catacomb 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 Library General Public License for more details.
23 dnl
24 dnl You should have received a copy of the GNU Library General Public
25 dnl License along with Catacomb; if not, write to the Free
26 dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27 dnl MA 02111-1307, USA.
28
29 dnl ----- Revision history --------------------------------------------------
30 dnl
31 dnl $Log: configure.in,v $
32 dnl Revision 1.5 1999/11/11 17:47:34 mdw
33 dnl Updates for new configuration system, and `mptypes' generator.
34 dnl
35 dnl Revision 1.5 1999/11/11 17:47:34 mdw
36 dnl Updates for new configuration system, and `mptypes' generator.
37 dnl
38 dnl Revision 1.4 1999/11/11 00:58:19 mdw
39 dnl Use canned check for `ssize_t'.
40 dnl
41 dnl Revision 1.3 1999/10/24 10:20:36 mdw
42 dnl Modify for standalone distribution. The library's getting far too large
43 dnl to be sensibly embedded in other programs.
44 dnl
45 dnl Revision 1.2 1999/10/23 12:56:25 mdw
46 dnl Version number change.
47 dnl
48 dnl Revision 1.1 1999/09/03 08:41:11 mdw
49 dnl Initial import.
50 dnl
51
52 dnl --- Boring boilerplate ---
53
54 AC_INIT(blkc.h)
55 AM_INIT_AUTOMAKE(catacomb, 1.0.0pre2)
56 AM_CONFIG_HEADER(config.h)
57
58 dnl --- Make sure I can compile and build libraries ---
59
60 AC_PROG_CC
61 mdw_GCC_FLAGS
62 AC_CHECK_PROG(AR, ar, ar)
63 AC_PROG_RANLIB
64 mdw_MLIB
65
66 AC_PROG_YACC
67
68 dnl --- Actually, I assume these exist anyway ---
69
70 AC_CHECK_HEADERS(unistd.h)
71 AC_HEADER_STDC
72
73 dnl --- Check for various important system types ---
74
75 AC_TYPE_PID_T
76 AC_TYPE_SIZE_T
77 AC_TYPE_UID_T
78 AC_CHECK_TYPE(time_t, long)
79 mdw_TYPE_SSIZE_T
80
81 dnl --- Can I call `initgroups'? ---
82 dnl
83 dnl This is used in noise-gathering.
84
85 AC_CHECK_FUNCS(setgroups)
86
87 dnl --- Done ---
88
89 AC_OUTPUT(Makefile catacomb-config)
90
91 dnl ----- That's all, folks -------------------------------------------------