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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(lnpd, 0.9.0)
AC_CONFIG_AUX_DIR(inst-pieces)
AC_CONFIG_SRCDIR(configure.ac)
AM_CONFIG_HEADER(config.h)
# Checks for system type
AC_CANONICAL_TARGET
# inform automake of our package name and version
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
# Not yet used...
AC_DEFINE_UNQUOTED(BUILDDATE,"`date -u`",[Date])
BUILDDATE="`date -u`"
AC_SUBST(BUILDDATE)
# Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_LN_S
AC_PROG_INSTALL
AM_PROG_LIBTOOL
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h fcntl.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h syslog.h termios.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_VOLATILE
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_HEADER_TIME
# Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([atexit gethostbyname gettimeofday inet_ntoa memset select socket strchr strdup strerror strrchr strtoul])
AC_CONFIG_FILES([Makefile
lnpd+liblnp/Makefile
lnpd+liblnp/liblnp/Makefile
lnpd+liblnp/lnpd/Makefile
lnpd+liblnp/applications/Makefile
lnpd+liblnp/rcx/Makefile
dllx/Makefile])
AC_OUTPUT
|