summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-17 14:40:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-17 14:40:00 +0000
commitc5d8b530bedd514664b662f2babd5a0f4f6b0832 (patch)
tree86d89b4b8698192b5f3f31b91cbd578e97fa4813
parentcda6fb7645857b536de6832bfae12c435a2af531 (diff)
downloadruby-c5d8b530bedd514664b662f2babd5a0f4f6b0832.tar.gz
ruby-c5d8b530bedd514664b662f2babd5a0f4f6b0832.tar.xz
ruby-c5d8b530bedd514664b662f2babd5a0f4f6b0832.zip
* ext/openssl/extconf.rb (HAVE_VA_ARGS_MACRO): need to compile.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/openssl/extconf.rb2
-rw-r--r--ext/tcltklib/stubs.c2
3 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a67b94b4..a3c5cd0b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Aug 17 23:39:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/openssl/extconf.rb (HAVE_VA_ARGS_MACRO): need to compile.
+
Sun Aug 17 17:10:03 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/lib/openssl/ssl.rb (SSLSocket#sync_close=): add a
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index 978f9dbb6..59b222ac9 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -79,7 +79,7 @@ have_func("BN_mod_sub")
have_func("BN_rand_range")
have_func("BN_pseudo_rand_range")
have_func("CONF_get1_default_config_file")
-if try_cpp("#define FOO(a, ...) foo(a, ##__VA_ARGS__)\n int x(){FOO(1);FOO(1,2);FOO(1,2,3);}\n")
+if try_compile("#define FOO(a, ...) foo(a, ##__VA_ARGS__)\n int x(){FOO(1);FOO(1,2);FOO(1,2,3);}\n")
$defs.push("-DHAVE_VA_ARGS_MACRO")
end
have_header("openssl/ocsp.h")
diff --git a/ext/tcltklib/stubs.c b/ext/tcltklib/stubs.c
index f394d6fc7..a1dd08f4a 100644
--- a/ext/tcltklib/stubs.c
+++ b/ext/tcltklib/stubs.c
@@ -1,3 +1,5 @@
+int ruby_tcltk_stubs();
+
#if defined USE_TCL_STUBS && defined USE_TK_STUBS
#include <tcl.h>
#include <tk.h>