projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
762c720
)
autoconf: Add -liconv to LIBS when NEEDS_LIBICONV
author
Jakub Narebski
<jnareb@gmail.com>
Mon, 4 Sep 2006 22:55:52 +0000
(
00:55
+0200)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 5 Sep 2006 01:54:27 +0000
(18:54 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 36f9cd94d847f1dc95d293ebafbab74cf37fec53..fc5b813ec70fbba88cbb890f8676fea74ac6bb3c 100644
(file)
--- 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).