# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) AC_INIT(Timer, 0.0, marcus@gnu.org) AM_INIT_AUTOMAKE AM_MAINTAINER_MODE AC_CONFIG_SRCDIR([timer.c]) AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC AC_PROG_RANLIB # Checks for libraries. # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([stdlib.h string.h sys/time.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_TIME # Checks for library functions. AC_FUNC_SELECT_ARGTYPES AC_CHECK_FUNCS([select strerror strncasecmp]) # Checks for user options. def_timeout=-1 AC_ARG_ENABLE([timeout], AC_HELP_STRING([--enable-timeout=SEC], [timeout in SEC seconds (default is 5)]), [def_timeout=$enableval]) if test "$def_timeout" = yes; then def_timeout=5 fi if test "$def_timeout" = no; then def_timeout=-1 fi AC_DEFINE_UNQUOTED(DEFAULT_TIMEOUT, $def_timeout, [Default timeout for waiting on an event.]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT
Fr Jul 30 13:54:24 CEST 2021
patent_button.gif valid-html401.png elektra.jpg fsfe-logo.png valid-css.png vim.gif anybrowser.gif