d03ab969 |
1 | dnl -*-fundamental-*- |
2 | dnl |
db2623e1 |
3 | dnl $Id: configure.in,v 1.10 1999/12/22 16:03:31 mdw Exp $ |
d03ab969 |
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 $ |
db2623e1 |
32 | dnl Revision 1.10 1999/12/22 16:03:31 mdw |
33 | dnl New mLib version. Find socket functions for pixie. |
8582bb3b |
34 | dnl |
77783960 |
35 | dnl Revision 1.7 1999/11/13 01:55:48 mdw |
36 | dnl Don't be pedantic, because using `long long' as a multiprecision type |
37 | dnl gets complained about. |
38 | dnl |
ffc086db |
39 | dnl Revision 1.6 1999/11/11 18:56:14 mdw |
40 | dnl Use `libtool' to generate a shared library. |
a094cab7 |
41 | dnl |
42 | dnl Revision 1.5 1999/11/11 17:47:34 mdw |
43 | dnl Updates for new configuration system, and `mptypes' generator. |
f122f08e |
44 | dnl |
45 | dnl Revision 1.4 1999/11/11 00:58:19 mdw |
46 | dnl Use canned check for `ssize_t'. |
748ed8dc |
47 | dnl |
f122f08e |
48 | dnl Revision 1.3 1999/10/24 10:20:36 mdw |
748ed8dc |
49 | dnl Modify for standalone distribution. The library's getting far too large |
50 | dnl to be sensibly embedded in other programs. |
6fcd939f |
51 | dnl |
52 | dnl Revision 1.2 1999/10/23 12:56:25 mdw |
53 | dnl Version number change. |
d03ab969 |
54 | dnl |
55 | dnl Revision 1.1 1999/09/03 08:41:11 mdw |
56 | dnl Initial import. |
57 | dnl |
58 | |
6fcd939f |
59 | dnl --- Boring boilerplate --- |
d03ab969 |
60 | |
61 | AC_INIT(blkc.h) |
c08b284a |
62 | AM_INIT_AUTOMAKE(catacomb, 1.0.0) |
d03ab969 |
63 | AM_CONFIG_HEADER(config.h) |
64 | |
65 | dnl --- Make sure I can compile and build libraries --- |
66 | |
67 | AC_PROG_CC |
ffc086db |
68 | AM_PROG_LIBTOOL |
77783960 |
69 | mdw_GCC_FLAGS(-Wall) |
db2623e1 |
70 | mdw_MLIB(1.6.2) |
d03ab969 |
71 | |
72 | AC_PROG_YACC |
73 | |
74 | dnl --- Actually, I assume these exist anyway --- |
75 | |
76 | AC_CHECK_HEADERS(unistd.h) |
77 | AC_HEADER_STDC |
78 | |
79 | dnl --- Check for various important system types --- |
80 | |
81 | AC_TYPE_PID_T |
f122f08e |
82 | AC_TYPE_SIZE_T |
d03ab969 |
83 | AC_TYPE_UID_T |
84 | AC_CHECK_TYPE(time_t, long) |
85 | mdw_TYPE_SSIZE_T |
86 | |
87 | dnl --- Can I call `initgroups'? --- |
88 | dnl |
89 | dnl This is used in noise-gathering. |
90 | |
91 | AC_CHECK_FUNCS(setgroups) |
a094cab7 |
92 | |
db2623e1 |
93 | dnl --- Support for the passphrase pixie --- |
94 | |
95 | mdw_CHECK_MANYLIBS(socket, socket) |
96 | AC_CHECK_FUNCS(mlock) |
97 | |
d03ab969 |
98 | dnl --- Done --- |
99 | |
100 | AC_OUTPUT(Makefile catacomb-config) |
101 | |
102 | dnl ----- That's all, folks ------------------------------------------------- |