Mailing List Archive

[openssh] 01/01: check for and require a C99 capable compiler
This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit f812a36cee5727147bc897d34ab9af068dd4561e
Author: Damien Miller <djm@mindrot.org>
Date: Sat Oct 17 12:03:34 2020 +1100

check for and require a C99 capable compiler

recent logging changes use __VA_ARGS__.
---
configure.ac | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index 7005a503..05f7b713 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,12 @@ AC_CONFIG_HEADER([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

# Checks for programs.
AC_PROG_AWK

--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits