Skip to content

Commit

Permalink
configure: Use AS_IF macro for C99 check
Browse files Browse the repository at this point in the history
  • Loading branch information
pali committed Jun 26, 2019
1 parent a29f1ae commit 02a32d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configure.ac
Expand Up @@ -10,9 +10,7 @@ AC_PROG_CC_C99
AC_DISABLE_SHARED
AM_PROG_LIBTOOL

if test "$ac_cv_prog_cc_c99" = "no"; then
AC_MSG_ERROR([Your C compiler does not support ISO C99.])
fi
AS_IF([test "$ac_cv_prog_cc_c99" = "no"], [AC_MSG_ERROR([Your C compiler does not support ISO C99.])])

dnl Checks for libraries.
AC_CHECK_LIB(readline, readline, [ ])
Expand Down

0 comments on commit 02a32d8

Please sign in to comment.