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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206367 138bc75d-0d04-0410-961f-82ee72b054a4
This commit is contained in:
Mike Frysinger 2014-01-06 18:15:31 +00:00
parent fd259167db
commit 369be6981b
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-01-06 Mike Frysinger <vapier@gentoo.org>
PR other/56780
* configure.ac: Delete target_header_dir assignment.
* configure: Regenerated.
2014-01-06 Gary Benson <gbenson@redhat.com>
* cp-demangle.c (struct d_print_info): New fields

1
libiberty/configure vendored
View File

@ -5510,7 +5510,6 @@ fi
setobjs=
CHECK=
target_header_dir=
if test -n "${with_target_subdir}"; then
# We are being configured as a target library. AC_REPLACE_FUNCS

View File

@ -411,7 +411,6 @@ fi
setobjs=
CHECK=
target_header_dir=
if test -n "${with_target_subdir}"; then
# We are being configured as a target library. AC_REPLACE_FUNCS