summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobbie Harwood <rharwood@redhat.com>2015-11-30 16:22:53 -0500
committerRobbie Harwood <rharwood@redhat.com>2015-12-01 17:31:19 -0500
commit0577e929ef896944b2f852f0c3071684e9b282aa (patch)
tree45c1e22ac623d567fcb03a33a5d8768bfc734407
parent79e92a939784d248390cc2357387e667b7c97d9c (diff)
downloadgss-proxy-0577e929ef896944b2f852f0c3071684e9b282aa.tar.gz
gss-proxy-0577e929ef896944b2f852f0c3071684e9b282aa.tar.xz
gss-proxy-0577e929ef896944b2f852f0c3071684e9b282aa.zip
Set C standard used to gnu99
gcc5 changed the default standard; in order to support older platforms, specify our target explicitly. Setting the C stanndard to c99 doesn't work (it really does need to be a gnu standard), and there is not yet an autoconf macro for C11 support. See also: https://gcc.gnu.org/gcc-5/changes.html See also: https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/C-Compiler.html Signed-off-by: Robbie Harwood <rharwood@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--proxy/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/proxy/configure.ac b/proxy/configure.ac
index 3cd885d..409584d 100644
--- a/proxy/configure.ac
+++ b/proxy/configure.ac
@@ -9,6 +9,7 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
[AC_USE_SYSTEM_EXTENSIONS],
[AC_GNU_SOURCE])
+AC_PROG_CC_C99
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
AC_CONFIG_SRCDIR([BUILD.txt])