[Patch] correctly configure wcwidth in readline

Kris Warkentin kewarken@qnx.com
Wed Feb 26 16:47:00 GMT 2003


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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: readline_diff.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030226/6ec10a35/attachment.txt>


More information about the Gdb-patches mailing list