The attached patch removes the unused variables BUILD_CONFIGDIRS and 
TARGET_CONFIGDIRS from Makefile.tpl. It also removes the 
AC_SUBST(target_configdirs) from configure.in.

Boostraped on a GNU/Linux/x86
Rafael

2005-12-18 Rafael Ávila de Espíndola <[EMAIL PROTECTED]>

        * Makefile.tpl  (BUILD_CONFIGDIRS): Remove
        (TARGET_CONFIGDIRS): Remove
        * configure.in: Remove AC_SUBST(target_configdirs)
        * Makefile.in, configure: Regenerated
Index: configure
===================================================================
--- configure	(revision 108761)
+++ configure	(working copy)
@@ -6308,7 +6308,6 @@ [EMAIL PROTECTED]@%$build_configdirs%g
 [EMAIL PROTECTED]@%$host_configargs%g
 [EMAIL PROTECTED]@%$configdirs%g
 [EMAIL PROTECTED]@%$target_configargs%g
[EMAIL PROTECTED]@%$target_configdirs%g
 [EMAIL PROTECTED]@%$CC_FOR_BUILD%g
 [EMAIL PROTECTED]@%$config_shell%g
 [EMAIL PROTECTED]@%$YACC%g
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 108761)
+++ Makefile.in	(working copy)
@@ -84,8 +84,6 @@ GDB_NLM_DEPS = 
 # the libraries.
 RPATH_ENVVAR = @RPATH_ENVVAR@
 
-# This is the list of directories to be built for the build system.
-BUILD_CONFIGDIRS = libiberty
 # Build programs are put under this directory.
 BUILD_SUBDIR = @build_subdir@
 # This is set by the configure script to the arguments to use when configuring
@@ -178,9 +176,6 @@ POSTSTAGE1_HOST_EXPORTS = \
 	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
 	  -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
 
-# This is set by the configure script to the list of directories which
-# should be built using the target tools.
-TARGET_CONFIGDIRS = @target_configdirs@
 # Target libraries are put under this directory:
 TARGET_SUBDIR = @target_subdir@
 # This is set by the configure script to the arguments to use when configuring
Index: Makefile.tpl
===================================================================
--- Makefile.tpl	(revision 108761)
+++ Makefile.tpl	(working copy)
@@ -87,8 +87,6 @@ GDB_NLM_DEPS = 
 # the libraries.
 RPATH_ENVVAR = @RPATH_ENVVAR@
 
-# This is the list of directories to be built for the build system.
-BUILD_CONFIGDIRS = libiberty
 # Build programs are put under this directory.
 BUILD_SUBDIR = @build_subdir@
 # This is set by the configure script to the arguments to use when configuring
@@ -181,9 +179,6 @@ POSTSTAGE1_HOST_EXPORTS = \
 	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
 	  -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
 
-# This is set by the configure script to the list of directories which
-# should be built using the target tools.
-TARGET_CONFIGDIRS = @target_configdirs@
 # Target libraries are put under this directory:
 TARGET_SUBDIR = @target_subdir@
 # This is set by the configure script to the arguments to use when configuring
Index: configure.in
===================================================================
--- configure.in	(revision 108761)
+++ configure.in	(working copy)
@@ -2081,7 +2081,7 @@ AC_SUBST(configdirs)
 
 # Target module lists & subconfigure args.
 AC_SUBST(target_configargs)
-AC_SUBST(target_configdirs)
+
 
 # Build tools.
 AC_SUBST(CC_FOR_BUILD)

Reply via email to