1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (AC_C_CONST, AC_C_INLINE, AC_C_VOLATILE): check

before used in other checks.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-11-11 14:32:15 +00:00
parent 6a256d448d
commit 12f742306e
2 changed files with 10 additions and 7 deletions

View file

@ -1,4 +1,7 @@
Thu Nov 11 23:29:37 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
Thu Nov 11 23:32:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (AC_C_CONST, AC_C_INLINE, AC_C_VOLATILE): check
before used in other checks.
* configure.in (RUBY_CHECK_PRINTF_PREFIX): should not break from
RUBY_WERROR_FLAG, so that ac_c_werror_flag gets restored.

View file

@ -479,6 +479,12 @@ cat largefile.h >> confdefs.h
AS_CASE(["$target_os"],[mingw*], [ac_cv_type_off_t=yes;ac_cv_sizeof_off_t=8])
AC_C_BIGENDIAN
AC_C_CONST
AC_C_CHAR_UNSIGNED
AC_C_INLINE
AC_C_VOLATILE
AC_CHECK_TYPES([long long, off_t])
AC_CACHE_CHECK([char bit], [rb_cv_char_bit],
@ -1535,12 +1541,6 @@ if test "$ac_cv_func_setpgid:$ac_cv_func_setpgrp" = no:yes; then
AC_FUNC_SETPGRP
fi
AC_C_BIGENDIAN
AC_C_CONST
AC_C_CHAR_UNSIGNED
AC_C_INLINE
AC_C_VOLATILE
if test x"$target_cpu" = xia64; then
AC_LIBOBJ([ia64])
AC_CACHE_CHECK(for __libc_ia64_register_backing_store_base,