From 369be6981b26787b2685e3b8c6da779dae8ce35f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 6 Jan 2014 18:15:31 +0000 Subject: [PATCH] libiberty: fix --enable-install-libiberty flag [PR 56780] Commit 199570 fixed the --disable-install-libiberty behavior, but it also added a bug where the enable path never works because the initial clear of target_header_dir wasn't deleted. So we end up initializing properly at the top only to reset it at the end all the time. [Arnout: adapt to match 2.24 tarball] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206367 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/configure | 1 - libiberty/configure.ac | 1 - 2 files changed, 2 deletions(-) --- a/libiberty/configure +++ b/libiberty/configure @@ -5507,7 +5507,6 @@ setobjs= CHECK= -target_header_dir= if test -n "${with_target_subdir}"; then # We are being configured as a target library. AC_REPLACE_FUNCS --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -405,7 +405,6 @@ setobjs= CHECK= -target_header_dir= if test -n "${with_target_subdir}"; then # We are being configured as a target library. AC_REPLACE_FUNCS