allow state transitions back to 'waiting', as needed for cond vars
[nobug.git] / configure.ac
blob5f061d97c0b70b4fd8eb2a03c01b6d2d8647332e
1 AC_INIT([nobug], [200901])
2 AC_CONFIG_SRCDIR([src/nobug.h])
3 AC_CONFIG_AUX_DIR([scripts])
4 AM_INIT_AUTOMAKE
5 AC_PREREQ(2.59)
7 AC_COPYRIGHT([
8  This file is part of the NoBug debugging library.
10  Copyright (C) 2007, 2008, Christian Thaeter <chth@gmx.net>
12  This program is free software; you can redistribute it and/or modify
13  it under the terms of the GNU General Public License as published by
14  the Free Software Foundation; either version 2 of the License, or
15  (at your option) any later version.
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 Christian Thaeter <ct@pipapo.org>.
26 AM_PROG_CC_C_O
27 AC_STDC_HEADERS
28 AC_PROG_LIBTOOL
29 ACX_PTHREAD
30 AM_CONDITIONAL([HAVE_THREADING], [test x"$acx_pthread_ok" = xyes])
31 AC_CHECK_HEADER([execinfo.h], AC_DEFINE(HAVE_EXECINFO_H))
33 PKG_CHECK_MODULES(VALGRIND, [valgrind],
34                             AC_DEFINE(HAVE_VALGRIND_H)
38 AC_CONFIG_FILES([nobug.pc nobugmt.pc])
40 AC_CONFIG_FILES(Makefile)
41 AC_OUTPUT