When build != host, create libiberty for the build machine.
authorDJ Delorie <dj@redhat.com>
Wed, 28 Nov 2001 19:55:01 +0000 (19:55 +0000)
committerDJ Delorie <dj@redhat.com>
Wed, 28 Nov 2001 19:55:01 +0000 (19:55 +0000)
commit49b7683babf4cebb078064df005d3e76b6062a85
treecb02038a191f27cd03d7ede8c05032457fca087e
parentf7460f5f7689262ad24e7e28c9d6662169cd3549
When build != host, create libiberty for the build machine.

* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace
CONFIG_ARGUMENTS.
(ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR):
New variables.
(ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables
and rules.
(all.normal): Depend on ALL_BUILD_MODULES.
(CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS.
(all-build-libiberty): Depend on configure-build-libiberty.

* configure: Calculate and substitute proper value for
ALL_BUILD_MODULES.
* configure.in: Create the build subdirectory.
Calculate and substitute TARGET_CONFIGARGS (formerly
CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).
ChangeLog
Makefile.in
configure
configure.in