From: Ulrich Weigand Date: Fri, 27 May 2016 14:50:06 +0000 (+0000) Subject: configure.ac: Treat a --with-headers option without argument the same as the default... X-Git-Tag: basepoints/gcc-8~6613 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b2bf368d7983b683867656160b8f79870daeb97;p=thirdparty%2Fgcc.git configure.ac: Treat a --with-headers option without argument the same as the default (i.e. * configure.ac: Treat a --with-headers option without argument the same as the default (i.e. consult sys-include directory). * configure: Regenerate. From-SVN: r236825 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0474038530c9..85125572cc5a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-05-27 Ulrich Weigand + + * configure.ac: Treat a --with-headers option without argument + the same as the default (i.e. consult sys-include directory). + * configure: Regenerate. + 2016-05-27 Kyrylo Tkachov * config/aarch64/aarch64.c (aarch64_fusion_enabled_p): New function. diff --git a/gcc/configure b/gcc/configure index c8d8abcb3a50..9e5cd644b868 100755 --- a/gcc/configure +++ b/gcc/configure @@ -12289,7 +12289,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" diff --git a/gcc/configure.ac b/gcc/configure.ac index ab91de6e4b11..046c94e0a9a8 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2035,7 +2035,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"