Code

autoconf: Set NEEDS_LIBICONV unconditionally if there is no iconv in libc
authorJakub Narebski <jnareb@gmail.com>
Fri, 4 Aug 2006 21:28:11 +0000 (23:28 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 4 Aug 2006 23:34:30 +0000 (16:34 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
configure.ac

index fea18b69b47b4fbe3e2f4b1fb44d5ea47bb539e1..33ddee2120208abf348a8ef10c81554bbe15f8fa 100644 (file)
@@ -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).