mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-27 18:21:10 +02:00
21107: fix for when there is a native iconv but iconv.h is from GNU libiconv
This commit is contained in:
parent
d6e79bddc0
commit
cb19345676
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-04-08 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 21107: configure.ac: handle case where there is a native iconv
|
||||
but GNU libiconv's iconv.h is picked up first
|
||||
|
||||
2005-04-06 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 21096: Completion/X/Command/_gv: update for gv 3.6,
|
||||
|
|
|
@ -743,6 +743,11 @@ if test "x$ac_cv_header_iconv_h" = "xyes"; then
|
|||
if test "x$ac_found_iconv" != "xno"; then
|
||||
LIBS="-liconv $LIBS"
|
||||
fi
|
||||
else
|
||||
dnl Handle case where there is a native iconv but iconv.h is from libiconv
|
||||
AC_CHECK_DECL(_libiconv_version,
|
||||
[ AC_CHECK_LIB(iconv, libiconv, LIBS="-liconv $LIBS") ],,
|
||||
[ #include <iconv.h> ])
|
||||
fi
|
||||
fi
|
||||
if test "x$ac_found_iconv" = xyes; then
|
||||
|
|
Loading…
Reference in a new issue