Browse Source

Merge branch 'dm/configure-iconv-locale-charset'

* dm/configure-iconv-locale-charset:
  configure.ac: link with -liconv for locale_charset()
maint
Junio C Hamano 11 years ago
parent
commit
2f2db83fb7
  1. 2
      configure.ac

2
configure.ac

@ -890,7 +890,7 @@ GIT_CONF_SUBST([HAVE_STRINGS_H]) @@ -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])

Loading…
Cancel
Save