summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-09-04 22:55:52 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-05 01:54:27 (GMT)
commitc23cca17202f6b04cb2f8f850dac6afc289bcd3d (patch)
tree11bb6808b1ac22802d3b6e75b0574b99a4daabdd /configure.ac
parent762c7205f6700070fa3c18c8544a769461b2e567 (diff)
downloadgit-c23cca17202f6b04cb2f8f850dac6afc289bcd3d.zip
git-c23cca17202f6b04cb2f8f850dac6afc289bcd3d.tar.gz
git-c23cca17202f6b04cb2f8f850dac6afc289bcd3d.tar.bz2
autoconf: Add -liconv to LIBS when NEEDS_LIBICONV
Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 36f9cd9..fc5b813 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).