[X2Go-Commits] [libx2goclient] 02/09: configure.ac: check for C99 support and bail out otherwise.

git-admin at x2go.org git-admin at x2go.org
Sat Apr 4 17:55:26 CEST 2020


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 9589080f2d41084a13c7aa025d09859a31145e88
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Mar 26 11:46:02 2020 +0100

    configure.ac: check for C99 support and bail out otherwise.
---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index 44e36b3..6da9081 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,12 @@ AC_SUBST(LT_VERSION)
 AM_MAINTAINER_MODE
 
 AC_PROG_CC
+AC_PROG_CC_C99
+
+if test "x$ac_cv_prog_cc_c99" = "xno"; then
+  AC_MSG_ERROR([your C compiler does not support C99])
+fi
+
 AC_STDC_HEADERS
 AC_PROG_LIBTOOL
 PKG_PROG_PKG_CONFIG

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git


More information about the x2go-commits mailing list