Fix configure bug with gettext

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@626 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-03-24 14:08:18 +00:00
parent e5d7d21ed7
commit 8d3a4fd463
4 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2000-03-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* 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 <jug@sad.it>
* src/insets/insetcollapsable.C (Edit):

View File

@ -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

View File

@ -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

View File

@ -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 <excalibor@iname.com>\n"
"Language-Team: Spanish <es@li.org>\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« "