From: Jakub Narebski Date: Fri, 4 Aug 2006 21:28:11 +0000 (+0200) Subject: autoconf: Set NEEDS_LIBICONV unconditionally if there is no iconv in libc X-Git-Tag: v1.4.3-rc1~276^2~9 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f7b5e8d03a97e7d4a6e543d5f9972d1285947908;p=git.git autoconf: Set NEEDS_LIBICONV unconditionally if there is no iconv in libc Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/configure.ac b/configure.ac index fea18b69b..33ddee212 100644 --- a/configure.ac +++ b/configure.ac @@ -172,8 +172,7 @@ AC_CHECK_LIB([expat], [XML_ParserCreate],[], # # Define NEEDS_LIBICONV if linking with libc is not enough (Darwin). AC_CHECK_LIB([c], [iconv],[], -[AC_CHECK_LIB([iconv],[iconv], - [GIT_CONF_APPEND_LINE(NEEDS_LIBICONV=YesPlease)],[])]) +[GIT_CONF_APPEND_LINE(NEEDS_LIBICONV=YesPlease)]) # # Define NEEDS_SOCKET if linking with libc is not enough (SunOS, # Patrick Mauritz).