Add the --files option, to list individual files in the various
[sgt/agedu] / configure.ac
CommitLineData
50e82fdc 1# autoconf input for agedu. -*- sh -*-
6209008b 2
3AC_INIT([agedu], [6.66], [anakin@pobox.com])
4AC_CONFIG_SRCDIR([agedu.c])
5AC_CONFIG_HEADER([config.h])
6
7AM_INIT_AUTOMAKE
8
9# Checks for programs.
10AC_PROG_CC
11AC_PROG_CC_C99
12AC_PROG_INSTALL
13
14# Checks for libraries.
15
16# Checks for header files.
17AC_HEADER_DIRENT
18AC_HEADER_STDC
19AC_HEADER_SYS_WAIT
50e82fdc 20AC_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])
6209008b 21
22# Checks for typedefs, structures, and compiler characteristics.
23AC_C_CONST
24AC_TYPE_OFF_T
25AC_TYPE_SIZE_T
26AC_STRUCT_TM
27
28# Checks for library functions.
29AC_FUNC_CLOSEDIR_VOID
30AC_PROG_GCC_TRADITIONAL
31AC_FUNC_MMAP
32AC_FUNC_SELECT_ARGTYPES
33AC_FUNC_STRFTIME
34AC_FUNC_VPRINTF
9c6e61f2 35AC_CHECK_FUNCS([ftruncate fdopendir inet_ntoa lstat64 memchr munmap select socket strcasecmp strchr strcspn strerror strrchr strspn strtoul strtoull])
6209008b 36
50e82fdc 37AC_SEARCH_LIBS(connect, socket nsl)
38# AC_SEARCH_LIBS(gethostbyname, socket nsl resolv)
39
6209008b 40AC_CONFIG_FILES([Makefile])
41AC_OUTPUT