diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-04-14 11:53:08 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-09-09 16:32:30 +0900 |
commit | 82982ade2bc424218f3c8dc90b5ce5aa4efd800e (patch) | |
tree | ba3622a2c545cf25f2808b87ad4f37d63b71a5ca | |
parent | f3ea2d159107055864962f94d1fcbbadec8e82b3 (diff) | |
download | ruby-82982ade2bc424218f3c8dc90b5ce5aa4efd800e.tar.gz |
configure.in: remove unused HAVE_TIMEZONE and TIMEZONE_VOID
-rw-r--r-- | configure.in | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/configure.in b/configure.in index 9c6d5c17fb..e4ebc705c9 100644 --- a/configure.in +++ b/configure.in @@ -2759,18 +2759,6 @@ AS_IF([test "${AS_TR_SH(rb_cv_var_$1)}" != no], [ ])]) RUBY_CHECK_VARTYPE(timezone, [@%:@include <time.h>], [long int]) RUBY_CHECK_VARTYPE(altzone, [@%:@include <time.h>], [long int]) -AC_CHECK_FUNCS(timezone) -AS_IF([test "$ac_cv_func_timezone" = yes], [ - AC_CACHE_CHECK([whether timezone requires zero arguments], rb_cv_func_timezone_void, - [AC_TRY_COMPILE([@%:@include <time.h>], - [(void)timezone(0, 0);], - [rb_cv_func_timezone_void=no], - [rb_cv_func_timezone_void=yes])] - ) - AS_IF([test $rb_cv_func_timezone_void = yes], [ - AC_DEFINE(TIMEZONE_VOID) - ]) -]) AC_CACHE_CHECK(for negative time_t for gmtime(3), rb_cv_negative_time_t, [AC_TRY_RUN([ |