Fix newlines in keyring list.
[u/mdw/catacomb] / configure.in
CommitLineData
d03ab969 1dnl -*-fundamental-*-
2dnl
748ed8dc 3dnl $Id: configure.in,v 1.3 1999/10/24 10:20:36 mdw Exp $
d03ab969 4dnl
5dnl Autoconfiguration for Catacomb
6dnl
7dnl (c) 1999 Straylight/Edgeware
8dnl
9
10dnl ----- Licensing notice --------------------------------------------------
11dnl
12dnl This file is part of Catacomb.
13dnl
14dnl Catacomb is free software; you can redistribute it and/or modify
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
19dnl Catacomb 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
22dnl GNU Library General Public License for more details.
23dnl
24dnl You should have received a copy of the GNU Library General Public
25dnl License along with Catacomb; if not, write to the Free
26dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27dnl MA 02111-1307, USA.
28
29dnl ----- Revision history --------------------------------------------------
30dnl
31dnl $Log: configure.in,v $
748ed8dc 32dnl Revision 1.3 1999/10/24 10:20:36 mdw
33dnl Modify for standalone distribution. The library's getting far too large
34dnl to be sensibly embedded in other programs.
35dnl
36dnl Modify for standalone distribution. The library's getting far too large
37dnl to be sensibly embedded in other programs.
6fcd939f 38dnl
39dnl Revision 1.2 1999/10/23 12:56:25 mdw
40dnl Version number change.
d03ab969 41dnl
42dnl Revision 1.1 1999/09/03 08:41:11 mdw
43dnl Initial import.
44dnl
45
6fcd939f 46dnl --- Boring boilerplate ---
d03ab969 47
48AC_INIT(blkc.h)
49AM_INIT_AUTOMAKE(catacomb, 1.0.0pre2)
50AM_CONFIG_HEADER(config.h)
51
52dnl --- Make sure I can compile and build libraries ---
53
54AC_PROG_CC
748ed8dc 55AC_CHECK_LIB(mLib, ego)
d03ab969 56AC_CHECK_PROG(AR, ar, ar)
57AC_PROG_RANLIB
58mdw_MLIB
59
60AC_PROG_YACC
61
62dnl --- Actually, I assume these exist anyway ---
63
64AC_CHECK_HEADERS(unistd.h)
65AC_HEADER_STDC
66
67dnl --- Check for various important system types ---
68
69AC_TYPE_PID_T
70
71dnl --- Tedious check for ssize_t ---
72dnl
73dnl glibc-2 puts ssize_t in a strange place.
74
75AC_CACHE_CHECK(for ssize_t, cat_cv_type_ssize_t,
76[AC_EGREP_CPP(ssize_t,
77[#include <sys/types.h>
78#if HAVE_UNISTD_H
79#inlcude <unistd.h>
80#endif
81#if STDC_HEADERS
82#include <stddef.h>
83#include <stdlib.h>
84#endif],
85cat_cv_type_ssize_t=yes, cat_cv_type_ssize_t=no)])
86if test $cat_cv_type_ssize_t = no; then
87 AC_DEFINE(ssize_t, int)
88fi
89AC_TYPE_UID_T
90AC_CHECK_TYPE(time_t, long)
91mdw_TYPE_SSIZE_T
92
93dnl --- Can I call `initgroups'? ---
94dnl
95dnl This is used in noise-gathering.
96
97AC_CHECK_FUNCS(setgroups)
98AC_OUTPUT(Makefile)
99dnl --- Done ---
100
101AC_OUTPUT(Makefile catacomb-config)
102
103dnl ----- That's all, folks -------------------------------------------------