1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/libcli/smbreadline
Uri Simchoni 16cedcb173 lib/smbreadline: detect picky compile issue with readline.h
readline.h has build issues with clang if -Wstrict-prototypes
is enabled. Detect this and also detect whether the known
workaround works.

Fix suggested by Timur I. Bakeyev <timur@freebsd.org>

cf. https://lists.gnu.org/archive/html/bug-readline/2014-04/msg00018.html
cf. https://lists.samba.org/archive/samba-technical/2017-November/123923.html

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2017-11-24 01:13:15 +01:00
..
smbreadline.c lib: smbreadline xfile->stdio 2016-12-11 11:17:24 +01:00
smbreadline.h libcli/smbreadline/smbreadline.h: fix licence/copyright 2011-06-10 15:11:43 +02:00
wscript_build samba: share readline wrappers among all buildsystems. 2010-10-01 22:30:22 +02:00
wscript_configure lib/smbreadline: detect picky compile issue with readline.h 2017-11-24 01:13:15 +01:00