# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.59]) AC_INIT([libsockstream], [0.1], [arjen@andromeda.nl]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_LANG(C++) AC_CONFIG_SRCDIR([src/socket.cpp]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC AC_PROG_LIBTOOL # Checks for libraries. # FIXME: Replace `main' with a function in `-lAXE': AC_CHECK_LIB([AXE], [main]) # Checks for header files. AC_CHECK_HEADERS([arpa/inet.h netdb.h sys/socket.h]) # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_SIZE_T AC_HEADER_STDBOOL # Checks for library functions. AC_CHECK_FUNCS([socket strchr]) AC_CONFIG_FILES([Makefile doc/Makefile test/Makefile src/Makefile]) AC_OUTPUT