]> git.lyx.org Git - lyx.git/commit
Use subdir-objects for automake 1.14 or newer
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 20 Apr 2014 18:20:25 +0000 (20:20 +0200)
committerRichard Heck <rgheck@lyx.org>
Mon, 21 Apr 2014 15:52:00 +0000 (11:52 -0400)
commit6c8a775c73f58eea81a7fe0208c23972c6abba5d
tree5e46de2072b458a06ba56a7563276c83bd4c81e8
parentf83aab43e5b207e77f6eb12e1b48f7a54714277d
Use subdir-objects for automake 1.14 or newer

This option is going to be mandatory starting with automake 2.0.
LyX is able to use this since version 2.1, but it turns out that it is
badly implemented in versions of automake older than 1.14.

We rely on some (undocumented) symbol to detect automake 1.14 and
use the subdirs-objects option in this case.

For more details, see:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181023.html

Making everything work with autotools required making a copy of two
files from support/tests. It seems that we should not point to source files
that are handled by another Makefile.am.
configure.ac
src/Makefile.am
src/tests/CMakeLists.txt
src/tests/boost.cpp [new file with mode: 0644]
src/tests/dummy_functions.cpp [new file with mode: 0644]