fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
-$as_echo_n "checking return type of signal handlers... " >&6; }
-if ${ac_cv_type_signal+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <sys/types.h>
-#include <signal.h>
-
-int
-main ()
-{
-return *(signal (0, 0)) (0) == 1;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_type_signal=int
-else
- ac_cv_type_signal=void
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
-$as_echo "$ac_cv_type_signal" >&6; }
-
-cat >>confdefs.h <<_ACEOF
-#define RETSIGTYPE $ac_cv_type_signal
-_ACEOF
-
-
for ac_func in strftime
do :
ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
AM_MAINTAINER_MODE
AC_ARG_WITH(extra-fascism,
- AC_HELP_STRING([--with-extra-fascism],
+ AS_HELP_STRING([--with-extra-fascism],
[Add extra gcc3-specific warning flags]),
[CFLAGS="$CFLAGS -g -O0 -W -Wall -Wfloat-equal -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"])
dnl ipv6?
dnl AC_ARG_ENABLE(ipv6,
-dnl AC_HELP_STRING([--enable-ipv6], [Enable IPV6 support]),
+dnl AS_HELP_STRING([--enable-ipv6], [Enable IPV6 support]),
dnl [ac_cv_ipv6=$enableval], [ac_cv_ipv6="no"])
dnl AC_MSG_CHECKING([whether to enable IPv6 features])
AC_STRUCT_TM
dnl Checks for library functions.
-AC_TYPE_SIGNAL
AC_FUNC_STRFTIME
dnl check for yacc
AC_CONFIG_SUBDIRS(src/libopm)
-AC_OUTPUT(Makefile doc/Makefile src/Makefile)
+AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile)
+AC_OUTPUT
echo "###############################################################################"
AM_MAINTAINER_MODE
AC_ARG_WITH(extra-fascism,
- AC_HELP_STRING([--with-extra-fascism],
+ AS_HELP_STRING([--with-extra-fascism],
[add extra gcc3-specific warning flags]),
[CFLAGS="$CFLAGS -g -O0 -W -Wall -Wfloat-equal -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"])
dnl AC_ARG_WITH(faldo,
-dnl AC_HELP_STRING([--with-faldo],
+dnl AS_HELP_STRING([--with-faldo],
dnl [make some use of Nick Faldo]))
dnl Checks for programs.
sed 's,\.[[^.]]* ,.lo ,g;s,\.[[^.]]*$,.lo,'`
AC_SUBST(LTLIBOBJS)
-AC_OUTPUT(Makefile src/Makefile)
+AC_CONFIG_FILES(Makefile src/Makefile)
+AC_OUTPUT
#include "main.h"
-static RETSIGTYPE do_signal(int signum);
+static void do_signal(int signum);
int RESTART = 0; /* Flagged to restart on next cycle */
int ALARMED = 0; /* Flagged to call timer functions on next cycle */
/* Define to the version of this package. */
#undef PACKAGE_VERSION
-/* Define as the return type of signal handlers (`int' or `void'). */
-#undef RETSIGTYPE
-
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT