Patch contributed by Mo DeJong -- thanks!
This closes SF patch #431340.
dnl are included in the sources for another project.
OUTPUT="Makefile lib/Makefile lib/expat.h"
-if test -d xmlwf; then
+if test -d ${srcdir}/xmlwf; then
OUTPUT="$OUTPUT xmlwf/Makefile"
fi
-if test -d sample; then
+if test -d ${srcdir}/sample; then
OUTPUT="$OUTPUT sample/Makefile"
fi
-if test -d examples; then
+if test -d ${srcdir}/examples; then
OUTPUT="$OUTPUT examples/Makefile"
fi
AC_OUTPUT($OUTPUT)
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
-INCLUDES = -I$(srcdir) -I..
+INCLUDES = -I$(srcdir) -I. -I..
DEFS = @DEFS@ -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(PACKAGE)_$(VERSION)"'
CPPFLAGS = @CPPFLAGS@