all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: Pathnames with two (or more) slashes in Makefile.c
Date: Tue, 30 Jan 2007 10:09:28 +0100	[thread overview]
Message-ID: <m27iv43mpj.fsf@kenny.sha-bang.de> (raw)
In-Reply-To: <m2bqkg3ngv.fsf@kenny.sha-bang.de> (Sascha Wilde's message of "Tue\, 30 Jan 2007 09\:53\:04 +0100")

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

Sascha Wilde <wilde@sha-bang.de> wrote:
> Jan Djärv <jan.h.d@swipnet.se> 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...

How about the following fix, which not only removes the problem for
xft but for all packages using pkg-config:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: emacs-pkgconf-pathfix.patch --]
[-- Type: text/x-patch, Size: 533 bytes --]

--- a/configure.in
+++ b/configure.in
@@ -1484,11 +1484,11 @@
             succeeded=yes
 
             AC_MSG_CHECKING($1_CFLAGS)
-            $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
+            $1_CFLAGS=`$PKG_CONFIG --cflags "$2" | sed -e 's,//\+,/,g'`
             AC_MSG_RESULT($$1_CFLAGS)
 
             AC_MSG_CHECKING($1_LIBS)
-            $1_LIBS=`$PKG_CONFIG --libs "$2"`
+            $1_LIBS=`$PKG_CONFIG --libs "$2" | sed -e 's,//\+,/,g'`
             AC_MSG_RESULT($$1_LIBS)
         else
             AC_MSG_RESULT(no)


[-- Attachment #3: Type: text/plain, Size: 151 bytes --]


sascha 
-- 
Sascha Wilde   -.-. ..- .-. .. --- ... .. - -.-- 
               -.- .. .-.. .-.. . -.. 
               - .... .
               -.-. .- -

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2007-01-30  9:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-27 19:54 Latest configure.in change breaks building Sascha Wilde
2007-01-28  9:48 ` Jan Djärv
2007-01-28 14:28   ` Pathnames with two (or more) slashes in Makefile.c (was: Latest configure.in change breaks building) Sascha Wilde
2007-01-29  8:06     ` Pathnames with two (or more) slashes in Makefile.c Jan Djärv
2007-01-29 20:21       ` Sascha Wilde
2007-01-30  7:08         ` Jan Djärv
2007-01-30  8:53           ` Sascha Wilde
2007-01-30  9:09             ` Sascha Wilde [this message]
2007-01-31  9:36               ` Sascha Wilde
2007-01-31 17:42                 ` Jan Djärv
2007-01-31 22:33                   ` Sascha Wilde
2007-01-30  9:14             ` Jan Djärv
2007-01-30  9:47               ` Sascha Wilde
2007-01-30 10:26                 ` Jan Djärv
2007-01-30 11:04                   ` Sascha Wilde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27iv43mpj.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.