[Groonga-commit] ranguba/rroonga at 1590e00 [master] Add support for --with-groonga-configure-options

Back to archive index
Kouhei Sutou null+****@clear*****
Wed May 8 09:59:43 JST 2019


Kouhei Sutou	2019-05-08 09:59:43 +0900 (Wed, 08 May 2019)

  Revision: 1590e00f257f81fb006f63fd89419785bf25fad7
  https://github.com/ranguba/rroonga/commit/1590e00f257f81fb006f63fd89419785bf25fad7

  Message:
    Add support for --with-groonga-configure-options
    
    GitHub: fix #146
    
    Reported by Tomás Pollak. Thanks!!!

  Modified files:
    ext/groonga/extconf.rb

  Modified: ext/groonga/extconf.rb (+4 -0)
===================================================================
--- ext/groonga/extconf.rb    2019-04-25 11:59:54 +0900 (f283affc)
+++ ext/groonga/extconf.rb    2019-05-08 09:59:43 +0900 (b5cacad5)
@@ -172,6 +172,10 @@ def configure_command_line(prefix)
   escaped_command_line = command_line.collect do |command|
     Shellwords.escape(command)
   end
+  custom_command_line_options = with_config("groonga-configure-options")
+  if custom_command_line_options.is_a?(String)
+    escaped_command_line << custom_command_line_options
+  end
   escaped_command_line.join(" ")
 end
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190508/62d4d0c6/attachment.html>


More information about the Groonga-commit mailing list
Back to archive index