mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: ANSI C-conforming const and volatile are mandatory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
12f742306e
commit
54fb9d3ca7
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
Thu Nov 11 23:32:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Nov 11 23:38:32 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: ANSI C-conforming const and volatile are mandatory
|
||||||
|
|
||||||
* configure.in (AC_C_CONST, AC_C_INLINE, AC_C_VOLATILE): check
|
* configure.in (AC_C_CONST, AC_C_INLINE, AC_C_VOLATILE): check
|
||||||
before used in other checks.
|
before used in other checks.
|
||||||
|
|
|
@ -485,6 +485,9 @@ AC_C_CHAR_UNSIGNED
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
AC_C_VOLATILE
|
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_CHECK_TYPES([long long, off_t])
|
||||||
|
|
||||||
AC_CACHE_CHECK([char bit], [rb_cv_char_bit],
|
AC_CACHE_CHECK([char bit], [rb_cv_char_bit],
|
||||||
|
|
Loading…
Reference in a new issue