(gd_render): If gdAlphaTransparent is not defined,
[m17n/m17n-lib.git] / m17n-config.in
index 208c358..9117c5f 100644 (file)
@@ -18,12 +18,10 @@ if test $# -eq 0; then
   exit 0
 fi
 
-LIBNAME="-lm17n-core -lm17n"
-
 case $1 in
 CORE) LIBNAME="-lm17n-core"; shift;;
- GUI) LIBNAME="-lm17n-core -lm17n -lm17n-gui"; shift;;
-   X) LIBNAME="-lm17n-core -lm17n -lm17n-gui"; shift;;
+GUI|X) LIBNAME="-lm17n-core -lm17n -lm17n-gui"; shift;;
+*) LIBNAME="-lm17n-core -lm17n";;
 esac
 
 case $1 in
@@ -57,19 +55,19 @@ cat > /dev/null <<EOF
 /***ja @page m17n-config m17n ¥é¥¤¥Ö¥é¥ê¤Î¥³¥ó¥Ñ¥¤¥ë¡¦¥ê¥ó¥¯¥ª¥×¥·¥ç¥ó¤Îɽ¼¨ */
 
 /***
-@section synopsis SYNOPSIS
+@section m17n-config-synopsis SYNOPSIS
 
-m17n-config [CORE | X] [--cflags | --libs | --libtool] [--version]
+m17n-config [CORE | GUI] [--cflags | --libs | --libtool] [--version]
 
-@section description DESCRIPTION
+@section m17n-config-description DESCRIPTION
 
 The shell script m17n-config prints compile and link options for a
 program that uses the m17n library.
 
 By default, the printed options are for such a program that uses SHELL
 API of the libray.  But, if the first argument is "CORE", the options
-are for a program that uses only CORE API, if the first argument "X",
-the options are for a program that uses GUI API on X window.
+are for a program that uses only CORE API, if the first argument "GUI",
+the options are for a program that uses GUI API.
 
 The other arguments are as follows.