From c386abd496f61f4628446f27b771529699c0ea45 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 7 Jun 2005 17:55:24 +0000 Subject: Fixes to be compatible with newer versions of the autotools. --- configure.in | 2 +- src/Makefile.am | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index fe3ace8..2c776d1 100644 --- a/configure.in +++ b/configure.in @@ -46,7 +46,7 @@ CFLAGS="$CFLAGS -I/usr/local/include" AC_LANG_CPLUSPLUS AC_CONFIG_SRCDIR([src/rtfx.cpp]) -AM_CONFIG_HEADER([config.h]) +AM_CONFIG_HEADER(config.h) # Checks for programs. AC_PROG_CC diff --git a/src/Makefile.am b/src/Makefile.am index f561270..e729fb7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,13 +1,22 @@ +INCLUDES = \ + -I$(srcdir)/../libs/domc/src/ \ + -I$(srcdir)/../libs/libmba/src/ + bin_PROGRAMS = rtfx rtfx_SOURCES = rtfx.cpp levelhandler.cpp levelhandler.h \ reference.h xmlcomposer.cpp xmlcomposer.h xmlcomposehelpers.cpp rtfformatting.h \ xmlcomposehelpers.h rtfparser.cpp rtfparser.h domcxx.h usuals.h utf8.cpp internal.h \ xmlfixups.h xmlfixups.cpp domhelpers.h domhelpers.cpp tags.h + rtfx_LDADD = -ldomc -lmba -rtfx_CXXFLAGS = -I$(srcdir)/../libs/domc/src/ -I$(srcdir)/../libs/libmba/src/ -rtfx_LDFLAGS = -L/usr/local/lib -L$(srcdir)/../libs/libmba/ -L$(srcdir)/../libs/domc/ + +rtfx_LDFLAGS = \ + -L/usr/local/lib \ + -L$(srcdir)/../libs/libmba/ \ + -L$(srcdir)/../libs/domc/ + man_MANS = rtfx.1 EXTRA_DIST = $(man_MANS) -- cgit v1.2.3