From: Jakub Narebski Date: Mon, 4 Sep 2006 22:55:52 +0000 (+0200) Subject: autoconf: Add -liconv to LIBS when NEEDS_LIBICONV X-Git-Tag: v1.4.3-rc1~138 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c23cca17202f6b04cb2f8f850dac6afc289bcd3d;p=git.git autoconf: Add -liconv to LIBS when NEEDS_LIBICONV Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/configure.ac b/configure.ac index 36f9cd94d..fc5b813ec 100644 --- a/configure.ac +++ b/configure.ac @@ -147,6 +147,7 @@ AC_CHECK_LIB([c], [iconv], [NEEDS_LIBICONV=], [NEEDS_LIBICONV=YesPlease]) AC_SUBST(NEEDS_LIBICONV) +test -n "$NEEDS_SOCKET" && LIBS="$LIBS -liconv" # # Define NEEDS_SOCKET if linking with libc is not enough (SunOS, # Patrick Mauritz).