diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2005-04-08 08:58:56 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2005-04-08 08:58:56 +0000 |
commit | cb19345676bc176c70d57bcc1bc348592cfd06eb (patch) | |
tree | 5cd4b2d94176290b75fd566c03708f7cfcb72632 /configure.ac | |
parent | d6e79bddc0d7de7ecc1b55b905134b0ccf2eecd9 (diff) | |
download | zsh-cb19345676bc176c70d57bcc1bc348592cfd06eb.tar.gz zsh-cb19345676bc176c70d57bcc1bc348592cfd06eb.tar.xz zsh-cb19345676bc176c70d57bcc1bc348592cfd06eb.zip |
21107: fix for when there is a native iconv but iconv.h is from GNU libiconv
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8b967f365..81d5fb2e4 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |