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

ruby-changes:54783

From: nobu <ko1@a...>
Date: Mon, 4 Feb 2019 17:17:49 +0900 (JST)
Subject: [ruby-changes:54783] nobu:r67002 (trunk): configure.ac: separate -std=gnu99 condition

nobu	2019-02-04 17:17:44 +0900 (Mon, 04 Feb 2019)

  New Revision: 67002

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67002

  Log:
    configure.ac: separate -std=gnu99 condition
    
    Also necessary on mingw, cygwin, darwin and netbsd.

  Modified files:
    trunk/configure.ac
Index: configure.ac
===================================================================
--- configure.ac	(revision 67001)
+++ configure.ac	(revision 67002)
@@ -615,9 +615,11 @@ AS_IF([test "$GCC" = yes], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L615
     ],
     [cygwin*|darwin*|netbsd*], [
       # need lgamma_r(), finite()
-    ],
+    ])
+
+    # ANSI (no XCFLAGS because this is C only)
+    AS_CASE(["$target_os"],
     [solaris*], [
-      # ANSI (no XCFLAGS because this is C only)
       # Because "-std=gnu99" affects existance of functions on Solaris,
       # "-std=gnu99" will be appended to CPPFLAGS.
 	for ansi_options in -std=gnu99; do

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

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