Subject: Re: dependency to gettext
To: Johnny C. Lam <>
From: None <>
List: tech-pkg
Date: 11/01/2000 09:06:20
>> 	i'm not sure how to solve the former point.  if configure script in
>> 	devel/bison is clever enough to fall back to /usr/lib/libintl.a,
>> 	we should need the following lines only:
>> 		LIBINTL=	yes
>> 		BUILD_DEPENDS+=	msgfmt:../../devel/gettext
>> 	but at this moment, those configure scripts do not do the right thing.
>>From the packages I remember working on, the configure scripts will
>check for libintl.h and also whether gettext() is in libintl, and if
>either if false, then it will build an included gettext distribution.

	now I guess I understood what is happening...
	gettext.m4 (shipped with gettext) has a mistake and it is included in
	every GNU product, becoming a obstacle.


--- gettext.m4-	Wed Nov  1 09:05:01 2000
+++ gettext.m4	Wed Nov  1 09:05:15 2000
@@ -49,7 +49,8 @@
 	       [AC_CACHE_CHECK([for gettext in libintl],
 		 [AC_CHECK_LIB(intl, gettext,
-		  gt_cv_func_gettext_libintl=yes,
+		  [gt_cv_func_gettext_libintl=yes
+		  LIBS="$LIBS -lintl"],