Skip to content

Commit

Permalink
build: fix typos in ax_check_funcs_ex.m4
Browse files Browse the repository at this point in the history
  • Loading branch information
fanquake committed Nov 24, 2021
1 parent 082941e commit 80f3ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m4/ax_check_funcs_ex.m4
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# $1: the name of function
# $2: the headers in where the function declared
AC_DEFUN([AX_CHECK_DECL_EX], [dnl
AS_IF([test "$2" = ""], [AC_MSG_ERROR([header not privided])])
AS_IF([test "$2" = ""], [AC_MSG_ERROR([header not provided])])
AS_VAR_PUSHDEF([have_func_var], [HAVE_[]m4_toupper($1)])
AC_CHECK_DECL([$1],dnl
[AC_DEFINE([have_func_var], [1], [Define to 1 if you have the `$1' function.])],,dnl
Expand All @@ -14,7 +14,7 @@ AC_DEFUN([AX_CHECK_DECL_EX], [dnl
])

AC_DEFUN([AX_CHECK_DECLS_EX], [dnl
AS_IF([test "$2" = ""], [AC_MSG_ERROR([header not privided])])
AS_IF([test "$2" = ""], [AC_MSG_ERROR([header not provided])])
m4_foreach([decl],dnl
m4_split(m4_normalize($1)),dnl
[AX_CHECK_DECL_EX([decl], [$2])]dnl
Expand Down

0 comments on commit 80f3ab0

Please sign in to comment.