From 118cdc5cc6bed1afdf66001c2a88088fe9dc7598 Mon Sep 17 00:00:00 2001 From: German Service Network Date: Mon, 10 Jun 2024 10:18:06 +0200 Subject: [PATCH] configure.ac check required function strftime --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 7955dd38..41dd95b6 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