From: German Service Network Date: Mon, 10 Jun 2024 08:18:06 +0000 (+0200) Subject: configure.ac check required function strftime X-Git-Tag: v5.3-rc1~46 X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=118cdc5cc6bed1afdf66001c2a88088fe9dc7598;p=fping.git configure.ac check required function strftime --- diff --git a/configure.ac b/configure.ac index 7955dd3..41dd95b 100644 --- a/configure.ac +++ b/configure.ac @@ -100,6 +100,9 @@ if test $ac_cv_func_sigaction = yes; then AC_DEFINE([USE_SIGACTION],[1],[Define if sigaction is available.]) fi +AC_CHECK_FUNCS([strftime], [], + [AC_MSG_ERROR([strftime function is required but not found])]) + AH_TOP([ #ifndef CONFIG_H #define CONFIG_H