1 # autoconf input for agedu. -*- sh -*-
3 AC_INIT([agedu], [6.66], [anakin@pobox.com])
4 AC_CONFIG_SRCDIR([agedu.c])
5 AC_CONFIG_HEADER([config.h])
14 # Checks for libraries.
16 # Checks for header files.
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])
22 # Checks for typedefs, structures, and compiler characteristics.
28 # Checks for library functions.
30 AC_PROG_GCC_TRADITIONAL
32 AC_FUNC_SELECT_ARGTYPES
35 AC_CHECK_FUNCS([ftruncate fdopendir inet_ntoa lstat64 stat64 memchr munmap select socket strcasecmp strchr strcspn strerror strrchr strspn strtoul strtoull])
37 AC_SEARCH_LIBS(connect, socket nsl)
38 # AC_SEARCH_LIBS(gethostbyname, socket nsl resolv)
40 AC_CONFIG_FILES([Makefile])