diff options
author | pthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-21 09:48:56 +0000 |
---|---|---|
committer | pthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-21 09:48:56 +0000 |
commit | b521bd38bbda1e0bd575779b1cc961e8168bc64e (patch) | |
tree | ede21a30a0ae4f14bd30ef2aa0dbb14d9545df09 /gcc/aclocal.m4 | |
parent | f8afc1ccf82089274d46768580c8e94e9e31355b (diff) | |
download | gcc-b521bd38bbda1e0bd575779b1cc961e8168bc64e.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39167 138bc75d-0d04-0410-961f-82ee72b054a4
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 1713a75fc49..8c8efd84b84 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) |