Subversion Repositories tiedf232

Rev

Rev 1 | Blame | Compare with Previous | Last modification | View Log | RSS feed

dnl Process this file with autoconf to produce a configure script.

AC_INIT(tiedf.c)
dnl Every other copy of the package version number gets its value from here
AM_INIT_AUTOMAKE(tiedf, 1.0.0)

dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
AM_CONFIG_HEADER(config.h)

AC_SUBST(VERSION)

ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)

AC_CANONICAL_HOST

dnl Checks for programs.
AC_PROG_INSTALL
AC_PROG_CC

dnl Checks for libraries.

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h sys/param.h sys/time.h time.h sys/mkdev.h sys/sysmacros.h string.h memory.h fcntl.h dirent.h sys/ndir.h ndir.h alloca.h locale.h)
AC_CHECK_HEADERS(termios.h sys/ioctl.h sys/types.h signal.h)

dnl Check for functions
AC_HEADER_MAJOR
AC_FUNC_ALLOCA
AC_FUNC_CLOSEDIR_VOID
AC_CHECK_FUNCS(mkfifo)
AC_CHECK_FUNC(mknod)
AC_CHECK_FUNC(tcsetattr tcgetattr tcflush)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_STRUCT_TM
AC_STRUCT_ST_BLOCKS
dnl AC_STRUCT(termios)
dnl jm_CHECK_TYPE_STRUCT_UTIMBUF

dnl Checks for library functions.

AC_OUTPUT(Makefile tiedf.lsm tiedf.spec)