diff options
author | Philipp Thomas <pthomas@suse.de> | 2001-01-21 09:48:56 +0000 |
---|---|---|
committer | Philipp Thomas <pthomas@gcc.gnu.org> | 2001-01-21 09:48:56 +0000 |
commit | 380a627a15174ebaabb311953ed394783faffa56 (patch) | |
tree | ede21a30a0ae4f14bd30ef2aa0dbb14d9545df09 /gcc/aclocal.m4 | |
parent | 0505b0467fcabcc8f0cca07596ffd43662b5fbd0 (diff) | |
download | gcc-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.m4 | 4 |
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) |