aboutsummaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r--gcc/aclocal.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4
index 1713a75..8c8efd8 100644
--- a/gcc/aclocal.m4
+++ b/gcc/aclocal.m4
@@ -392,6 +392,10 @@ AC_DEFUN(AM_WITH_NLS,
gt_cv_func_gettext_libintl=no)])
fi
+ if test "$gt_cv_func_gettext_libintl" = "yes"; then
+ LIBS="-lintl $LIBS"
+ fi
+
if test "$gt_cv_func_gettext_libc" = "yes" \
|| test "$gt_cv_func_gettext_libintl" = "yes"; then
AC_DEFINE(HAVE_GETTEXT)