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
--libs)
if test "@libdir@" != "/usr/lib"; then
- echo "-L@libdir@ -l${LIBNAME}"
+ echo "-L@libdir@ ${LIBNAME}"
else
- echo "-l${LIBNAME}"
+ echo "${LIBNAME}"
fi;;
--cflags)
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 <m17n.h> and be linked by -lm17n. With that,
- CORE API is also available.
+ program must include <m17n.h> and be linked by -lm17n (some system
+ requires -lm17n-core in addition). With that, CORE API is also available.
<li> GUI API
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 <m17n-gui.h>, and be linked by -lm17n-gui. With that,
- CORE and SHELL APIs are also available.
+ include <m17n-gui.h>, and be linked by -lm17n-gui (some system
+ requires -lm17n-core -lm17n in addition). With that, CORE and
+ SHELL APIs are also available.
<li> MISC API
m17n ¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÍøÍѤ¹¤ë¥â¥¸¥å¡¼¥ë¡Ê¥³¡¼¥ÉÊÑ´¹¡¢Ê¸»ú¥×¥í¥Ñ¥Æ¥£
Åù¡Ë¤òÄ󶡤¹¤ë¡£¥â¥¸¥å¡¼¥ë¤Ï¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éɬÍפ˱þ¤¸¤Æ¿Íͤʥǡ¼
¥¿¤ò¥í¡¼¥É¤¹¤ë¡£ÍøÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à¤Ï
- <m17n.h> ¤ò include ¤·¡¢ -lm17n ¤Ç¥ê¥ó¥¯¤µ¤ì¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£¤³¤¦
- ¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥³¥¢ API ¤â»ÈÍѤǤ¤ë¡£
+ <m17n.h> ¤ò include ¤·¡¢ -lm17n ¤Ç¥ê¥ó¥¯¤µ¤ì¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¡Ê¥·¥¹
+ ¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï -lm17n-core ¤âɬÍסˡ£¤³¤¦¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥³¥¢ API
+ ¤â»ÈÍѤǤ¤ë¡£
<li> GUI API
¥¹¥Æ¥à¡¢GD ¥é¥¤¥Ö¥é¥ê¤Î gdImagePtr¡¢¥Ì¥ë¥Ç¥Ð¥¤¥¹¤¬¥°¥é¥Õ¥£¥Ã¥¯¥Ç¥Ð
¥¤¥¹¤È¤·¤Æ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£ÍøÍѤ¹¤ë¤¿¤á¤Ë¤Ï¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í
¥°¥é¥à¤Ï <m17n-gui.h> ¤ò include ¤·¡¢-lm17n-gui ¤Ç¥ê¥ó¥¯¤µ¤ì¤Ê¤¯¤Æ
- ¤Ï¤Ê¤é¤Ê¤¤¡£¤³¤¦¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥³¥¢ API ¤È¥·¥§¥ë API ¤â»ÈÍѤǤ¤ë¡£
+ ¤Ï¤Ê¤é¤Ê¤¤¡Ê¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï -lm17n-core -lm17n ¤âɬÍסˡ£¤³¤¦¤¹
+ ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥³¥¢ API ¤È¥·¥§¥ë API ¤â»ÈÍѤǤ¤ë¡£
<li> ¤½¤Î¾¤Î API