summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-12 14:46:44 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-12 14:46:44 +0000
commitc86f2148a2ba7c8117403eda288f52e9e9431289 (patch)
tree2012557c6adbc4999be8b8ea30add250e51325b9 /configure.in
parent548b5143db2c3d701520671ef1413cf3c39fcedf (diff)
2000-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@742 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 242ce7f..353bddb 100644
--- a/configure.in
+++ b/configure.in
@@ -157,7 +157,7 @@ openstep*) ;;
rhapsody*) ;;
human*) ac_cv_func_getpgrp_void=yes;;
beos*) ;;
-cygwin*) ;;
+cygwin*) rb_cv_have_daylight=no;;
mingw*) LIBS="-lwsock32 -lmsvcrt $LIBS"
ac_cv_header_a_out_h=no
ac_cv_header_pwd_h=no
@@ -211,7 +211,7 @@ AC_CHECK_FUNCS(fmod killpg drand48 random wait4 waitpid syscall getcwd\
AC_STRUCT_TIMEZONE
AC_CACHE_CHECK(for external int daylight, rb_cv_have_daylight,
[AC_TRY_LINK([],
- [extern int daylight; int i = daylight;],
+ [extern int daylight; daylight++;],
rb_cv_have_daylight=yes,
rb_cv_have_daylight=no)])
if test "$rb_cv_have_daylight" = yes; then