This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

installation of header files


When passing a different gxx_include_dir from the toplevel make when
calling configure; make and make install (for a temporary install)
doesn't work, because the gxx_include_dir variable isn't passed down
to libstdc++/libsupc++. The following patch fixes this, but I am
unsure, which variable should be used (gxx_include_dir or
glibcppinstalldir?)

--- ./libstdc++-v3/Makefile.am~	Sat Mar  2 00:42:59 2002
+++ ./libstdc++-v3/Makefile.am	Sun Apr 28 16:59:02 2002
@@ -134,6 +134,7 @@
 	"includedir=$(includedir)" \
 	"prefix=$(prefix)" \
 	"tooldir=$(tooldir)" \
+	"gxx_include_dir=$(gxx_include_dir)" \
 	"AR=$(AR)" \
 	"AS=$(AS)" \
 	"LD=$(LD)" \
--- ./libstdc++-v3/Makefile.in~	Fri Apr  5 00:27:00 2002
+++ ./libstdc++-v3/Makefile.in	Sun Apr 28 16:59:19 2002
@@ -201,6 +201,7 @@
 	"includedir=$(includedir)" \
 	"prefix=$(prefix)" \
 	"tooldir=$(tooldir)" \
+	"gxx_include_dir=$(gxx_include_dir)" \
 	"AR=$(AR)" \
 	"AS=$(AS)" \
 	"LD=$(LD)" \
--- ./libstdc++-v3/libsupc++/Makefile.am~	Tue Apr  2 00:09:33 2002
+++ ./libstdc++-v3/libsupc++/Makefile.am	Mon Apr 29 00:55:16 2002
@@ -95,7 +95,7 @@
 libsupc___la_SOURCES = $(sources)
 libsupc__convenience_la_SOURCES = $(sources)
 
-glibcppinstalldir = @gxx_include_dir@
+glibcppinstalldir = $(gxx_include_dir)
 glibcppinstall_HEADERS = $(headers)
 
 LIBSUPCXX_CXXFLAGS = $(LIBSUPCXX_PICFLAGS)
@@ -133,6 +133,9 @@
 	$(WARN_CXXFLAGS) \
 	$(OPTIMIZE_CXXFLAGS) \
 	$(CONFIG_CXXFLAGS) 
+
+AM_MAKEFLAGS = \
+	"gxx_include_dir=$(gxx_include_dir)"
 
 # libstdc++ libtool notes
 
--- ./libstdc++-v3/libsupc++/Makefile.am~	Tue Apr  5 00:27:18 2002
+++ ./libstdc++-v3/libsupc++/Makefile.in	Sun Apr 28 17:26:10 2002
@@ -225,7 +225,7 @@
 libsupc___la_SOURCES = $(sources)
 libsupc__convenience_la_SOURCES = $(sources)
 
-glibcppinstalldir = @gxx_include_dir@
+glibcppinstalldir = $(gxx_include_dir)
 glibcppinstall_HEADERS = $(headers)
 
 LIBSUPCXX_CXXFLAGS = $(LIBSUPCXX_PICFLAGS)
@@ -247,6 +247,9 @@
 	$(WARN_CXXFLAGS) \
 	$(OPTIMIZE_CXXFLAGS) \
 	$(CONFIG_CXXFLAGS) 
+
+AM_MAKEFLAGS = \
+	"gxx_include_dir=$(gxx_include_dir)"
 
 
 # libstdc++ libtool notes


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