Op 14-5-2013 16:57, Jean-Marc Lasgouttes schreef:
Le mar. 14 mai 2013 16:35:23 CEST, Stephan Witt a écrit :
Ok, is auto-tools use deprecated already? :)

If not, this should help:

diff --git a/src/tex2lyx/Makefile.am b/src/tex2lyx/Makefile.am
index 5be47e7..c547802 100644
--- a/src/tex2lyx/Makefile.am
+++ b/src/tex2lyx/Makefile.am
@@ -18,6 +18,7 @@ DEFAULT_INCLUDES =

AM_CPPFLAGS += -DTEX2LYX -DNO_LAYOUT_CSS $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \
         -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
+AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES)

  TEST_FILES = \
         test/runtests.py \

tex2lyx requires QtCore now… This violates the KISS paradigm, IMHO.

Especially to define some weird define. This should be done in autotools/cmake not in the source like that.

JMarc

Yes, I'll do it differently.

Vincent

Reply via email to