# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.65]) AC_INIT([DrunkenMan], 3.0, flo@arch) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([main.cpp]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC # Checks for libraries. AC_CHECK_LIB(dl,dlopen, , AC_MSG_ERROR([libdl not found!])) # Checks for header files. AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h sys/socket.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_INLINE AC_TYPE_UINT32_T # Checks for library functions. AC_CHECK_FUNCS([gethostbyname inet_ntoa select socket strstr]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT