diff mbox

libiberty: fix --enable-install-libiberty flag [PR 56780]

Message ID 1389024437-28465-1-git-send-email-vapier@gentoo.org
State New
Headers show

Commit Message

Mike Frysinger Jan. 6, 2014, 4:07 p.m. UTC
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.

2014-01-06  Mike Frysinger  <vapier@gentoo.org>

	PR other/56780
	* configure.ac: Delete target_header_dir assignment.
	* configure: Regenerated.
---
 libiberty/configure    | 1 -
 libiberty/configure.ac | 1 -
 2 files changed, 2 deletions(-)

Comments

Ian Lance Taylor Jan. 6, 2014, 5:40 p.m. UTC | #1
On Mon, Jan 6, 2014 at 8:07 AM, Mike Frysinger <vapier@gentoo.org> wrote:
>
> 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
>
>         PR other/56780
>         * configure.ac: Delete target_header_dir assignment.
>         * configure: Regenerated.

This is OK.

Thanks.

Ian
diff mbox

Patch

diff --git a/libiberty/configure b/libiberty/configure
index 8ea54da..7bde9b3 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -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
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index 4ad88a9..d6180bc 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -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