2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([libsockstream], [0.1], [arjen@andromeda.nl])
6 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
8 AC_CONFIG_SRCDIR([src/socket.cpp])
9 AC_CONFIG_HEADERS([config.h])
11 # Checks for programs.
16 # Checks for libraries.
17 # FIXME: Replace `main' with a function in `-lAXE':
18 AC_CHECK_LIB([AXE], [main])
20 # Checks for header files.
21 AC_CHECK_HEADERS([arpa/inet.h netdb.h sys/socket.h])
23 # Checks for typedefs, structures, and compiler characteristics.
27 # Checks for library functions.
28 AC_CHECK_FUNCS([socket strchr])
30 AC_CONFIG_FILES([Makefile