-
Notifications
You must be signed in to change notification settings - Fork 3
/
configure.ac
31 lines (24 loc) · 861 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.65])
AC_INIT([lkl-net], [0.7], [[email protected]])
AM_INIT_AUTOMAKE([foreign color-tests subdir-objects])
AM_SILENT_RULES([yes])
AC_CONFIG_FILES(Makefile)
AC_CONFIG_HEADER(tools.h)
# Checks for programs.
AC_PROG_CC
AC_PROG_CC_C_O
AC_PROG_LEX
AC_PROG_RANLIB
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h syslog.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([gethostbyname inet_ntoa memset socket strchr strdup strerror strtoul])
AC_OUTPUT