From: handa Date: Mon, 21 Jun 2004 04:56:03 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: withdl~54 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=fbc3532af8f1c1c939a093e74496ae643af2913b;p=m17n%2Fm17n-lib.git *** empty log message *** --- diff --git a/m17n-config.in b/m17n-config.in index 4a58e06..5d05972 100644 --- a/m17n-config.in +++ b/m17n-config.in @@ -18,12 +18,12 @@ if test $# -eq 0; then exit 0 fi -LIBNAME=m17n +LIBNAME=-lm17n case $1 in -CORE) LIBNAME=m17n-core; shift;; -GUI) LIBNAME=m17n-gui; shift;; -X) LIBNAME=m17n-gui; shift;; +CORE) LIBNAME="-lm17n-core"; shift;; + GUI) LIBNAME="-lm17n-core -lm17n -lm17n-gui"; shift;; + X) LIBNAME="-lm17n-core -lm17n -lm17n-gui"; shift;; esac case $1 in @@ -32,9 +32,9 @@ case $1 in --libs) if test "@libdir@" != "/usr/lib"; then - echo "-L@libdir@ -l${LIBNAME}" + echo "-L@libdir@ ${LIBNAME}" else - echo "-l${LIBNAME}" + echo "${LIBNAME}" fi;; --cflags) diff --git a/src/m17n-core.c b/src/m17n-core.c index fd0534c..c2c01ae 100644 --- a/src/m17n-core.c +++ b/src/m17n-core.c @@ -40,8 +40,8 @@ It provides modules that utilize the m17n database (code conversion, character property, etc). They load various kinds of data from the database on demand. To use this API, an application - program must include and be linked by -lm17n. With that, - CORE API is also available. + program must include and be linked by -lm17n (some system + requires -lm17n-core in addition). With that, CORE API is also available.
  • GUI API @@ -51,8 +51,9 @@ for a specific type of graphic device. Currently, X Window System, gdImagePtr of GD library, and null device are supported as a graphic device. To use this API, an application program must - include , and be linked by -lm17n-gui. With that, - CORE and SHELL APIs are also available. + include , and be linked by -lm17n-gui (some system + requires -lm17n-core -lm17n in addition). With that, CORE and + SHELL APIs are also available.
  • MISC API @@ -143,8 +144,9 @@ m17n ¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÍøÍѤ¹¤ë¥â¥¸¥å¡¼¥ë¡Ê¥³¡¼¥ÉÊÑ´¹¡¢Ê¸»ú¥×¥í¥Ñ¥Æ¥£ Åù¡Ë¤òÄ󶡤¹¤ë¡£¥â¥¸¥å¡¼¥ë¤Ï¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éɬÍפ˱þ¤¸¤Æ¿Íͤʥǡ¼ ¥¿¤ò¥í¡¼¥É¤¹¤ë¡£ÍøÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à¤Ï - ¤ò include ¤·¡¢ -lm17n ¤Ç¥ê¥ó¥¯¤µ¤ì¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£¤³¤¦ - ¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥³¥¢ API ¤â»ÈÍѤǤ­¤ë¡£ + ¤ò include ¤·¡¢ -lm17n ¤Ç¥ê¥ó¥¯¤µ¤ì¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¡Ê¥·¥¹ + ¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï -lm17n-core ¤âɬÍסˡ£¤³¤¦¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥³¥¢ API + ¤â»ÈÍѤǤ­¤ë¡£
  • GUI API @@ -155,7 +157,8 @@ ¥¹¥Æ¥à¡¢GD ¥é¥¤¥Ö¥é¥ê¤Î gdImagePtr¡¢¥Ì¥ë¥Ç¥Ð¥¤¥¹¤¬¥°¥é¥Õ¥£¥Ã¥¯¥Ç¥Ð ¥¤¥¹¤È¤·¤Æ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£ÍøÍѤ¹¤ë¤¿¤á¤Ë¤Ï¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í ¥°¥é¥à¤Ï ¤ò include ¤·¡¢-lm17n-gui ¤Ç¥ê¥ó¥¯¤µ¤ì¤Ê¤¯¤Æ - ¤Ï¤Ê¤é¤Ê¤¤¡£¤³¤¦¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥³¥¢ API ¤È¥·¥§¥ë API ¤â»ÈÍѤǤ­¤ë¡£ + ¤Ï¤Ê¤é¤Ê¤¤¡Ê¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï -lm17n-core -lm17n ¤âɬÍסˡ£¤³¤¦¤¹ + ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥³¥¢ API ¤È¥·¥§¥ë API ¤â»ÈÍѤǤ­¤ë¡£
  • ¤½¤Î¾¤Î API