weakref fix
[acogc.git] / configure.ac
blob1bd6f40833614d9eeea00cae05cae292dd9b4943
1 AC_INIT(libacogc, 0.1)
2 AC_CONFIG_SRCDIR(lib/acogc.h)
3 AC_CONFIG_AUX_DIR(scripts)
4 dnl AC_CONFIG_MACRO_DIR(m4)
5 AM_INIT_AUTOMAKE
6 AC_PREREQ(2.59)
8 AC_COPYRIGHT([
9 Copyright (C) 2006, Christian Thaeter <ct@pipapo.org>
11 This file is part of the acogc garbage collector.
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License version 2 as
15 published by the Free Software Foundation.
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, contact me.
26 AC_PROG_CC
27 AC_STDC_HEADERS
28 AC_PROG_RANLIB
30 AC_DEFINE(EBUG_ALPHA)
31 dnl AC_DEFINE(NDEBUG)
33 AC_CHECK_HEADER(nobug.h, break, AC_MSG_ERROR(nobug.h required))
35 dnl TODO install supplied llist.h if not available
36 AC_CHECK_HEADER(llist.h, break, AC_MSG_ERROR(llist.h required))
38 dnl AC_HAVE_HEADERS(string.h fcntl.h sys/file.h sys/param.h)
42 AC_CONFIG_FILES(Makefile lib/Makefile tests/Makefile)
43 dnl doc/Makefile
44 AC_OUTPUT