summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-12 16:34:50 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-12 16:34:50 +0000
commitb0ed08600a71784085b9b4621a4c4fcdbe0ae1cd (patch)
tree0dea63ebd41567c92acbee070aaf3219be5cd4fb /configure.in
parent1cb8c0d6fe8cded70c10b501c8aa3f754c1b2a98 (diff)
2000-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 353bddb..86233ea 100644
--- a/configure.in
+++ b/configure.in
@@ -210,8 +210,8 @@ AC_CHECK_FUNCS(fmod killpg drand48 random wait4 waitpid syscall getcwd\
dlopen sigprocmask sigaction _setjmp setsid getrlimit)
AC_STRUCT_TIMEZONE
AC_CACHE_CHECK(for external int daylight, rb_cv_have_daylight,
- [AC_TRY_LINK([],
- [extern int daylight; daylight++;],
+ [AC_TRY_LINK([int i;],
+ [extern int daylight; i = daylight;],
rb_cv_have_daylight=yes,
rb_cv_have_daylight=no)])
if test "$rb_cv_have_daylight" = yes; then