2 # Process this file with autoconf to produce a configure script.
4 AC_INIT([simple-comm], [0.1],[ahmed.badran@gmail.com])
5 AM_INIT_AUTOMAKE([simple-comm], [0.1], [ahmed.badran@gmail.com])
6 AC_CONFIG_SRCDIR([src/conn.h])
7 AC_CONFIG_HEADER([src/config.h])
14 # Checks for libraries.
16 # Checks for header files.
17 AC_CHECK_HEADERS([netdb.h sys/socket.h])
19 # Checks for typedefs, structures, and compiler characteristics.
22 AC_CHECK_SIZEOF([unsigned char])
23 AC_CHECK_SIZEOF([unsigned short])
24 AC_CHECK_SIZEOF([unsigned int])
25 AC_CHECK_SIZEOF([unsigned long long])
27 # Checks for library functions.
29 AC_CHECK_FUNCS([memset socket strerror])
31 AC_CONFIG_FILES([Makefile