diff options
author | Manfred Hollstein <manfred@gcc.gnu.org> | 1998-06-24 06:25:58 +0000 |
---|---|---|
committer | Manfred Hollstein <manfred@gcc.gnu.org> | 1998-06-24 06:25:58 +0000 |
commit | c1c0531e4e3cd47c5734b030c2e7fad01a2a8069 (patch) | |
tree | 7010e8cab2e37e70828169e913876c192056e935 /libio | |
parent | c1c007c582eec561ee87a4788c42c0db1ba117d9 (diff) | |
download | gcc-c1c0531e4e3cd47c5734b030c2e7fad01a2a8069.zip gcc-c1c0531e4e3cd47c5734b030c2e7fad01a2a8069.tar.gz gcc-c1c0531e4e3cd47c5734b030c2e7fad01a2a8069.tar.bz2 |
configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++...
#
egcs/ChangeLog:
1998-06-24 Manfred Hollstein <manfred@s-direktnet.de>
* configure (enable_version_specific_runtime_libs): Implement new flag
--enable-version-specific-runtime-libs which installs C++ runtime stuff in
$(libsubdir); emit definition in each generated Makefile.
(gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs.
egcs/gcc/ChangeLog:
1998-06-24 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in (gxx_include_dir): Initialize default value depending on
new flag --enable-version-specific-runtime-libs; remove superfluous default
initialization afterwards.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (install): Install _G_config.h depending on new flag
--enable-version-specific-runtime-libs.
* config/linux.mt (gxx_include_dir): Remove definition here as we use
gcc's default anyway.
egcs/libstdc++/ChangeLog:
1998-06-24 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (INSTALLDIR): Add comment to document the fact,
this macro will be properly initialized at make's runtime.
(install): Add initialization of INSTALLDIR depending on $(libsubdir)
and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable
instead of the $(INSTALLDIR) make macro.
From-SVN: r20692
Diffstat (limited to 'libio')
-rw-r--r-- | libio/Makefile.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libio/Makefile.in b/libio/Makefile.in index ed597cc..75a1d00 100644 --- a/libio/Makefile.in +++ b/libio/Makefile.in @@ -107,8 +107,13 @@ install: rootme=`pwd`/ ; export rootme ; \ if [ -z "$(MULTISUBDIR)" ]; then \ if [ "$(_G_CONFIG_H)" != "" ]; then \ - rm -f $(tooldir)/include/_G_config.h ; \ - $(INSTALL_DATA) _G_config.h $(tooldir)/include/_G_config.h || exit 1; \ + if [ x$(enable_version_specific_runtime_libs) = xyes ]; then \ + rm -f $(gxx_include_dir)/include/_G_config.h ; \ + $(INSTALL_DATA) _G_config.h $(gxx_include_dir)/include/_G_config.h || exit 1; \ + else \ + rm -f $(tooldir)/include/_G_config.h ; \ + $(INSTALL_DATA) _G_config.h $(tooldir)/include/_G_config.h || exit 1; \ + fi; \ else true; \ fi ; \ cd $(srcdir); \ |