* configure.in (RUBY_CHECK_VARTYPE): should not indent preprocessor
directives. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c0b8e82296
commit
4b31c84dae
@ -1,3 +1,8 @@
|
|||||||
|
Fri Mar 14 10:12:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (RUBY_CHECK_VARTYPE): should not indent preprocessor
|
||||||
|
directives.
|
||||||
|
|
||||||
Fri Mar 14 10:03:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Mar 14 10:03:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* string.c (UNALIGNED_WORD_ACCESS): IA64 cannot access unaligned word.
|
* string.c (UNALIGNED_WORD_ACCESS): IA64 cannot access unaligned word.
|
||||||
|
@ -708,6 +708,7 @@ AC_CACHE_CHECK([for external $1], rb_cv_var_$1,
|
|||||||
#define _XOPEN_SOURCE 1
|
#define _XOPEN_SOURCE 1
|
||||||
#endif
|
#endif
|
||||||
$2
|
$2
|
||||||
|
;
|
||||||
const volatile void *volatile t;],
|
const volatile void *volatile t;],
|
||||||
[t = &(&$1)[0];],
|
[t = &(&$1)[0];],
|
||||||
[for t in $3; do
|
[for t in $3; do
|
||||||
@ -716,6 +717,7 @@ AC_CACHE_CHECK([for external $1], rb_cv_var_$1,
|
|||||||
#define _XOPEN_SOURCE 1
|
#define _XOPEN_SOURCE 1
|
||||||
#endif
|
#endif
|
||||||
$2
|
$2
|
||||||
|
;
|
||||||
extern $t $1;
|
extern $t $1;
|
||||||
const volatile void *volatile t;],
|
const volatile void *volatile t;],
|
||||||
[t = &(&$1)[0];],
|
[t = &(&$1)[0];],
|
||||||
@ -725,13 +727,13 @@ if test "[$rb_cv_var_]$1" != no; then
|
|||||||
AC_DEFINE([HAVE_VAR_]m4_toupper($1))
|
AC_DEFINE([HAVE_VAR_]m4_toupper($1))
|
||||||
AC_DEFINE_UNQUOTED([TYPEOF_VAR_]m4_toupper($1), $rb_cv_var_$1)
|
AC_DEFINE_UNQUOTED([TYPEOF_VAR_]m4_toupper($1), $rb_cv_var_$1)
|
||||||
fi])
|
fi])
|
||||||
RUBY_CHECK_VARTYPE(timezone, [#include <time.h>], [long int])
|
RUBY_CHECK_VARTYPE(timezone, [@%:@include <time.h>], [long int])
|
||||||
RUBY_CHECK_VARTYPE(altzone, [#include <time.h>], [long int])
|
RUBY_CHECK_VARTYPE(altzone, [@%:@include <time.h>], [long int])
|
||||||
if test "$rb_cv_var_timezone" = no; then
|
if test "$rb_cv_var_timezone" = no; then
|
||||||
AC_CHECK_FUNCS(timezone)
|
AC_CHECK_FUNCS(timezone)
|
||||||
if test "$ac_cv_func_timezone" = yes; then
|
if test "$ac_cv_func_timezone" = yes; then
|
||||||
AC_CACHE_CHECK([whether timezone requires zero arguments], rb_cv_func_timezone_void,
|
AC_CACHE_CHECK([whether timezone requires zero arguments], rb_cv_func_timezone_void,
|
||||||
[AC_TRY_COMPILE([#include <time.h>],
|
[AC_TRY_COMPILE([@%:@include <time.h>],
|
||||||
[(void)timezone(0, 0);],
|
[(void)timezone(0, 0);],
|
||||||
[rb_cv_func_timezone_void=no],
|
[rb_cv_func_timezone_void=no],
|
||||||
[rb_cv_func_timezone_void=yes])]
|
[rb_cv_func_timezone_void=yes])]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user