Add the --files option, to list individual files in the various
[sgt/agedu] / configure.ac
1 # autoconf input for agedu. -*- sh -*-
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([assert.h arpa/inet.h ctype.h errno.h fcntl.h features.h fnmatch.h limits.h netinet/in.h pwd.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h sys/ioctl.h sys/mman.h sys/socket.h syslog.h termios.h time.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_SEARCH_LIBS(connect, socket nsl)
38 # AC_SEARCH_LIBS(gethostbyname, socket nsl resolv)
39
40 AC_CONFIG_FILES([Makefile])
41 AC_OUTPUT