From dacd393fefeabafd1306533dd6c5a56e0ab347cc Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Sun, 27 Feb 2011 18:48:35 +0100 Subject: Initial commit --- configure.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 configure.in (limited to 'configure.in') diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..2ee3ae1 --- /dev/null +++ b/configure.in @@ -0,0 +1,28 @@ +# -*- 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 -- cgit v1.2.1