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

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to