Commit 1086c467 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't try to outsmart the compiler for the include path

This breaks cross-compilation with any prefix other than /usr
parent 5f68da68
......@@ -69,13 +69,6 @@ if test $# -eq 0; then
usage 1 1>&2
fi
#
# No need to include the default @*FLAGS@ values here because they are
# automatically added when using $(COMPILE), $(CXXCOMPILE) or $(OBJCCOMPILE)
#
if test "@includedir@" != "/usr/include"; then
includes="-I@includedir@"
fi
if test "${top_builddir}" != ""; then
top_builddir="${top_builddir}/"
elif test "${TOP_BUILDDIR}" != ""; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment