summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-23 00:00:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-23 00:00:12 +0000
commit85bf9bede487ff102c467d8e9bb40b886f3b7b4b (patch)
tree75e774b5a95453f1bad1d86ebe213c1da2d0d682
parenta58890c10da37591587438192271d517c6b7fe7b (diff)
* configure.in (XCFLAGS): reverted mistakenly removed option.
[ruby-dev:41872] * include/ruby/missing.h: needs ruby/config.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--configure.in1
-rw-r--r--include/ruby/missing.h2
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ab603cf495e..3c8babeccb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Fri Jul 23 09:00:05 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * configure.in (XCFLAGS): reverted mistakenly removed option.
+ [ruby-dev:41872]
+
+ * include/ruby/missing.h: needs ruby/config.h.
+
Thu Jul 22 20:58:55 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RUBY_EXTERN): unnecessary after all.
diff --git a/configure.in b/configure.in
index bf7fdb6929d..4aed3a13574 100644
--- a/configure.in
+++ b/configure.in
@@ -269,6 +269,7 @@ if test "$GCC" = yes; then
linker_flag=-Wl,
: ${optflags=-O3}
AS_CASE(["$target_os"], [linux*|darwin*], [: ${debugflags=-ggdb}])
+ RUBY_APPEND_OPTIONS(XCFLAGS, ["-include ruby/missing.h"])
else
linker_flag=
fi
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index 1e0474cef81..327e0a847da 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -18,6 +18,8 @@ extern "C" {
#endif
#endif
+#include "ruby/config.h"
+
#if defined(HAVE_SYS_TIME_H)
# include <sys/time.h>
#elif !defined(_WIN32)