Hi regis, >I have gettext but troubles with the value of INTLIBS and problems with perl >plug-ins and helpbrowser. The cause of the INTLLIBS problem is that gettext.m4 doesn't set the variable correctly. I've sent following patch to gettext maintainer to fix it. It will be fixed in the future release of gettext package. Packager might use the patch for the next release? -- SHIRASAKI Yasuhiro : Experimental Particle Physics, JLC Team Graduate School of Science, TOHOKU University 980-8578 Japan. --- gettext.m4.orig Fri May 1 14:45:20 1998 +++ gettext.m4 Wed Dec 1 00:44:11 1999 @@ -54,8 +54,7 @@ gt_cv_func_gettext_libintl=no)]) fi - if test "$gt_cv_func_gettext_libc" = "yes" \ - || test "$gt_cv_func_gettext_libintl" = "yes"; then + if test "$gt_cv_func_gettext_libc" = "yes"; then AC_DEFINE(HAVE_GETTEXT) AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl @@ -72,6 +71,29 @@ DATADIRNAME=lib]) INSTOBJEXT=.mo fi + fi + + if test "$gt_cv_func_gettext_libintl" = "yes"; then + alter_LIBS="$LIBS"; + LIBS="$LIBS -lintl"; + AC_DEFINE(HAVE_GETTEXT) + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl + if test "$MSGFMT" != "no"; then + AC_CHECK_FUNCS(dcgettext) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr], + [CATOBJEXT=.gmo + DATADIRNAME=share], + [CATOBJEXT=.mo + DATADIRNAME=lib]) + INSTOBJEXT=.mo + fi + LIBS="$alter_LIBS"; + INTLLIBS="-lintl"; fi ])