spandsp3: prevent host include search paths
[feed/telephony.git] / libs / spandsp3 / patches / 02-do-not-check-for-libxml2.patch
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -231,6 +231,9 @@ then
4 AC_CHECK_HEADERS([X11/X.h])
5 fi
6
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)
12
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
18
19 AC_LANG([C++])
20 AC_CHECK_HEADERS([FL/Fl.H])