diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2005-02-01 16:01:18 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2005-02-01 16:01:18 +0000 |
commit | 0524dd6d2779f355b001c3740337e34d14d382fe (patch) | |
tree | 7f1d8149c1958f1762d6b26f225976d106f0773d /configure.ac | |
parent | 912826aeb6986cfb9d82291f749a7b226fccfee8 (diff) | |
download | zsh-0524dd6d2779f355b001c3740337e34d14d382fe.tar.gz zsh-0524dd6d2779f355b001c3740337e34d14d382fe.tar.xz zsh-0524dd6d2779f355b001c3740337e34d14d382fe.zip |
Cygwin configuration updates from Peter A. Castro.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index a516c3d8a..e6f7e8261 100644 --- a/configure.ac +++ b/configure.ac @@ -529,7 +529,7 @@ AC_CHECK_HEADERS(sys/time.h sys/times.h sys/select.h termcap.h termio.h \ locale.h errno.h stdio.h stdlib.h unistd.h sys/capability.h \ utmp.h utmpx.h sys/types.h pwd.h grp.h poll.h sys/mman.h \ netinet/in_systm.h pcre.h langinfo.h wchar.h stddef.h \ - sys/stropts.h) + sys/stropts.h iconv.h) if test $dynamic = yes; then AC_CHECK_HEADERS(dlfcn.h) AC_CHECK_HEADERS(dl.h) @@ -729,9 +729,15 @@ 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 + if test x$enable_pcre = xyes; then dnl pcre-config should probably be employed here -AC_SEARCH_LIBS(pcre_compile, pcre) +dnl AC_SEARCH_LIBS(pcre_compile, pcre) + LIBS="`pcre-config --libs` $LIBS" fi dnl --------------------- |