Skip to content

Commit

Permalink
buildsys: fix a couple english spelling errors in configure.ac
Browse files Browse the repository at this point in the history
introduced in 1293d03
(rbtree: introduce new ifdef condition HAVE_STATEMENT_EXPRESSION_EXT)
  • Loading branch information
ploxiln committed Jul 15, 2020
1 parent aac6193 commit 34421e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -407,12 +407,12 @@ case "$host" in
esac
AM_CONDITIONAL([HOST_MINGW], [test "x${host_mingw}" = "xyes"])

AC_MSG_CHECKING(if compiler supprots statement expressions)
AC_MSG_CHECKING(if compiler supports statement expressions)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[
int main(int argc, char **argv) {return ({ int x = 1; x + argc;});}
])],[have_statment_expression_ext=yes],[have_statment_expression_ext=no])
AC_MSG_RESULT($have_statment_expression_ext)
if test yes = "$have_statment_expression_ext"; then
])],[have_statement_expression_ext=yes],[have_statement_expression_ext=no])
AC_MSG_RESULT($have_statement_expression_ext)
if test yes = "$have_statement_expression_ext"; then
AC_DEFINE(HAVE_STATEMENT_EXPRESSION_EXT)
fi

Expand Down

0 comments on commit 34421e9

Please sign in to comment.