@@ -1,3 +1,12 @@
+2016-11-08 Andre Vieira <andre.simoesdiasvieira@arm.com>
+
+ Backport from mainline
+ 2016-05-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.ac: Treat a --with-headers option without argument
+ the same as the default (i.e. consult sys-include directory).
+ * configure: Regenerate.
+
2016-10-27 Thomas Preud'homme <thomas.preudhomme@arm.com>
Backport from mainline
@@ -12263,7 +12263,7 @@ elif test "x$TARGET_SYSTEM_ROOT" != x; then
fi
if test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x; then
- if test "x$with_headers" != x; then
+ if test "x$with_headers" != x && test "x$with_headers" != xyes; then
target_header_dir=$with_headers
elif test "x$with_sysroot" = x; then
target_header_dir="${test_exec_prefix}/${target_noncanonical}/sys-include"
@@ -2019,7 +2019,7 @@ elif test "x$TARGET_SYSTEM_ROOT" != x; then
fi
if test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x; then
- if test "x$with_headers" != x; then
+ if test "x$with_headers" != x && test "x$with_headers" != xyes; then
target_header_dir=$with_headers
elif test "x$with_sysroot" = x; then
target_header_dir="${test_exec_prefix}/${target_noncanonical}/sys-include"