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 authored and auerswal committed Jun 22, 2024
1 parent b39f5a5 commit 118cdc5
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 118cdc5

Please sign in to comment.