diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2016-05-27 14:50:06 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2016-05-27 14:50:06 +0000 |
commit | 9b2bf368d7983b683867656160b8f79870daeb97 (patch) | |
tree | c7ad40243cba14f5211bfdd9c0443dfdef395d7f /gcc | |
parent | 48035dfbea2bf9a72ca18fd05b408301481e98bc (diff) | |
download | gcc-9b2bf368d7983b683867656160b8f79870daeb97.zip gcc-9b2bf368d7983b683867656160b8f79870daeb97.tar.gz gcc-9b2bf368d7983b683867656160b8f79870daeb97.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rwxr-xr-x | gcc/configure | 2 | ||||
-rw-r--r-- | gcc/configure.ac | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0474038..8512557 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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-05-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/aarch64/aarch64.c (aarch64_fusion_enabled_p): New function. diff --git a/gcc/configure b/gcc/configure index c8d8abc..9e5cd64 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 ab91de6..046c94e 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" |