Man page of slirpvde updated.
[vde.git] / vdetelweb / configure.ac
blob2ec596b48846de76ff367938c21a33b2ba514709
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.60)
5 AC_INIT([vdetelweb], [1.1b], [info@v2.cs.unibo.it])
6 AM_INIT_AUTOMAKE([foreign dist-bzip2])
7 AC_CONFIG_SRCDIR([vdetelweb.c])
8 AC_CONFIG_HEADER([config.h])
10 # Checks for programs.
11 AC_PROG_CC
12 AC_PROG_INSTALL
14 # Checks for header files.
15 AC_HEADER_STDC
16 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h string.h sys/ioctl.h sys/socket.h syslog.h lwipv6.h],, AC_MSG_ERROR([required header file missing]))
18 # Checks for typedefs, structures, and compiler characteristics.
19 AC_C_CONST
21 # Checks for library functions.
22 AC_FUNC_MALLOC
23 AC_TYPE_SIGNAL
24 AC_FUNC_VPRINTF
25 AC_CHECK_FUNCS([atexit bzero getcwd memset socket strdup strerror strndup strstr uname])
27 # Checks for libraries.
28 AC_CHECK_LIB([lwipv6], [lwip_init],, AC_MSG_ERROR([liblwipv6 missing]), [-lpthread])
30 AC_CONFIG_FILES([Makefile])
31 AC_OUTPUT