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]
Other format: [Raw text]

Re: quoting in GLIBCXX_INCLUDES, canadian cross


On Tue, Aug 26, 2003 at 09:00:52PM -0400, Phil Edwards wrote:
> On Mon, Aug 25, 2003 at 07:24:15PM +0930, Alan Modra wrote:
> >   Your latest libstdc++-v3/acinclude.m4 patch introduced a problem on
> > powerpc64-linux.  I'm seeing '-I/usr/local/include' quotes and all,
> > being passed to gcc.  This doesn't work very well..  eg.
> 
> Funky.  I'll look at this, thanks for pointing it out.

We need to delay expansion of the variable until make-time, but single
quotes prevents even that much.  This seems to work.  Committed to trunk.



2003-08-27  Phil Edwards  <pme@gcc.gnu.org>

	* acinclude.m4 (GLIBCXX_EXPORT_INCLUDES):  Change quoting of
	includedir.
	* aclocal.m4, configure:  Regenerate.


Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.267
diff -u -3 -p -r1.267 acinclude.m4
--- acinclude.m4	27 Aug 2003 19:28:46 -0000	1.267
+++ acinclude.m4	27 Aug 2003 20:25:16 -0000
@@ -624,7 +624,7 @@ AC_DEFUN(GLIBCXX_EXPORT_INCLUDES, [
 
   # For Canadian crosses, pick this up too.
   if test $CANADIAN = yes; then
-    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES '-I${includedir}'"
+    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
   fi
 
   # Stuff in the actual top level.  Currently only used by libsupc++ to


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