This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] correctly configure wcwidth in readline


I have attached a patch that correctly deals with the absence of a wcwidth()
function by building support/wcwidth.c and linking it into libreadline.
Oddly enough, the HAVE_WCWIDTH check fails on other systems too (ie. Cygwin)
but causes no problem since wcwidth() gets picked up elsewhere.  On QNX
Neutrino, however, we're actually missing wcwidth() so we get undefined
references.  What is the procedure for regenerating configure scripts?
Should I regenerate it here and commit it or do you have a certain person
who does it under a specific environment?

cheers,

Kris

Changelog

    * aclocal.m4: Cause wcwidth check to substitute HAVE_WCWIDTH for
building.
    * Makefile.in: Add wcwidth object to lib if required.
    * shlib/Makefile.in: Likewise.
    * configure: Regenerate.

Attachment: readline_diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]