Skip to content

Commit

Permalink
configure.ac check required function strftime
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnw-sebast committed Jun 10, 2024
1 parent be4cdc8 commit d7a1dce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7a1dce

Please sign in to comment.