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
|
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
AC_INIT(chillispot, 1.0, bugs@chillispot.org)
AC_CONFIG_SRCDIR([src/cmdline.c])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([config.h])
# Checks for programs.
AC_PROG_CC
#JJAKO Check for libtool
AC_PROG_LIBTOOL
AM_PROG_LIBTOOL
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h syslog.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_MODE_T
AC_HEADER_TIME
# Checks for library functions.
AC_FUNC_FORK
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_SELECT_ARGTYPES
AC_CHECK_FUNCS([gethostbyname gettimeofday inet_ntoa memset select socket strdup strerror strstr strtol])
AC_CONFIG_FILES([Makefile
doc/Makefile
src/Makefile
chillispot.spec])
AC_OUTPUT
|