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

ruby-changes:17749

From: nobu <ko1@a...>
Date: Thu, 11 Nov 2010 23:38:44 +0900 (JST)
Subject: [ruby-changes:17749] Ruby:r29760 (trunk): * configure.in: ANSI C-conforming const and volatile are mandatory

nobu	2010-11-11 23:38:36 +0900 (Thu, 11 Nov 2010)

  New Revision: 29760

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29760

  Log:
    * configure.in: ANSI C-conforming const and volatile are mandatory

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 29759)
+++ configure.in	(revision 29760)
@@ -485,6 +485,9 @@
 AC_C_INLINE
 AC_C_VOLATILE
 
+AS_CASE(":$ac_cv_c_const:$ac_cv_c_volatile:",
+    [*:no:*], [AC_MSG_ERROR(ANSI C-conforming const and volatile are mandatory)])
+
 AC_CHECK_TYPES([long long, off_t])
 
 AC_CACHE_CHECK([char bit], [rb_cv_char_bit],
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 29759)
+++ ChangeLog	(revision 29760)
@@ -1,5 +1,7 @@
-Thu Nov 11 23:32:10 2010  Nobuyoshi Nakada  <nobu@r...>
+Thu Nov 11 23:38:32 2010  Nobuyoshi Nakada  <nobu@r...>
 
+	* configure.in: ANSI C-conforming const and volatile are mandatory
+
 	* configure.in (AC_C_CONST, AC_C_INLINE, AC_C_VOLATILE): check
 	  before used in other checks.
 

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

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