aboutsummaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
diff options
context:
space:
mode:
authorPhilipp Thomas <pthomas@suse.de>2001-01-21 09:48:56 +0000
committerPhilipp Thomas <pthomas@gcc.gnu.org>2001-01-21 09:48:56 +0000
commit380a627a15174ebaabb311953ed394783faffa56 (patch)
treeede21a30a0ae4f14bd30ef2aa0dbb14d9545df09 /gcc/aclocal.m4
parent0505b0467fcabcc8f0cca07596ffd43662b5fbd0 (diff)
downloadgcc-380a627a15174ebaabb311953ed394783faffa56.zip
gcc-380a627a15174ebaabb311953ed394783faffa56.tar.gz
gcc-380a627a15174ebaabb311953ed394783faffa56.tar.bz2
aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was found in libintl.
2001-01-17 Philipp Thomas <pthomas@suse.de> * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was found in libintl. * configure: Regenerate. From-SVN: r39167
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)