dnl Process this file with autoconf to produce a configure script. AC_INIT(pcfclock, 0.44, voegelas@gmx.net) AC_CONFIG_SRCDIR(pcfdate/pcfdate.c) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) dnl Checks for programs. AC_PROG_INSTALL AC_PROG_CC AC_PATH_LINUX dnl Check for system features. if test x$have_linux = xyes; then AC_SYS_LINUX_VERSION fi AM_CONDITIONAL(HAVE_LINUX, test x$have_linux = xyes) AC_SUBST(ac_path_linux) AC_SUBST(ac_sys_linux_version) dnl Checks for libraries. dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_HEADER_TIME AC_STRUCT_TM dnl Checks for library functions. AC_FUNC_MEMCMP AC_FUNC_STRFTIME AC_FUNC_VPRINTF AC_CHECK_FUNCS(mktime putenv snprintf strdup strerror) AC_OUTPUT(linux/Makefile pcfdate/Makefile Makefile)