clean-up gettext support code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9710 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-03-11 10:49:09 +00:00
parent fc71ca3447
commit 208c57fad7
5 changed files with 15 additions and 15 deletions

View File

@ -1,3 +1,10 @@
2005-03-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* configure.ac: remove hack when GNU gettext utilities are not
available; remove calls to AC_C_CONST and AC_C_INLINE (already
required by AM_INTL_SUBDIR; remove ALL_LINGUAS variable (see
po/LINGUAS instead); do not AC_SUBST LINGUAS.
2005-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de> 2005-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* autogen.sh: remove autom4te.cache directories * autogen.sh: remove autom4te.cache directories

View File

@ -22,10 +22,6 @@ LYX_VERSION_SUFFIX
AM_INIT_AUTOMAKE($lyxname, $VERSION) AM_INIT_AUTOMAKE($lyxname, $VERSION)
# The list of languages known to LyX
# This is needed by GNU gettext
ALL_LINGUAS="bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru sk sl sv tr wa"
### Set the execute permissions of the various scripts correctly ### Set the execute permissions of the various scripts correctly
for file in config/install-sh config/mkinstalldirs lib/configure ; do for file in config/install-sh config/mkinstalldirs lib/configure ; do
chmod 755 ${srcdir}/${file} chmod 755 ${srcdir}/${file}
@ -240,18 +236,7 @@ fi
### Setup GNU gettext ### Setup GNU gettext
dnl GNU gettext is written in C dnl GNU gettext is written in C
AC_LANG_PUSH(C) AC_LANG_PUSH(C)
# Some tests that may be useful for gettext
AC_C_CONST
AC_C_INLINE
# Do the real setup now
AM_GNU_GETTEXT AM_GNU_GETTEXT
# a hack for those who try to change LyX, but do not have gettext installed
case "${XGETTEXT}" in
*:) XGETTEXT='cp ${srcdir}/lyx.pot ./${PACKAGE}.po ; :'
esac
AC_SUBST(LINGUAS)
AC_LANG_POP(C) AC_LANG_POP(C)
# some standard header files # some standard header files

View File

@ -1,3 +1,7 @@
2005-03-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* LINGUAS: new file. Lists the languages known to LyX.
2005-02-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org> 2005-02-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* *.po: remerge with gettext 0.13 * *.po: remerge with gettext 0.13

3
po/LINGUAS Normal file
View File

@ -0,0 +1,3 @@
# The list of languages known to LyX
bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru sk sl sv tr wa

View File

@ -39,6 +39,7 @@ src/frontends/gtk/GBC.h
src/frontends/gtk/GBox.C src/frontends/gtk/GBox.C
src/frontends/gtk/GChanges.C src/frontends/gtk/GChanges.C
src/frontends/gtk/GCharacter.C src/frontends/gtk/GCharacter.C
src/frontends/gtk/GDocument.C
src/frontends/gtk/GERT.C src/frontends/gtk/GERT.C
src/frontends/gtk/GErrorList.C src/frontends/gtk/GErrorList.C
src/frontends/gtk/GFloat.C src/frontends/gtk/GFloat.C