3 dnl $Id: configure.in,v 1.3 1999/10/24 10:20:36 mdw Exp $
5 dnl Autoconfiguration for Catacomb
7 dnl (c) 1999 Straylight/Edgeware
10 dnl ----- Licensing notice --------------------------------------------------
12 dnl This file is part of Catacomb.
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.
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.
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.
29 dnl ----- Revision history --------------------------------------------------
31 dnl $Log: configure.in,v $
32 dnl Revision 1.3 1999/10/24 10:20:36 mdw
33 dnl Modify for standalone distribution. The library's getting far too large
34 dnl to be sensibly embedded in other programs.
36 dnl Modify for standalone distribution. The library's getting far too large
37 dnl to be sensibly embedded in other programs.
39 dnl Revision 1.2 1999/10/23 12:56:25 mdw
40 dnl Version number change.
42 dnl Revision 1.1 1999/09/03 08:41:11 mdw
46 dnl --- Boring boilerplate ---
49 AM_INIT_AUTOMAKE(catacomb, 1.0.0pre2)
50 AM_CONFIG_HEADER(config.h)
52 dnl --- Make sure I can compile and build libraries ---
55 AC_CHECK_LIB(mLib, ego)
56 AC_CHECK_PROG(AR, ar, ar)
62 dnl --- Actually, I assume these exist anyway ---
64 AC_CHECK_HEADERS(unistd.h)
67 dnl --- Check for various important system types ---
71 dnl --- Tedious check for ssize_t ---
73 dnl glibc-2 puts ssize_t in a strange place.
75 AC_CACHE_CHECK(for ssize_t, cat_cv_type_ssize_t,
76 [AC_EGREP_CPP(ssize_t,
77 [#include <sys/types.h>
85 cat_cv_type_ssize_t=yes, cat_cv_type_ssize_t=no)])
86 if test $cat_cv_type_ssize_t = no; then
87 AC_DEFINE(ssize_t, int)
90 AC_CHECK_TYPE(time_t, long)
93 dnl --- Can I call `initgroups'? ---
95 dnl This is used in noise-gathering.
97 AC_CHECK_FUNCS(setgroups)
101 AC_OUTPUT(Makefile catacomb-config)
103 dnl ----- That's all, folks -------------------------------------------------