emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pathnames with two (or more) slashes in Makefile.c


From: Jan Djärv
Subject: Re: Pathnames with two (or more) slashes in Makefile.c
Date: Tue, 30 Jan 2007 10:14:49 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070102)



Sascha Wilde skrev:
Jan Djärv <address@hidden> wrote:

Sascha Wilde skrev:

Sorry, maybe I'm seriously missing something here, but I can't see
such a change by you, neither in CVS nor in the ChangeLog.
I changed src/makefile.in, you have to rerun configure.

Ok, now I see your change.

But I'm sorry to say: it doesn't fix anything.  Now Makefile.c
contains:

XFT_LIBS=-L//lib -L/usr/X11R6/lib -lXft -lXrender -lX11 -lXext -lfontconfig -lfreetype -lz
which has exactly the same problem...

Ahh, how stupid of me.  A question about your patch:

--- a/configure.in
+++ b/configure.in
@@ -3256,6 +3256,7 @@
       < Makefile.c > junk1.c
   sed -e '1,/start of cpp stuff/d'\
       -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
+      -e 's,\(#.*\)//\+,\1/,g' \
       < Makefile.c > junk.c
   $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
sed -e 's/^ / /' -e '/^#/d' -e '/^[


Why is there a \+?  Should we not change // to / everywhere, i.e.
  s,//,/,g

?

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]