Commit Graph

20 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
1922ee7d40 Autoconf: disable warning deprecated-copy when supported
Cherry-picked from:
4aee447af1
c52049bb83
37c34c5ca9
2021-10-15 18:11:25 +02:00
Georg Baum
232e4d1f7e Update imported gettext code from gettext 0.19.7
This might help with the spurious .pot file update error in 'make distcheck'.
At least it does not break anything.
2016-06-01 21:45:38 +02:00
Georg Baum
08afc52c4c Configure included iconv with autotools
The included iconv should not be used on Linux or OS X, but (depending on
local configuration) it might be needed for crosscompiling a mingw target
from Linux. Now the user can choose whether to use the included iconv or not.
cmake does already support that.

eilseq.m4 was taken from the original libiconv 1.14 package.
2016-05-29 17:55:43 -04:00
Jean-Marc Lasgouttes
6b8d47a203 Add some more m4 macro files for gettext 2013-06-03 15:37:13 +02:00
Jean-Marc Lasgouttes
b14b86cfd1 Another missing m4 file 2013-05-31 18:49:11 +02:00
Jean-Marc Lasgouttes
3a8c460d4a Re-add m4 support file that is needed for po/ directory 2013-05-31 18:32:55 +02:00
Jean-Marc Lasgouttes
c372f7ad23 Really update the files that create/install .mo files
Update po.m4 and the makefile machinery in po/ to use code from gettext 0.18.2.
2013-05-30 22:10:02 +02:00
Jean-Marc Lasgouttes
d7e2705228 Get rid of all traces of libintl.
This requires to re-add some tests in configure.ac.

Note that the code to generate a Makefile in po/ has been kept.
2013-05-30 22:10:01 +02:00
Jean-Marc Lasgouttes
d5e0e21ba0 Fix compatibility with automake 1.13
Do not use AM_PROG_MKDIR_P, which is obsolete. We use  the AC_* version
now, which requires autoconf>=2.59d. This also mean that we need to use
the variable MKDIR_P instead of mkdir_p.
2013-01-21 10:15:27 +01:00
Jean-Marc Lasgouttes
96d9324f4d create the initial po/POTFILE.in at autogen.sh time; I hope this does
not require gnu make, otherwise we'll fix it later. 

With this patch, we are (again) using pristine gettext sources, and we do not 
hook into the m4 code. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25290 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 15:14:20 +00:00
Enrico Forestieri
8769cafc89 Whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25279 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 15:58:08 +00:00
Enrico Forestieri
9d162bf188 * m4/po.m4: remove POTFILES.in if it is empty, otherwise it is rebuilt
only when a Makefile.am is modified.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25278 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 15:37:23 +00:00
Jean-Marc Lasgouttes
33258e1197 put the 0.16.1 code from gettext back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25208 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 13:50:05 +00:00
Jean-Marc Lasgouttes
3b99db73e4 Remove our in tree gettext version and replace with a mechanism to import it.
* autogen.sh: use autopoint to poulate the gettext code; simplify.

	* po/Rules-lyx: move the LyX-specific code of the Makefile here.

	* configure.ac: add magic incantation telling autopoint to import 
	gettext 0.16.1. Generate config.h in toplevel directory to please 
	gettext.

	* src/tex2lyx/Makefile.am:
	* src/client/Messages.cpp: compile fix

	* remove all files that came from a gettext distribution.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:25:55 +00:00
André Pönitz
581b67b26e move ChangeLogs to the attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:12:55 +00:00
Enrico Forestieri
630c3cf83f Make sure that an empty po/POTFILES.in file exists at configure time,
otherwise no Makefile is generated in the po dir and compilation fails.
Once the empty file served the purpose, remove it in order to
immediately trigger its regeneration, which would only happen after
updating one of the Makefile.am files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20527 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 22:50:00 +00:00
Jean-Marc Lasgouttes
f84a1c6e5c the "translation" patch series] Part 1: upgrading to gettext 0.14.6
* m4/*:
	* intl/*:
	* ABOUT-NLS:
	* po/Makefile.in.in:
	* po/POTFILES.in:
	* po/Makevars.template:
	* config/mkinstalldirs:
	* config/config.rpath: update from gettext 0.14.6 source. This enables
	translation to system language on Mac OS X



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 19:22:32 +00:00
Lars Gullik Bjønnes
4a7ab830bc Delete all .cvsignore files from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Angus Leeming
46ee486bda Whitespace, only whitespace. Part II.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9138 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-28 14:35:53 +00:00
Lars Gullik Bjønnes
b02093873e Update gettext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8781 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-26 16:53:50 +00:00