Modify

#713 closed defect (fixed)

Make bitlbee's ./configure work with Eclipse

Reported by: Matěj Cepl <mcepl@…> Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 3.0
Keywords: Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro:

Description

Eclipse uses absolute pathnames which confuses ./configure in thinking that it is doing out-of-source-dir build.

Attachments (1)

bitlbee-configure.patch (442 bytes) - added by Matěj Cepl <mcepl@…> at 2010-11-06T17:55:45Z.
suggested patch

Download all attachments as: .zip

Change History (5)

Changed at 2010-11-06T17:55:45Z by Matěj Cepl <mcepl@…>

Attachment: bitlbee-configure.patch added

suggested patch

comment:1 Changed at 2010-11-12T22:59:10Z by wilmer

I *love* readlink -f , but I'm pretty sure it won't be available on non-GNU systems. Can't try it out ATM though..

How else can we do this?

comment:2 Changed at 2010-11-13T18:30:06Z by Matěj Cepl <mcepl@…>

Well, the original version of the patch (not created by me) was

srcdir=cd $(dirname $0);pwd currdir=pwd if != "$currdir"?; then

It is ugly, but probably more portable. If you want to go in the other way, there is a discussion how to make portable readlink -f equivalent on

http://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac

comment:3 Changed at 2010-11-13T18:31:27Z by Matěj Cepl <mcepl@…>

Damn, trac silly formatting defeated me again. It should be

srcdir=$(cd $(dirname $0);pwd)
currdir=$(pwd)
if ["$srcdir" != "$currdir"]; then 

comment:4 Changed at 2010-11-20T15:19:54Z by wilmer

Resolution: fixed
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.