PATCH: configure doesn't INTLLIBS when gettext is in libintl

John David Anglin dave@hiauly1.hia.nrc.ca
Wed Jan 10 16:21:00 GMT 2001


INTLLIBS is not being set when the NLS stuff is installed in libintl.
Please review and install if ok.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2001-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* aclocal.m4 (AM_WITH_NLS): Set INTLLIBS to `-lintl' when gettext
	is found in libintl.
	* configure: Rebuilt.

--- aclocal.m4.orig	Mon Oct  9 04:36:36 2000
+++ aclocal.m4	Tue Jan  9 13:10:08 2001
@@ -387,6 +387,10 @@
 		 gt_cv_func_gettext_libintl=no)])
 	   fi
 
+	   if test "$gt_cv_func_gettext_libintl" = "yes"; then
+	     INTLLIBS=-lintl
+	   fi
+
 	   if test "$gt_cv_func_gettext_libc" = "yes" \
 	      || test "$gt_cv_func_gettext_libintl" = "yes"; then
 	      AC_DEFINE(HAVE_GETTEXT)


More information about the Gcc-patches mailing list