summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-03 11:24:30 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-03 11:24:30 +0000
commite37c67b73f60944f8eeaf516ae8e1f880e61c708 (patch)
treef2d508580d50406a6eab5d8ba326cefcbf474964
parent4213a33aa47b67b29bda00ed526ffe863bf661c8 (diff)
* configure.in: add #include <errno.h> in AC_CHECK_DECLS().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--configure.in3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e5d8a1bbf10..2f66312628d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri May 3 20:19:00 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * configure.in: add #include <errno.h> in AC_CHECK_DECLS().
+
Thu May 2 18:27:13 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for
diff --git a/configure.in b/configure.in
index 0785fef1bba..3c6a7c4dfd5 100644
--- a/configure.in
+++ b/configure.in
@@ -187,7 +187,8 @@ done])
AC_DEFINE_UNQUOTED([NORETURN(x)], $rb_cv_noreturn)
dnl Check whether we need to define sys_nerr locally
-AC_CHECK_DECLS([sys_nerr])
+AC_CHECK_DECLS([sys_nerr], [], [], [$ac_includes_default
+#include <errno.h>])
dnl whether link libc_r or not
AC_ARG_WITH(libc_r,