bugKawa - Bugs: bug #45069, kawa frontend unconditionally...

 
 

bug #45069: kawa frontend unconditionally links with libhistory

Submitter:  None
Submitted:  Mon 11 May 2015 08:15:38 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 13 May 2015 11:11:37 PM UTC, comment #1: 

I checked in your patch - thanks.

This report was anonymous, so I don't know who to credit in the ChangeLog.

Per Bothner <bothner>
Group administrator
Mon 11 May 2015 08:15:38 AM UTC, original submission:  

The readline-based frontend hardcodes the readline libraries in bin/Makefile.am:

kawa_LDADD = $(READLINE_LIB_PATH) -lreadline -lhistory $(kawa_EXTRA_LIBS)

However some platforms such as OpenBSD do not have a libhistory and therefore kawa fails to build. The attached patch adds a configure check for libhistory and uses it when found.

Idealy the -lreadline would be a configure check too, but this works fine for now.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #33974:  kawa.diff added by None (2KiB - text/x-patch - Don't hardcode -lhistory)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-13 bothner StatusNone Fixed
        Assigned toNone bothner
        Open/ClosedOpen Closed
    2015-05-11 None Attached File- Added kawa.diff, #33974

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code