fix handling of iconv configuration options
commit934f82a7d424ea9a8fa0ae83020689d11efc2bff
authorMarco Nelissen <marcone@xs4all.nl>
Tue, 9 Jun 2009 03:46:38 +0000 (8 20:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Jun 2009 04:18:02 +0000 (8 21:18 -0700)
treebbc0c841ad1f07353dfb9943dbfb41d9a6021cc4
parent801a011dcf41f0415dee81f0500673e058bdee30
fix handling of iconv configuration options

Fix the way in which the configure script handles --without-iconv
(and --with-iconv=no), which it  used to essentially ignore.
Also fix the way the configure script determines the value of
NEEDS_LIBICONV, which would be incorrectly set to 'YesPlease' on
systems that lack iconv entirely.

Signed-off-by: Marco Nelissen <marcone@xs4all.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
configure.ac