[前][次][番号順一覧][スレッド一覧]

ruby-changes:64935

From: Nobuyoshi <ko1@a...>
Date: Mon, 18 Jan 2021 18:15:45 +0900 (JST)
Subject: [ruby-changes:64935] 48bb0329eb (master): Revert AC_PROG_CC_C99 for -std=gnu99 option to gcc 4.8

https://git.ruby-lang.org/ruby.git/commit/?id=48bb0329eb

From 48bb0329eb325bc5b77c222f45b8dc97a208d986 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 13 Dec 2020 00:03:06 +0900
Subject: Revert AC_PROG_CC_C99 for -std=gnu99 option to gcc 4.8


diff --git a/configure.ac b/configure.ac
index cd0c9e6..5aaecba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -168,7 +168,10 @@ rb_test_CFLAGS=${CFLAGS+yes} https://github.com/ruby/ruby/blob/trunk/configure.ac#L168
 rb_test_CXXFLAGS=${CXXFLAGS+yes}
 
 # BSD's ports and MacPorts prefix GNU binutils with 'g'
-# AC_PROG_CC_C99
+
+dnl Seems necessarily in order to add -std=gnu99 option for gcc 4.9.
+m4_version_prereq([2.70], [], [AC_PROG_CC_C99])
+
 AC_PROG_CXX
 AC_PROG_CPP
 AC_PROG_RANLIB
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]