3 @@ -231,6 +231,9 @@ then
4 AC_CHECK_HEADERS([X11/X.h])
7 +# Note: the libxml2 checks below introduce host include paths into the
8 +# build, so we turn them off.
9 +if test -n "$enable_tests" ; then # OpenWrt doesn't build the tests
10 # Determine XML2 include path
11 AC_MSG_CHECKING(for libxml/xmlmemory.h)
13 @@ -259,6 +262,7 @@ fi
14 AC_CHECK_HEADERS([libxml/xmlmemory.h])
15 AC_CHECK_HEADERS([libxml/parser.h])
16 AC_CHECK_HEADERS([libxml/xinclude.h])
17 +fi # OpenWrt doesn't build the tests
20 AC_CHECK_HEADERS([FL/Fl.H])