From: levill_r <levill_r@4aad255d-cdde-0310-9447-f3009e2ae8c0>
* config/rbconfig_gen.rb (gen_m4): Generate quoted values to
avoid issues with, e.g., commas.
git-svn-id:
https://svn.lrde.epita.fr/svn/oln/trunk@4666
4aad255d-cdde-0310-9447-f3009e2ae8c0
---
dynamic-use-of-static-c++/ChangeLog | 7 +++++++
dynamic-use-of-static-c++/config/rbconfig_gen.rb | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dynamic-use-of-static-c++/ChangeLog b/dynamic-use-of-static-c++/ChangeLog
index 24cf3d1..600c239 100644
--- a/dynamic-use-of-static-c++/ChangeLog
+++ b/dynamic-use-of-static-c++/ChangeLog
@@ -1,5 +1,12 @@
2009-10-22 Roland Levillain <roland(a)lrde.epita.fr>
+ Fix the implementation of the Autoconf macro RBCONFIG.
+
+ * config/rbconfig_gen.rb (gen_m4): Generate quoted values to
+ avoid issues with, e.g., commas.
+
+2009-10-22 Roland Levillain <roland(a)lrde.epita.fr>
+
Have the dynamic function loader use the C++ framework by default.
* src/function_loader.cc (HAVE_DYN_RUBY_GENERATOR): New macro,
diff --git a/dynamic-use-of-static-c++/config/rbconfig_gen.rb
b/dynamic-use-of-static-c++/config/rbconfig_gen.rb
index 837cf2b..24fdf95 100644
--- a/dynamic-use-of-static-c++/config/rbconfig_gen.rb
+++ b/dynamic-use-of-static-c++/config/rbconfig_gen.rb
@@ -8,7 +8,7 @@ def gen_m4 ( config )
RUBY([
val = Config::CONFIG[%q[#{k}]]
val = val.to_s.gsub(%q['], %q['"'"'])
- %q['] + val + %q[']
+ %q{['} + val + %q{']}
]))
AC_DEFINE([#{name}], $#{name},
[Contains Config::CONFIG['#{k}'] (generated by rbconfig_gen.rb)])
--
1.6.5