Commit Graph

111 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
86ae7dad3f Require automake 1.14 and autoconf 2.65
This allows to fix distclean properly, since we know that
subdir-objects is used. When it is the case, it is not a good idea for
a Makefile to use a source file which is under the control of another
one. This could not be made to work work with old automake versions
(<1.14).

Therefore we refer directly to object files in Makefile.am instead of
source files. The actually leads to less compilation in tex2lyx.

Update the code here and there to remove compatibility hacks. Update
documentation.

Re-enable the layout test and fix the Length test, which was ovewriting
memory in test_inPixels() because lyxrc did not had a correct layout.
2017-04-06 14:56:30 +02:00
Jean-Marc Lasgouttes
4bb8725c69 Remove bash-only construct from autogen.sh 2015-05-20 12:24:16 +02:00
Jean-Marc Lasgouttes
d33f4c91f2 Allow automake 1.15. 2015-03-03 10:59:11 +01:00
Stephan Witt
16cdf70d0c enable automake version 1.14 2013-07-26 13:04:32 +02:00
Jean-Marc Lasgouttes
1d08d5232d Add a test to configure for minimal Qt version
* use AS_COMPARE_VERSION to check whether the Qt version is correct.
* upgrade minimal requirement for autoconf to version 2.60 (released in 2006!).
2013-03-19 12:59:38 +01: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
Stephan Witt
b9d5328dae add support for automake 1.13 2013-01-20 12:45:34 +01:00
Scott Kostyshak
6f58137318 Abort autogen.sh if po/POTFILES.in fails 2012-09-11 04:12:05 -04:00
Pavel Sanda
b5edeac1e8 Forgotten patch from Scott Kostyshak. 2012-05-31 12:33:13 +02:00
Jean-Marc Lasgouttes
366b21d4d3 Allow autoconf 2.69 and automake 1.12 2012-05-11 15:44:48 +02:00
Jean-Marc Lasgouttes
ae872178fb Remove from svn the files that are provided by automake. This ensures that we always use the correct version.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40635 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-20 09:31:06 +00:00
Enrico Forestieri
7a3ed65c81 LyX builds and installs just fine with autoconf 2.66
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36337 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 14:11:15 +00:00
Pavel Sanda
8a5cde8fbf typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35622 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 11:48:52 +00:00
Stephan Witt
cac2559d7f adjust error message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35621 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 05:22:11 +00:00
Pavel Sanda
6c93f5940f Tested autoconf 2.68
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35617 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 20:08:58 +00:00
Pavel Sanda
7aaffe6111 Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35446 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 13:34:57 +00:00
Pavel Sanda
612f8b316d Allow autoconf 2.67, tested on linux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35445 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 11:58:35 +00:00
Pavel Sanda
20d528aa98 Bring the old automake deps back and wait some more time.
For future reference, in this patch dep for autoconf 2.60 was missing.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159235.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 10:59:57 +00:00
Pavel Sanda
6b0683d8e9 Bump automake deps.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34068 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-06 15:25:12 +00:00
Pavel Sanda
b6ba2c03a7 autoconf 2.65 is reported to work by John (#6524).
Branch?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33418 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 02:12:50 +00:00
Richard Heck
fcdeace5d7 From JMarc:
The reason is gettext. The NEWS from version 0.14.7 (we use 0.16.1) says:

* The gettext autoconf macros now assume 'aclocal' from automake 1.8 or newer.

So we should assume 1.8 (and maybe check what this buys us).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31231 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-28 14:57:52 +00:00
Pavel Sanda
c1fa134b90 Upgrade to autoconf 2.64
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 11:49:24 +00:00
Enrico Forestieri
0d6f47799c LyX works with automake 1.11, as far as I can tell after testing it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30328 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 23:35:08 +00:00
Jean-Marc Lasgouttes
4789edde52 get rid of the makefile machinery that was used to build TOCs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27084 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 16:04:10 +00:00
José Matox
7d4b69d2dc autoconf 2.63 works too (it seems to be a bug fix release)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26816 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-08 18:24:25 +00:00
Jean-Marc Lasgouttes
a0f9832049 Remove Makefile.depend from repository, like we did for POTFILES.in. It is
now generated by autogen.sh.

AUTOTOOLS USERS, PLEASE RUN AUTOGEN.SH (did I say that loud enough?)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26364 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 10:23:43 +00:00
Jean-Marc Lasgouttes
5a5ec02829 Better compatibility with autoconf 2.62.
* config/*: update files to libtool 1.5.26 (latest 1.x version)
	* configure.ac: use AC_USE_SYSTEM_EXTENSIONS instead of AC_AIX and
	friends (available since 2.59c, which is now required); work around
	a bug with gettext.m4 and autoconf 2.62.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26117 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-11 23:27:08 +00:00
Jean-Marc Lasgouttes
9bda5aa44d we require at least autoconf 2.59c (objc support for mac os x)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26116 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-11 21:46:38 +00:00
Jean-Marc Lasgouttes
14d00c9d24 Doh! Forgot target name...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25376 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 10:16:36 +00: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
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
José Matox
a43de95180 Add autoconf 2.62 to the list of supported versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25010 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 12:57:06 +00:00
Jean-Marc Lasgouttes
48b0e2561a allow automake >= 1.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18039 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 14:49:31 +00:00
Jean-Marc Lasgouttes
c22d1bb430 use "aclocal -I config" instead of acinclude.m4. Now configure will be rebuilt automatically when a m4 file changes. This means that running autogen.sh should not be needed anymore (famous last words!).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18032 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 10:06:36 +00:00
Jean-Marc Lasgouttes
5971c1a9f1 * config/qt.m4: remove (unused)
* config/lyxinclude25x.m4: remove (move contents to lyxinclude.m4)

	* autogen.sh:
	* config/Makefile.am: adapt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17980 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 10:40:50 +00:00
Georg Baum
f11fdd307a automake 1.10 works
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 08:19:03 +00:00
Enrico Forestieri
b34e6317f6 Autoconf 2.61 has been released, and it works with LyX
http://www.mail-archive.com/autotools-announce@gnu.org/msg00023.html

	* autogen.sh: allow for autoconf 2.61


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16223 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-10 01:33:05 +00:00
Enrico Forestieri
95f9c18fac Fix compatibility to autoconf 2.60
* configure.ac:
	Fix up expansion of ${prefix} in ${pkgdatadir}.

	* autogen.sh:
	Allow using autoconf 2.60 and 2.60a.

	* intl/Makefile.in:
	* po/Makefile.in.in:
	Add datarootdir definition.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16021 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 01:14:26 +00:00
Lars Gullik Bjønnes
c30c9a9e47 Add pkg.m4 to config/ and autogen.sh.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14543 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-06 20:45:31 +00:00
Lars Gullik Bjønnes
38cca58f71 Remove old outdated pkg.m4, newer one is automatically picked up by autogen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14509 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-29 10:41:00 +00:00
Lars Gullik Bjønnes
fdb9b989f7 Remove some old files belonging to the old (now removed) gnome frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14508 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-29 10:34:49 +00:00
Georg Baum
9769d01183 Revert autoconf change, 2.60 is broken wrt prefix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14494 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-22 16:47:31 +00:00
Georg Baum
d36c17c924 Support autoconf 2.60
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14492 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-22 14:32:57 +00:00
Lars Gullik Bjønnes
110a4f1117 split the qt.m4 in two, separate file for qt4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14491 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-22 11:23:41 +00:00
Lars Gullik Bjønnes
22861453fe Remove the XForms frontend, update the autotools files, and fixup po.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14320 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 19:20:25 +00:00
Georg Baum
0b9b87d142 remove deleted file cygwin.m4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13842 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-12 15:57:05 +00:00
Georg Baum
d15a35a909 Get rid of lib/configure.m4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13347 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-12 10:51:11 +00:00
Lars Gullik Bjønnes
1e62f8f399 autogen.sh: remove --force-missing on automake
config/ltmain.sh: add patch for darwin


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10777 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-26 00:01:00 +00:00
Georg Baum
1a0a8cdea2 require automake 1.9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10685 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-28 10:47:00 +00:00