libintl handling



Hi all,

When I try to use precompiled libintl for gtk+ configure script,
it fails to set HAVE_DCGETTEXT, etc. The problem seems to come
from original AM_GNU_GETTEXT.

--- acinclude.m4.orig	Sun Dec  5 08:45:00 1999
+++ acinclude.m4	Sun Dec  5 08:51:48 1999
@@ -487,6 +487,10 @@
 		 gt_cv_func_dgettext_libintl=no)])
 	   fi
 
+           if test "$gt_cv_func_dgettext_libintl" = "yes"; then
+	     LIBS="$LIBS -lintl";
+           fi
+
 	   if test "$gt_cv_func_dgettext_libc" = "yes" \
 	      || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 	      AC_DEFINE(HAVE_GETTEXT)

regards,

--
SHIRASAKI Yasuhiro : Experimental Particle Physics, JLC Team
Graduate School of Science, TOHOKU University 980-8578 Japan.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]