[Top][All Lists]
[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: |
Tue, 30 Jan 2007 10:09:28 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
Sascha Wilde <address@hidden> wrote:
> 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...
How about the following fix, which not only removes the problem for
xft but for all packages using pkg-config:
--- 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
--
Sascha Wilde -.-. ..- .-. .. --- ... .. - -.--
-.- .. .-.. .-.. . -..
- .... .
-.-. .- -
- Latest configure.in change breaks building, Sascha Wilde, 2007/01/27
- Re: Latest configure.in change breaks building, Jan Djärv, 2007/01/28
- Pathnames with two (or more) slashes in Makefile.c (was: Latest configure.in change breaks building), Sascha Wilde, 2007/01/28
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/29
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/29
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c,
Sascha Wilde <=
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/31
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/31
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/31
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/30