Check for cc before gcc.

If cc is something other than gcc and is the system compiler prefer using
that, unless otherwise told via $CC.  ok djm@
This commit is contained in:
Darren Tucker 2019-01-21 09:22:36 +11:00
parent 9b655dc9c9
commit c90a7928c4

View File

@ -19,7 +19,7 @@ AC_CONFIG_SRCDIR([ssh.c])
AC_LANG([C]) AC_LANG([C])
AC_CONFIG_HEADER([config.h]) AC_CONFIG_HEADER([config.h])
AC_PROG_CC AC_PROG_CC([cc gcc])
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_C_BIGENDIAN AC_C_BIGENDIAN