summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-25 19:16:19 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-25 19:16:19 +0000
commita600ab0e44f34710e53492b898ca426cab6ce762 (patch)
tree3881daf086fd0cc8127407b61b34db504af90fd9
parent3b0faa18686dead013f48b73c663a0c63b0fae16 (diff)
downloadruby-a600ab0e44f34710e53492b898ca426cab6ce762.tar.gz
ruby-a600ab0e44f34710e53492b898ca426cab6ce762.tar.xz
ruby-a600ab0e44f34710e53492b898ca426cab6ce762.zip
* ext/openssl/extconf.rb: refine va-args macro detection.
[ruby-talk:76983] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/openssl/extconf.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index eafb89dae..bc0c81bf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jul 26 04:04:36 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
+
+ * ext/openssl/extconf.rb: refine va-args macro detection.
+ [ruby-talk:76983]
+
Sat Jul 26 01:33:51 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_setup): need to pass the real
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index 04827ff49..2f1ddfc94 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -103,7 +103,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")
+if try_cpp("#define FOO(a, ...) foo(a, ##__VA_ARGS__)\n int x(){FOO(1,2);}\n")
$defs.push("-DHAVE_VA_ARGS_MACRO")
end
have_header("openssl/ocsp.h")