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

 
 

bug #45069: kawa frontend unconditionally links with libhistory

Submitted by:  None
Submitted on:  Mon 11 May 2015 08:15:38 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by bothner (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 13 May 2015 11:11:37 PM UTCbothnerStatusNone=>Fixed
      Assigned toNone=>bothner
      Open/ClosedOpen=>Closed
    Mon 11 May 2015 08:15:38 AM UTCNoneAttached File-=>Added kawa.diff, #33974

    Back to the top


    Powered by Savane 3.1-cleanup1