This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Small PATCH for installing _G_config.h correctly


Oops, I just saw that my --enable-version-specific-runtime-libs patch
installs _G_config.h as $(gxx_include_dir)/include/_G_config.h, while
it should use $(gxx_include_dir)/_G_config.h.

The small patch below fixes it.

manfred


1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>

	* Makefile.in (install): Remove superfluous /include.

diff -up egcs-19980625.orig/libio/Makefile.in egcs-19980625/libio/Makefile.in
--- egcs-19980625.orig/libio/Makefile.in	Wed Jun 24 15:21:05 1998
+++ egcs-19980625/libio/Makefile.in	Wed Jun 24 15:21:05 1998
@@ -108,8 +108,8 @@ install:
 	if [ -z "$(MULTISUBDIR)" ]; then \
 	  if [ "$(_G_CONFIG_H)" != "" ]; then \
 	    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; \
+	      rm -f $(gxx_include_dir)/_G_config.h ; \
+	      $(INSTALL_DATA) _G_config.h $(gxx_include_dir)/_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; \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]