Added close() method to stream classes.
[sockstream.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.59])
5 AC_INIT([libsockstream], [0.1], [arjen@andromeda.nl])
6 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
7 AC_LANG(C++)
8 AC_CONFIG_SRCDIR([src/socket.cpp])
9 AC_CONFIG_HEADERS([config.h])
10
11 # Checks for programs.
12 AC_PROG_CXX
13 AC_PROG_CC
14 AC_PROG_LIBTOOL
15
16 # Checks for libraries.
17 # FIXME: Replace `main' with a function in `-lAXE':
18 AC_CHECK_LIB([AXE], [main])
19
20 # Checks for header files.
21 AC_CHECK_HEADERS([arpa/inet.h netdb.h sys/socket.h])
22
23 # Checks for typedefs, structures, and compiler characteristics.
24 AC_TYPE_SIZE_T
25 AC_HEADER_STDBOOL
26
27 # Checks for library functions.
28 AC_CHECK_FUNCS([socket strchr])
29
30 AC_CONFIG_FILES([Makefile
31                  doc/Makefile
32                  test/Makefile
33                  src/Makefile])
34 AC_OUTPUT