summaryrefslogtreecommitdiffstats
path: root/test-wchar.c
Commit message (Collapse)AuthorAgeFilesLines
* Autodetect a suitable locale for -Tutf8 mode,Ingo Schwarze2016-07-311-3/+3
| | | | | | | and allow overriding it manually. Based on a patch from Svyatoslav Mishyn <juef at openmailbox dot org> tweaked by me. The idea originally came up in a conversation with Markus Waldeck.
* modernize style: "return" is not a functionIngo Schwarze2015-10-061-6/+6
|
* On Linux, wcwidth() needs _XOPEN_SOURCE, or just _GNU_SOURCE for simplicity.Ingo Schwarze2014-08-281-1/+5
| | | | | | Besides, signedness of wchar_t and wint_t may differ, it i only guaranteed that each wchar_t can be represented as a wint_t. A problem report by Daniel Levai reminded me to fix this.
* Improve build system and autodetection.Ingo Schwarze2014-08-161-0/+59
* Make ./configure standalone, that's what people expect. * Let people write a ./configure.local from scratch, not edit existing files. * Autodetect wchar, sqlite3, and manpath and act accordingly. * Autodetect the need for -L/usr/local/lib and -lutil. * Get rid of config.h.p{re,ost}, let ./configure only write what's needed. * Let ./configure write a Makefile.local snippet, that's quite flexible.