summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-14 05:15:08 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-14 05:15:08 +0000
commit7f46923feea165d3b6ece6b0df67ffe510441722 (patch)
treef2f72daaff721d6841d5c0c2041e986a9aca2a8d /configure.in
parentaa2a6871ee93e5dc86f243045af91fac90f142bf (diff)
2000-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 86233ea..03d8f79 100644
--- a/configure.in
+++ b/configure.in
@@ -210,8 +210,9 @@ 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([int i;],
- [extern int daylight; i = daylight;],
+ [AC_TRY_LINK([#include <time.h>
+ int i;],
+ [i = daylight;],
rb_cv_have_daylight=yes,
rb_cv_have_daylight=no)])
if test "$rb_cv_have_daylight" = yes; then