]> git.gsnw.org Git - fping.git/commitdiff
configure.ac check required function strftime
authorGerman Service Network <support@gsnw.de>
Mon, 10 Jun 2024 08:18:06 +0000 (10:18 +0200)
committerErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sat, 22 Jun 2024 11:37:05 +0000 (13:37 +0200)
configure.ac

index 7955dd38c7c849cd8aae65e38e0d5c1923480d93..41dd95b68dff5eae6bfed79919043a9e315383a8 100644 (file)
@@ -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