autoconf: Fix copy'n'paste error
authorJakub Narebski <jnareb@gmail.com>
Tue, 5 Sep 2006 20:03:48 +0000 (22:03 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 5 Sep 2006 20:36:19 +0000 (13:36 -0700)
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
configure.ac

index 64c8345f64a49f5e6ed3a751035e8d0c4f465d19..67c1ae0ed8dfea875408681b62917824ebf08483 100644 (file)
@@ -147,7 +147,7 @@ AC_CHECK_LIB([c], [iconv],
 [NEEDS_LIBICONV=],
 [NEEDS_LIBICONV=YesPlease])
 AC_SUBST(NEEDS_LIBICONV)
-test -n "$NEEDS_SOCKET" && LIBS="$LIBS -liconv"
+test -n "$NEEDS_LIBICONV" && LIBS="$LIBS -liconv"
 #
 # Define NEEDS_SOCKET if linking with libc is not enough (SunOS,
 # Patrick Mauritz).