e1cc6c5f281eea9037de67ed8440f378e1ae1568
[sgt/agedu] / configure.ac
1 # autoconf input for agedu.
2
3 AC_INIT([agedu], [6.66], [anakin@pobox.com])
4 AC_CONFIG_SRCDIR([agedu.c])
5 AC_CONFIG_HEADER([config.h])
6
7 AM_INIT_AUTOMAKE
8
9 # Checks for programs.
10 AC_PROG_CC
11 AC_PROG_CC_C99
12 AC_PROG_INSTALL
13
14 # Checks for libraries.
15
16 # Checks for header files.
17 AC_HEADER_DIRENT
18 AC_HEADER_STDC
19 AC_HEADER_SYS_WAIT
20 AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h syslog.h termios.h unistd.h])
21
22 # Checks for typedefs, structures, and compiler characteristics.
23 AC_C_CONST
24 AC_TYPE_OFF_T
25 AC_TYPE_SIZE_T
26 AC_STRUCT_TM
27
28 # Checks for library functions.
29 AC_FUNC_CLOSEDIR_VOID
30 AC_PROG_GCC_TRADITIONAL
31 AC_FUNC_MMAP
32 AC_FUNC_SELECT_ARGTYPES
33 AC_FUNC_STRFTIME
34 AC_FUNC_VPRINTF
35 AC_CHECK_FUNCS([ftruncate fdopendir inet_ntoa lstat64 memchr munmap select socket strcasecmp strchr strcspn strerror strrchr strspn strtoul strtoull])
36
37 AC_CONFIG_FILES([Makefile])
38 AC_OUTPUT