mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (HAVE_LONG_LONG, HAVE_OFF_T): revised for autoconf
2.62 or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
39711b631f
commit
d1af8511af
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Dec 24 13:33:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (HAVE_LONG_LONG, HAVE_OFF_T): revised for autoconf
|
||||
2.62 or later.
|
||||
|
||||
Wed Dec 24 06:29:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (OBJDUMP, OBJCOPY): autoconf list is not comma
|
||||
|
|
|
@ -281,6 +281,8 @@ mingw*)
|
|||
;;
|
||||
esac
|
||||
|
||||
AC_CHECK_TYPES([long long, off_t])
|
||||
|
||||
AC_CHECK_SIZEOF(int, 4)
|
||||
AC_CHECK_SIZEOF(short, 2)
|
||||
AC_CHECK_SIZEOF(long, 4)
|
||||
|
@ -292,9 +294,6 @@ AC_CHECK_SIZEOF(float, 4)
|
|||
AC_CHECK_SIZEOF(double, 8)
|
||||
AC_CHECK_SIZEOF(time_t, 0)
|
||||
|
||||
[test "${ac_cv_type_long_long}" = yes] && AC_DEFINE(HAVE_LONG_LONG)
|
||||
[test "${ac_cv_type_off_t}" = yes] && AC_DEFINE(HAVE_OFF_T)
|
||||
|
||||
dnl RUBY_REPLACE_TYPE [typename] [default type] [macro type] [included]
|
||||
AC_DEFUN([RUBY_REPLACE_TYPE], [dnl
|
||||
AC_CHECK_TYPE([$1],
|
||||
|
|
Loading…
Reference in a new issue