]> git.ozlabs.org Git - ccan/blob - ccan_tools/libtap/configure.in
First cut of hashing routines.
[ccan] / ccan_tools / libtap / configure.in
1 AC_INIT(tap, 1.01)
2 AC_CONFIG_SRCDIR(src/tap.c)
3 AM_INIT_AUTOMAKE([foreign])
4 AC_PROG_CC
5 AC_PROG_LIBTOOL
6 AC_PROG_INSTALL
7
8 # Checks for libraries
9 case "$host" in
10         *-*-*freebsd4*)
11                 LDFLAGS="$LDFLAGS -pthread"
12                 HAVE_LIBPTHREAD=1
13                 ;;
14         *)
15                 AC_CHECK_LIB(pthread, main)
16                 ;;
17 esac
18
19 # Checks for header files
20 AC_HEADER_STDC
21 AC_CHECK_HEADERS([stdlib.h])
22 AC_CHECK_HEADERS([pthread.h])
23
24 # Checks for  typedefs, structures, and compiler characteristics.
25 AC_C_CONST
26
27 # Checks for library functions.
28 AC_FUNC_VPRINTF
29 AC_CHECK_FUNCS([atexit])
30
31 AC_CONFIG_FILES([Makefile
32                  src/Makefile
33                  tests/Makefile
34                  tests/diag/Makefile
35                  tests/fail/Makefile
36                  tests/ok/Makefile
37                  tests/ok/ok-hash/Makefile
38                  tests/ok/ok-numeric/Makefile
39                  tests/ok/ok/Makefile
40                  tests/pass/Makefile
41                  tests/plan/Makefile
42                  tests/plan/no-tests/Makefile
43                  tests/plan/no_plan/Makefile
44                  tests/plan/not-enough-tests/Makefile
45                  tests/plan/sane/Makefile
46                  tests/plan/skip_all/Makefile
47                  tests/plan/too-many-plans/Makefile
48                  tests/plan/too-many-tests/Makefile
49                  tests/skip/Makefile
50                  tests/todo/Makefile
51                 ])
52 AC_OUTPUT