1# Process this file with autoconf to produce a configure script 2AC_INIT(scim, 1.4.9, suzhe@tsinghua.org.cn) 3AC_CONFIG_SRCDIR([src/scim.h]) 4 5########################################################### 6## Some definitions of Version macros. ## 7########################################################### 8 9SCIM_MAJOR_VERSION=1 10SCIM_MINOR_VERSION=4 11SCIM_MICRO_VERSION=9 12 13SCIM_VERSION=$SCIM_MAJOR_VERSION.$SCIM_MINOR_VERSION.$SCIM_MICRO_VERSION 14 15AC_SUBST(SCIM_MAJOR_VERSION) 16AC_SUBST(SCIM_MINOR_VERSION) 17AC_SUBST(SCIM_MICRO_VERSION) 18AC_SUBST(SCIM_VERSION) 19 20# libtool versioning for SCIM 21 22# increment if the interface has additions, changes, removals. 23SCIM_CURRENT=10 24 25# increment any time the source changes; set to 0 if you increment CURRENT 26SCIM_REVISION=4 27 28# increment if any interfaces have been added; set to 0 29# if any interfaces have been removed. removal has 30# precedence over adding, so set to 0 if both happened. 31SCIM_AGE=2 32 33AC_SUBST(SCIM_CURRENT) 34AC_SUBST(SCIM_REVISION) 35AC_SUBST(SCIM_AGE) 36 37# Define a string for the earliest version that this release cannot 38# coexist with. This is used for directory hierarchies. 39# 40SCIM_EPOCH=-1.0 41AC_SUBST(SCIM_EPOCH) 42 43# Define a string for the earliest version that this release has 44# binary compatibility with. This is used for module locations. 45# 46SCIM_BINARY_VERSION=1.4.0 47AC_SUBST(SCIM_BINARY_VERSION) 48 49AC_DEFINE_UNQUOTED(SCIM_BINARY_VERSION, "$SCIM_BINARY_VERSION", [The binary version of SCIM library.]) 50AC_DEFINE_UNQUOTED(SCIM_VERSION, "$SCIM_VERSION", [The release version of SCIM library.]) 51AC_DEFINE_UNQUOTED(SCIM_MAJOR_VERSION, $SCIM_MAJOR_VERSION, [The Major version of SCIM library.]) 52AC_DEFINE_UNQUOTED(SCIM_MINOR_VERSION, $SCIM_MINOR_VERSION, [The Minor version of SCIM library.]) 53AC_DEFINE_UNQUOTED(SCIM_MICRO_VERSION, $SCIM_MICRO_VERSION, [The Micro version of SCIM library.]) 54 55GETTEXT_PACKAGE=scim 56AC_SUBST(GETTEXT_PACKAGE) 57AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext domain]) 58 59########################################################### 60## Start Configuration. ## 61########################################################### 62 63# Init automake stuff 64AM_INIT_AUTOMAKE 65AM_CONFIG_HEADER([config.h]) 66 67# Init gettext 68ALL_LINGUAS="as bn_IN ca cs de es fi fr gu hi it ja kn ko ml mr nl pa pt_BR ru sk sv ta te vi zh_CN zh_TW" 69AM_GNU_GETTEXT 70 71# Init libtool 72AC_LIBTOOL_DLOPEN 73AC_PROG_LIBTOOL 74AC_LIB_LTDL 75AC_SUBST(LIBTOOL_DEPS) 76 77# libtool option to control which symbols are exported 78# right now, symbols starting with _ are not exported 79# !!! DO NOT USE IT !!! 80LIBTOOL_EXPORT_OPTIONS='' 81AC_SUBST(LIBTOOL_EXPORT_OPTIONS) 82 83# Checks for programs. 84AC_PROG_CXX 85AC_PROG_CC 86AC_LANG(C++) 87 88# Checks if doxygen is avaiable 89 90AC_ARG_WITH([doxygen], 91 AS_HELP_STRING([--without-doxygen], [Don't build API documentation]) ) 92 93DOXYGEN=no 94if test "x$with_doxygen" != "xno"; then 95 AC_PATH_PROG(DOXYGEN, doxygen, no) 96fi 97 98AM_CONDITIONAL(HAVE_DOXYGEN, test x$DOXYGEN != xno) 99AC_SUBST(DOXYGEN) 100 101# Checks if graphviz is available 102AC_CHECK_PROG(HAVE_GRAPHVIZ, dot, YES, NO) 103AC_PATH_PROG(DOT, dot) 104DOT=`dirname $DOT` 105AC_SUBST(DOT) 106 107AC_PATH_PROG(PERL, perl) 108AC_SUBST(PERL) 109 110# Checks if xsltproc is available 111AC_PATH_PROG(XSLTPROC, xsltproc, no) 112AM_CONDITIONAL(HAVE_XSLTPROC, test x$XSLTPROC != xno) 113AC_SUBST(XSLTPROC) 114 115# Checks if docbook-style-xsl is available 116AC_CHECK_FILE( 117 [/usr/share/sgml/docbook/xsl-stylesheets/html/tldp-html.xsl], 118 [DOCBOOK_XSL=/usr/share/sgml/docbook/xsl-stylesheets/html/tldp-html.xsl], 119 [AC_CHECK_FILE( 120 [/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl], 121 [DOCBOOK_XSL=/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl], 122 [AC_CHECK_FILE( 123 [/usr/share/xml/docbook/stylesheet/nwalsh/current/html/docbook.xsl], 124 [DOCBOOK_XSL=/usr/share/xml/docbook/stylesheet/nwalsh/current/html/docbook.xsl], 125 [DOCBOOK_XSL=no] 126 )] 127 )] 128) 129 130AC_SUBST(DOCBOOK_XSL) 131 132AM_CONDITIONAL(HAVE_DOCBOOK, test x$DOCBOOK_XSL != xno) 133AM_CONDITIONAL(BUILD_MANUAL, test x$XSLTPROC != xno -a x$DOCBOOK_XSL != xno) 134 135# Check intltool 136IT_PROG_INTLTOOL([0.33], [no-xml]) 137 138# Checks for libraries. 139AC_HEADER_STDC 140AC_HEADER_TIME 141AC_CHECK_HEADERS([langinfo.h libintl.h string.h dirent.h hash_map ext/hash_map]) 142 143# Checks for typedefs, structures, and compiler characteristics. 144AC_C_CONST 145AC_C_INLINE 146AC_TYPE_SIZE_T 147 148if test x$ac_cv_type_size_t != xyes; then 149 AC_MSG_ERROR([No type size_t, but SCIM needs it!]) 150fi 151 152AC_CHECK_SIZEOF(char) 153AC_CHECK_SIZEOF(unsigned short int) 154AC_CHECK_SIZEOF(unsigned int) 155AC_CHECK_SIZEOF(unsigned long int) 156AC_CHECK_SIZEOF(unsigned long long int) 157AC_CHECK_HEADERS([stdint.h],[has_stdint=yes],[has_stdint=no]) 158 159if test x$ac_cv_sizeof_unsigned_short_int = x2 && test x$ac_cv_sizeof_char = x1 ; then 160 : 161else 162 AC_MSG_ERROR([ 163*** SCIM requires 164*** sizeof (unsigned short int) == 2 165*** sizeof (char) == 1 166*** You might want to consider using the GNU C compiler. 167]) 168fi 169 170if test x$ac_cv_sizeof_wchar_t = x0 ; then 171 AC_MSG_ERROR([ 172*** SCIM requires a compiler that supports wchar_t, 173*** You might want to consider using the GNU C compiler. 174]) 175fi 176 177if test x$has_stdint = xyes; then 178 INCLUDE_STDINT="#include <stdint.h>" 179 UINT16="uint16_t" 180 UINT32="uint32_t" 181 UINT64="uint64_t" 182else 183 INCLUDE_STDINT="//#include <stdint.h>" 184 UINT16="unsigned short int" 185 if test x$ac_cv_sizeof_unsigned_int = x4; then 186 UINT32="unsigned int" 187 else 188 if test x$ac_cv_sizeof_unsigned_long_int = x4; then 189 UINT32="unsigned long int" 190 else 191 AC_MSG_ERROR([*** No suitable integer type for uint32 found.]) 192 fi 193 fi 194 if test x$ac_cv_sizeof_unsigned_long_long_int = x8; then 195 UINT64="unsigned long long int" 196 else 197 AC_MSG_ERROR([*** No suitable integer type for uint64 found.]) 198 fi 199fi 200AC_SUBST(INCLUDE_STDINT) 201AC_SUBST(UINT16) 202AC_SUBST(UINT32) 203AC_SUBST(UINT64) 204 205# Checks for library functions. 206AC_FUNC_MALLOC 207AC_CHECK_FUNCS([gettimeofday memmove memset nl_langinfo setlocale daemon]) 208AC_CHECK_FUNCS([opendir closedir readdir]) 209AC_CHECK_FUNCS([usleep nanosleep]) 210AC_CHECK_FUNCS([gethostbyname gethostbyname_r socket bind accept connect listen], 211 [socket_ok=yes], 212 [socket_ok=no]) 213 214AM_ICONV 215 216PKG_PROG_PKG_CONFIG 217 218# Check if we should build scim-panel-gtk daemon 219PKG_CHECK_MODULES(GTK2, [gtk+-2.0 >= 2.4.0 pango >= 1.1.0 gdk-pixbuf-2.0 >= 2.4.0], 220 [SCIM_HAS_GTK2=yes], 221 [SCIM_HAS_GTK2=no]) 222 223SCIM_HAS_GTK2_2=no 224if test "$SCIM_HAS_GTK2" = "yes"; then 225 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.2" ; then 226 SCIM_HAS_GTK2_2=yes 227 GTK_VERSION=2.2.0 228 AC_DEFINE(GDK_MULTIHEAD_SAFE,1,[Force use of GDK's multihead-safe APIs.]) 229 fi 230 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.3.5" ; then 231 SCIM_HAS_GTK2_4=yes 232 GTK_VERSION=2.3.5 233 AC_DEFINE(HAVE_GTK_DRAW_INSERTION_CURSOR,1,[Have gtk_draw_insertion_cursor ().]) 234 fi 235 GTK_BINARY_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` 236 GTK_LIBDIR=`$PKG_CONFIG --variable=libdir gtk+-2.0` 237 if test -z "$GTK_LIBDIR)"; then 238 GTK_LIBDIR="$libdir" 239 fi 240 GTK_IM_MODULEDIR=$GTK_LIBDIR/gtk-2.0/immodules 241 AC_SUBST(GTK_LIBDIR) 242 AC_SUBST(GTK_IM_MODULEDIR) 243 AC_SUBST(GTK_VERSION) 244 AC_SUBST(GTK_BINARY_VERSION) 245fi 246 247# Check if we have gthread 248PKG_CHECK_MODULES(GTHREAD2,[gthread-2.0 >= 2.0.0], 249 [SCIM_HAS_GTHREAD2=yes], 250 [SCIM_HAS_GTHREAD2=no]) 251 252# Checks for X11 header files. 253AC_PATH_XTRA 254 255# Add -lX11 to X_LIBS 256if test "$have_x" = "yes"; then 257 X_LIBS="$X_LIBS -lX11" 258fi 259 260########################################################### 261## Definiation of compile args. ## 262########################################################### 263AC_ARG_WITH(gtk-im-module-dir, 264 AS_HELP_STRING([--with-gtk-im-module-dir=dir], 265 [Select gtk immodule dir]), 266 GTK_IM_MODULEDIR=$with_gtk_im_module_dir) 267 268AC_ARG_ENABLE(ld-version-script, 269 [ --enable-ld-version-script Use ld version script to limit exported symbols], , 270 enable_ld_version_script=no) 271 272AC_ARG_ENABLE(debug, 273 [ --enable-debug Turn on debugging], , 274 enable_debug=no) 275 276AC_ARG_ENABLE(tests, 277 [ --enable-tests Build tests/*], , 278 enable_tests=no) 279 280AC_ARG_ENABLE(hash-map, 281 [ --enable-hash-map Use hast_map instead of std::map internally], , 282 enable_hash_map=no) 283 284AC_ARG_ENABLE(config-simple, 285 [ --disable-config-simple Do not build Simple Config module], , 286 enable_config_simple=yes) 287 288AC_ARG_ENABLE(config-socket, 289 [ --disable-config-socket Do not build Socket Config module], , 290 enable_config_socket=yes) 291 292AC_ARG_ENABLE(frontend-x11, 293 [ --disable-frontend-x11 Do not build X11 FrontEnd module], , 294 enable_frontend_x11=yes) 295 296AC_ARG_ENABLE(frontend-socket, 297 [ --disable-frontend-socket Do not build Socket FrontEnd module], , 298 enable_frontend_socket=yes) 299 300AC_ARG_ENABLE(im-rawcode, 301 [ --disable-im-rawcode Do not build RawCode IMEngine module], , 302 enable_im_rawcode=yes) 303 304AC_ARG_ENABLE(im-socket, 305 [ --disable-im-socket Do not build Socket IMEngine module], , 306 enable_im_socket=yes) 307 308AC_ARG_ENABLE(filter-sctc, 309 [ --disable-filter-sctc Do not build Simplified/Traditional Chinese conversion Filter module], , 310 enable_filter_sctc=yes) 311 312AC_ARG_ENABLE(gtk2-immodule, 313 [ --disable-gtk2-immodule Do not build GTK2 IMModule], , 314 enable_gtk2_immodule=yes) 315 316AC_ARG_ENABLE(panel-gtk, 317 [ --disable-panel-gtk Do not build GTK2 Panel], , 318 enable_panel_gtk=check) 319 320AC_ARG_ENABLE(setup-ui, 321 [ --disable-setup-ui Do not build Setup UI], , 322 enable_setup_ui=yes) 323 324if test "$have_x" = "yes"; then 325 SCIM_BUILD_X11_UTILS=1 326 enable_x11_utils=yes 327else 328 SCIM_BUILD_X11_UTILS=0 329 enable_x11_utils=no 330fi 331 332if test "$enable_hash_map" = "yes"; then 333 AC_DEFINE(ENABLE_HASH_MAP,1,[Use hash map instead of map in libscim]) 334fi 335 336if test "$enable_debug" = "yes"; then 337 AC_DEFINE(ENABLE_DEBUG,1,[Define this to enable the debug facility in libscim]) 338 CFLAGS="$CFLAGS -g" 339 CXXFLAGS="$CXXFLAGS -g" 340fi 341 342if test "$enable_tests" = "yes"; then 343 SCIM_BUILD_TESTS=1 344else 345 SCIM_BUILD_TESTS=0 346 enable_tests=no 347fi 348 349if test "$enable_config_simple" = "yes"; then 350 SCIM_BUILD_CONFIG_SIMPLE=1 351else 352 SCIM_BUILD_CONFIG_SIMPLE=0 353 enable_config_simple=no 354fi 355 356if test "$enable_config_socket" = "yes" -a "$socket_ok" = "yes"; then 357 SCIM_BUILD_CONFIG_SOCKET=1 358else 359 SCIM_BUILD_CONFIG_SOCKET=0 360 enable_config_socket=no 361fi 362 363if test "$enable_frontend_x11" = "yes" -a "$have_x" = "yes"; then 364 SCIM_BUILD_FRONTEND_X11=1 365else 366 SCIM_BUILD_FRONTEND_X11=0 367 enable_frontend_x11=no 368fi 369 370if test "$enable_frontend_socket" = "yes" -a "$socket_ok" = "yes"; then 371 SCIM_BUILD_FRONTEND_SOCKET=1 372else 373 SCIM_BUILD_FRONTEND_SOCKET=0 374 enable_frontend_socket=no 375fi 376 377if test "$enable_im_rawcode" = "yes"; then 378 SCIM_BUILD_IMENGINE_RAWCODE=1 379else 380 SCIM_BUILD_IMENGINE_RAWCODE=0 381 enable_im_rawcode=no 382fi 383 384if test "$enable_im_socket" = "yes" -a "$socket_ok" = "yes"; then 385 SCIM_BUILD_IMENGINE_SOCKET=1 386else 387 SCIM_BUILD_IMENGINE_SOCKET=0 388 enable_im_socket=no 389fi 390 391if test "$enable_filter_sctc" = "yes"; then 392 SCIM_BUILD_FILTER_SCTC=1 393else 394 SCIM_BUILD_FILTER_SCTC=0 395 enable_filter_sctc=no 396fi 397 398if test "$enable_gtk2_immodule" = "yes" -a "$SCIM_HAS_GTK2" = "yes"; then 399 SCIM_BUILD_GTK2_IMMODULE=1 400else 401 SCIM_BUILD_GTK2_IMMODULE=0 402 enable_gtk2_immodule=no 403fi 404 405if test "$enable_setup_ui" = "yes" -a "$SCIM_HAS_GTK2" = "yes"; then 406 SCIM_BUILD_SCIM_SETUP=1 407 AC_DEFINE(HAVE_SCIM_SETUP,1,[Have scim-setup program.]) 408else 409 SCIM_BUILD_SCIM_SETUP=0 410 enable_setup_ui=no 411fi 412 413if test "$SCIM_HAS_GTK2" = "yes"; then 414 enable_gtk_utils=yes 415 SCIM_BUILD_GTK_UTILS=1 416else 417 enable_gtk_utils=no 418 SCIM_BUILD_GTK_UTILS=0 419fi 420 421enable_tray_icon=no 422if test "$SCIM_HAS_GTK2_2" = "yes" -a "$no_x" != "yes"; then 423 enable_tray_icon=yes 424 AC_DEFINE(ENABLE_TRAY_ICON,1,[Enable the TrayIcon code.]) 425fi 426 427SCIM_BUILD_PANEL_GTK=0 428if test "$enable_panel_gtk" != "no"; then 429 enable_panel_gtk=no 430 if test "$SCIM_HAS_GTHREAD2" = "yes" -a "$SCIM_HAS_GTK2" = "yes"; then 431 SCIM_BUILD_PANEL_GTK=1 432 enable_panel_gtk=yes 433 fi 434fi 435 436#if nothing needs libscim-gtkutils, just disable it 437if test "$enable_panel_gtk" != "yes" -a "$enable_setup_ui" != "yes"; then 438 enable_gtk_utils=no 439 SCIM_BUILD_GTK_UTILS=0 440fi 441 442AM_CONDITIONAL(SCIM_LD_VERSION_SCRIPT, 443 [test "$enable_ld_version_script" = "yes"]) 444 445AM_CONDITIONAL(SCIM_BUILD_TESTS, 446 [test "$enable_tests" = "yes"]) 447 448AM_CONDITIONAL(SCIM_BUILD_CONFIG_SIMPLE, 449 [test "$enable_config_simple" = "yes"]) 450 451AM_CONDITIONAL(SCIM_BUILD_CONFIG_SOCKET, 452 [test "$enable_config_socket" = "yes"]) 453 454AM_CONDITIONAL(SCIM_BUILD_FRONTEND_X11, 455 [test "$enable_frontend_x11" = "yes"]) 456 457AM_CONDITIONAL(SCIM_BUILD_FRONTEND_SOCKET, 458 [test "$enable_frontend_socket" = "yes"]) 459 460AM_CONDITIONAL(SCIM_BUILD_IMENGINE_SOCKET, 461 [test "$enable_im_socket" = "yes"]) 462 463AM_CONDITIONAL(SCIM_BUILD_IMENGINE_RAWCODE, 464 [test "$enable_im_rawcode" = "yes"]) 465 466AM_CONDITIONAL(SCIM_BUILD_GTK2_IMMODULE, 467 [test "$enable_gtk2_immodule" = "yes"]) 468 469AM_CONDITIONAL(SCIM_BUILD_FILTER_SCTC, 470 [test "$enable_filter_sctc" = "yes"]) 471 472AM_CONDITIONAL(SCIM_BUILD_SCIM_SETUP, 473 [test "$enable_setup_ui" = "yes"]) 474 475AM_CONDITIONAL(SCIM_BUILD_GTK_UTILS, 476 [test "$enable_gtk_utils" = "yes"]) 477 478AM_CONDITIONAL(SCIM_BUILD_X11_UTILS, 479 [test "$enable_x11_utils" = "yes"]) 480 481AM_CONDITIONAL(SCIM_BUILD_TRAY_ICON, 482 [test "$enable_tray_icon" = "yes"]) 483 484AM_CONDITIONAL(SCIM_BUILD_PANEL_GTK, 485 [test "$enable_panel_gtk" = "yes"]) 486 487AC_SUBST(SCIM_BUILD_TESTS) 488AC_SUBST(SCIM_BUILD_CONFIG_SIMPLE) 489AC_SUBST(SCIM_BUILD_CONFIG_SOCKET) 490AC_SUBST(SCIM_BUILD_FRONTEND_X11) 491AC_SUBST(SCIM_BUILD_FRONTEND_SOCKET) 492AC_SUBST(SCIM_BUILD_IMENGINE_RAWCODE) 493AC_SUBST(SCIM_BUILD_IMENGINE_TABLE) 494AC_SUBST(SCIM_BUILD_IMENGINE_SOCKET) 495AC_SUBST(SCIM_BUILD_FILTER_SCTC) 496AC_SUBST(SCIM_BUILD_GTK2_IMMODULE) 497AC_SUBST(SCIM_BUILD_SCIM_SETUP) 498AC_SUBST(SCIM_BUILD_PANEL_GTK) 499AC_SUBST(SCIM_BUILD_GTK_UTILS) 500AC_SUBST(SCIM_BUILD_X11_UTILS) 501 502# Output All necessary Paths. 503SCIM_DATADIR="$datadir/scim" 504SCIM_SYSCONFDIR="$sysconfdir" 505SCIM_ICONDIR="$datadir/scim/icons" 506SCIM_MODULE_PATH="$libdir/scim$SCIM_EPOCH" 507SCIM_LIBEXECDIR="$libdir/scim$SCIM_EPOCH" 508SCIM_LOCALEDIR="$datadir/locale" 509SCIM_TEMPDIR="/tmp" 510 511AC_SUBST(SCIM_DATADIR) 512AC_SUBST(SCIM_SYSCONFDIR) 513AC_SUBST(SCIM_ICONDIR) 514AC_SUBST(SCIM_MODULE_PATH) 515AC_SUBST(SCIM_LIBEXECDIR) 516AC_SUBST(SCIM_LOCALEDIR) 517AC_SUBST(SCIM_TEMPDIR) 518 519########################################################### 520## Output files. ## 521########################################################### 522AC_SUBST(ac_aux_dir) 523AC_CONFIG_FILES([Makefile 524 m4/Makefile 525 intl/Makefile 526 po/Makefile.in 527 src/Makefile 528 src/scim_types.h 529 utils/Makefile 530 data/Makefile 531 data/icons/Makefile 532 data/pixmaps/Makefile 533 modules/Makefile 534 modules/FrontEnd/IMdkit/Makefile 535 modules/FrontEnd/Makefile 536 modules/IMEngine/Makefile 537 modules/Filter/Makefile 538 modules/Config/Makefile 539 modules/SetupUI/Makefile 540 docs/scim.cfg 541 docs/Makefile 542 docs/manual/Makefile 543 docs/manual/zh_CN/Makefile 544 docs/manual/zh_CN/figures/Makefile 545 configs/Makefile 546 extras/Makefile 547 extras/gtk2_immodule/Makefile 548 extras/setup/Makefile 549 extras/setup/scim-setup 550 extras/panel/Makefile 551 tests/Makefile 552 intltool-extract 553 intltool-merge 554 intltool-update 555 scim.pc 556 scim-gtkutils.pc 557 scim-x11utils.pc 558 scim.spec]) 559AC_OUTPUT 560 561AC_MSG_RESULT([ 562Build options: 563 Version $SCIM_VERSION 564 Install prefix $prefix 565 Build shared libs $enable_shared 566 Build static libs $enable_static 567 Build tests/* $enable_tests 568 Enable debug $enable_debug 569 Enable ld version script $enable_ld_version_script 570 571Module options: 572 Simple config module $enable_config_simple 573 Socket config module $enable_config_socket 574 575 X11 FrontEnd module $enable_frontend_x11 576 Socket FrontEnd module $enable_frontend_socket 577 578 RawCode IMEngine module $enable_im_rawcode 579 Socket IMEngine module $enable_im_socket 580 581 SCTC Filter module $enable_filter_sctc 582 583 GTK2 Utility Library $enable_gtk_utils 584 X11 Utility Library $enable_x11_utils 585 586 GTK2 IMModule $enable_gtk2_immodule 587 GTK2 IMModule dir $GTK_IM_MODULEDIR 588 589 GUI Setup Utility $enable_setup_ui 590 591 GTK2 Panel GUI $enable_panel_gtk 592 593 Enable TrayIcon $enable_tray_icon 594]) 595 596