1dnl Template file for GNU Autoconf 2dnl 3dnl Process this file with autoconf to produce a configure script. 4dnl 5dnl Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. 6dnl 7dnl This program is free software; you can redistribute it and/or modify 8dnl it under the terms of the GNU General Public License as published by 9dnl the Free Software Foundation; either version 2 of the License, or 10dnl (at your option) any later version. 11dnl 12dnl This program is distributed in the hope that it will be useful, 13dnl but WITHOUT ANY WARRANTY; without even the implied warranty of 14dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15dnl GNU General Public License for more details. 16dnl 17dnl You should have received a copy of the GNU General Public License 18dnl along with this program; if not, write to the Free Software 19dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 21dnl 22dnl $Id: configure.in,v 1.8 1999/12/20 09:03:50 andrew Exp $ 23dnl 24 25 26AC_REVISION($Revision: 1.8 $) 27 28AC_INIT(COPYING) 29AM_INIT_AUTOMAKE(cronolog, 1.6.2) dnl PACKAGE and VERSION initialized here!! 30AC_ARG_PROGRAM 31 32 33dnl Checks for programs. 34 35AC_PROG_CC 36AC_PROG_INSTALL 37AC_PROG_LN_S 38AC_PROG_RANLIB 39 40AC_PATH_PROG(PERL, perl, /usr/local/bin/perl, /usr/bin:/usr/local/bin:/opt/bin:/usr/contrib/bin) 41 42 43dnl Checks for libraries. 44 45dnl Checks for header files. 46 47AC_HEADER_STDC 48AC_HEADER_STAT 49AC_HEADER_TIME 50AC_STRUCT_TM 51AC_STRUCT_TIMEZONE 52AC_CHECK_HEADERS(fcntl.h limits.h unistd.h) 53 54dnl Checks for typedefs, structures, and compiler characteristics. 55 56AC_C_CONST 57AC_TYPE_SIZE_T 58AC_STRUCT_TM 59AC_TYPE_UID_T 60 61dnl Checks for library functions. 62 63AC_FUNC_STRFTIME 64AC_FUNC_VPRINTF 65AC_CHECK_FUNCS(mkdir mktime putenv) 66AC_REPLACE_FUNCS(strptime localtime_r) 67 68AC_OUTPUT(Makefile lib/Makefile src/Makefile doc/Makefile testsuite/Makefile src/cronosplit) 69