From 8d3a4fd463f6865eecf7fb9e2bd63c43f9438cfe Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 24 Mar 2000 14:08:18 +0000 Subject: [PATCH] Fix configure bug with gettext git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@626 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 6 ++++++ acinclude.m4 | 6 +++++- config/gettext.m4 | 6 +++++- po/es.po | 4 ++-- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 471e5c0a85..6c3d712bfc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-03-22 Jean-Marc Lasgouttes + + * config/gettext.m4 (AM_WITH_NLS): fix a gettext bug where -lintl + would not be added to the link list when an installed gettext (not + part of libc) is found. + 2000-03-24 Juergen Vigna * src/insets/insetcollapsable.C (Edit): diff --git a/acinclude.m4 b/acinclude.m4 index 7c317dbd23..e7d8f22520 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1271,7 +1271,11 @@ AC_DEFUN(AM_WITH_NLS, [AC_CACHE_CHECK([for gettext in libintl], gt_cv_func_gettext_libintl, [AC_CHECK_LIB(intl, gettext, - gt_cv_func_gettext_libintl=yes, +dnl ============== A fix is here! ====================== +dnl -lintl was not added to the LIBS variable in this case + [gt_cv_func_gettext_libintl=yes + INTLLIBS="-lintl"], +dnl ==== end of fix gt_cv_func_gettext_libintl=no)], gt_cv_func_gettext_libintl=no)]) fi diff --git a/config/gettext.m4 b/config/gettext.m4 index 0784434634..7ecae1d0b1 100644 --- a/config/gettext.m4 +++ b/config/gettext.m4 @@ -49,7 +49,11 @@ AC_DEFUN(AM_WITH_NLS, [AC_CACHE_CHECK([for gettext in libintl], gt_cv_func_gettext_libintl, [AC_CHECK_LIB(intl, gettext, - gt_cv_func_gettext_libintl=yes, +dnl ============== A fix is here! ====================== +dnl -lintl was not added to the LIBS variable in this case + [gt_cv_func_gettext_libintl=yes + INTLLIBS="-lintl"], +dnl ==== end of fix gt_cv_func_gettext_libintl=no)], gt_cv_func_gettext_libintl=no)]) fi diff --git a/po/es.po b/po/es.po index 8351f0225c..1a19e3e604 100644 --- a/po/es.po +++ b/po/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: lyx-1.0.0\n" "POT-Creation-Date: 2000-02-17 01:59+0100\n" -"PO-Revision-Date: 2000-03-22 15:54+01:00\n" +"PO-Revision-Date: 2000-03-22 16:32+01:00\n" "Last-Translator: David Suárez de lis \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" @@ -3272,7 +3272,7 @@ msgstr " Por defecto | Personalizado | CartaUS | LegalUS | EjecutivoUS | A3 | A4 msgid "" " None | A4 small Margins (only portrait) | A4 very small Margins (only " "portrait) | A4 very wide margins (only portrait) " -msgstr " Ninguno | A4 márgenes pequeños (sólo retrato) | A4 mágenes muy pequeños (sólo retrato) | A4 márgenes muy anchos (sólo retrato) " +msgstr " Ninguno | A4 márgenes pequeños (sólo retrato) | A4 márgenes muy pequeños (sólo retrato) | A4 márgenes muy anchos (sólo retrato) " #: src/lyx_gui.C:524 msgid " ``text'' | ''text'' | ,,text`` | ,,text'' | «text» | »text« " -- 2.39.2