libiberty: fix --enable-install-libiberty flag [PR 56780]
authorMike Frysinger <vapier@gentoo.org>
Mon, 6 Jan 2014 18:15:31 +0000 (18:15 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 6 Jan 2014 18:44:33 +0000 (13:44 -0500)
commit369be6981b26787b2685e3b8c6da779dae8ce35f
treea40bc82cd0ceddb08621885cf8781435d914f8d6
parentfd259167db97c2b453be8029dc8b6893899e8b4e
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
libiberty/ChangeLog
libiberty/configure
libiberty/configure.ac