diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-02-04 10:32:05 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-02-04 10:32:05 +0000 |
commit | 832650823499a1f4f55bbe1262b8dfc050299c25 (patch) | |
tree | 43c206ecdc5bdf7377e6204dc50a612105bdfaa6 /configure.ac | |
parent | 3fc610c59fb74e1510a69605b01b2f3f8f51079f (diff) | |
download | zsh-832650823499a1f4f55bbe1262b8dfc050299c25.tar.gz zsh-832650823499a1f4f55bbe1262b8dfc050299c25.tar.xz zsh-832650823499a1f4f55bbe1262b8dfc050299c25.zip |
Motoi Washida: libiconv test needed on Mac OS X
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 321cf56fb..6c5ba06f7 100644 --- a/configure.ac +++ b/configure.ac @@ -729,10 +729,11 @@ AC_CHECK_LIB(socket, socket) AC_CHECK_LIB(iconv, iconv) -if test "$host_os" = cygwin; then -dnl cygwin iconv() is really libiconv() -AC_CHECK_LIB(iconv, libiconv) -fi +case "$host_os" in + cygwin | darwin*) + dnl cygwin iconv() is really libiconv() + AC_CHECK_LIB(iconv, libiconv) ;; +esac if test x$enable_pcre = xyes; then dnl pcre-config should probably be employed here |