Dropping non-strftime() support and fixing -Werror problem
commit91a5df442f6cf1d93029c363b5c28ad6e56afd42
authorEnrico Weigelt, metux IT service <weigelt@metux.de>
Wed, 28 Oct 2009 10:09:15 +0000 (28 11:09 +0100)
committerEnrico Weigelt, metux IT service <weigelt@metux.de>
Mon, 9 Nov 2009 12:49:56 +0000 (9 13:49 +0100)
tree597bd05b9c90487073d22a1da3df4c89134147bc
parent8f01c7c1f80799e7d881c02cf874ee49951f5bdc
Dropping non-strftime() support and fixing -Werror problem

Problem:

a) when running ./configure, strftime() and other functions cannot be
   properly detected, since autoconf generates crappy test code, which
   at least fails when warnings are treated as errors (gcc: -Werror).

b) strtime() is standard since C89, so we can simply expect it to exists
   (if there's *really* some acient box out there breaking mc build,
   it's libc/toolchain should be fixed ;-p)

Solution:

Remove the checks for strftime() and all workarounds
configure.ac
src/timefmt.h
vfs/samba/configure.ac
vfs/samba/lib/time.c