Move AC_PROG_CC_C99 to immediately afer AC_PROG_CC.

This puts the related C version selection output in the same place.
This commit is contained in:
Darren Tucker 2020-11-06 13:55:33 +11:00
parent e5591161f2
commit 771b7795c0
1 changed files with 3 additions and 3 deletions

View File

@ -20,15 +20,15 @@ AC_LANG([C])
AC_CONFIG_HEADERS([config.h])
AC_PROG_CC([cc gcc])
AC_CANONICAL_HOST
AC_C_BIGENDIAN
AC_PROG_CC_C99
# XXX relax this after reimplementing logit() etc.
if test "x$ac_cv_prog_cc_c99" = "xno" ; then
AC_MSG_ERROR([*** OpenSSH requires a C99 capable compiler ***])
fi
AC_CANONICAL_HOST
AC_C_BIGENDIAN
# Checks for programs.
AC_PROG_AWK
AC_PROG_CPP