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: Sascha Wilde
Subject: Re: Pathnames with two (or more) slashes in Makefile.c
Date: Wed, 31 Jan 2007 10:36:10 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

Sascha Wilde <address@hidden> wrote:
> How about the following fix, which not only removes the problem for
> xft but for all packages using pkg-config:

Could someone with CVS write access please consider checking in the
attached patch?

Or alternatively propose a better solution, of cause...

cheers
sascha

--- 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)

-- 
Sascha Wilde
"Structure is _nothing_ if it is all you got.  Skeletons _spook_ people if
 thwy try to walk around on their own.  I really wonder why XML does
 not."            -- Erik Naggum <address@hidden> in comp.lang.lisp

Attachment: pgp1RndyKStK4.pgp
Description: PGP signature


reply via email to

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