diff Kinput2.conf @ 16:598fcbe482b5

imported patch 19_kinput2-v3.1-ruby.patch
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 20:38:17 +0900
parents 92745d501b9a
children
line wrap: on
line diff
--- a/Kinput2.conf	Mon Mar 08 20:38:16 2010 +0900
+++ b/Kinput2.conf	Mon Mar 08 20:38:17 2010 +0900
@@ -20,6 +20,7 @@
 #define UseCanna	/* define if you are going to use Canna */
 #define UseSj3		/* define if you are going to use Sj3 */
 /* #define UseAtok */	/* define if you are going to use Atok */
+/* #define UseRuby */	/* define if you are going to use Ruby */
 
 
 XCOMM Wnn configuration
@@ -137,6 +138,23 @@
 ATOKLIB = -latok12n -latok12util
 
 
+XCOMM Ruby configuration
+/*
+ * If you define UseRuby, set following 2 variables:
+ *	RUBYSRC: Ruby source directory (or directory of installed headers)
+ *	RUBYLIB: Ruby user library
+ */
+
+/*
+ * If you have already installed Ruby header files and libraries..
+ */
+XCOMM use installed headers/libraries
+
+RUBYDIR = /usr/local/lib/site_ruby
+RUBYLIB = -lruby ../lib/Xrubylib/libXrubylib.a
+RUBYINSTDIR = /usr/lib/ruby
+RUBYSRC = $(RUBYINSTDIR)/1.6/i386-linux
+
 /**
  ** Transport configuration:
  **	Kinput2 X Input Method Protocol handler supports