--- Makefile.am.orig 2004-01-18 13:24:50.000000000 +0100
+++ Makefile.am 2015-07-14 19:40:37.331308491 +0200
@@ -1,16 +1,15 @@
bin_PROGRAMS = tinyxpath
tinyxpath_SOURCES = htmlutil.cpp main.cpp \
- tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp \
action_store.cpp lex_util.cpp node_set.cpp tokenlist.cpp xml_util.cpp \
xpath_expression.cpp xpath_processor.cpp xpath_stack.cpp xpath_stream.cpp xpath_syntax.cpp xpath_static.cpp
-tinyxpath_LDADD =
+tinyxpath_LDADD = -ltinyxml
# set the include path found by configure
INCLUDES= $(all_includes)
-AM_CXXFLAGS = -Wall
+AM_CXXFLAGS = -Wall --include /usr/include/tinyxml.h
# the library search path.
tinyxpath_LDFLAGS = $(all_libraries)