bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] Fix building readline on future OS X versions, and also c


From: Max Horn
Subject: [Bug-readline] Fix building readline on future OS X versions, and also cleanup the relevant code
Date: Fri, 24 Jan 2014 17:41:57 +0100

Hi there,

the attached patch ensures that readline builds correctly on future OS X 
versions. Previously, one had to manually add every new OS X version. The patch 
reverses the logic: The "modern" code is used by default, and only for older OS 
X releases (10.3 and before) the "old" code is used.

This way, it won't be necessary to adapt readline with every major OS X 
release. A change would only be required if Apple actually changed something 
regarding how shared libraries are meant to be built.

In addition, I merged the two separate code blocks handling "old" and "new" 
Darwin versions; they shared a lot of code. 

The patch applies both against 6.2 patchlevel 5, and 6.3-rc1.


Cheers,
Max

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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