Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
configure.ac: link with -liconv for locale_charset()
[gitweb.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 2f433939dc9d9001c7ace83bfeadf567eb90c30c..3f5c644afd2168e010f2333fd93e42fc37bffa67 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-890,7
+890,7
@@
GIT_CONF_SUBST([HAVE_STRINGS_H])
# and libcharset does
CHARSET_LIB=
AC_CHECK_LIB([iconv], [locale_charset],
- [],
+ [
CHARSET_LIB=-liconv
],
[AC_CHECK_LIB([charset], [locale_charset],
[CHARSET_LIB=-lcharset])])
GIT_CONF_SUBST([CHARSET_LIB])