1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-22 03:40:47 +02:00

14758: use host_os instead of ac_cv_cygwin

This commit is contained in:
Andrey Borzenkov 2001-06-06 11:38:29 +00:00
parent 78087d2e8d
commit 19db317af3
2 changed files with 6 additions and 3 deletions

View File

@ -9,6 +9,9 @@
2001-06-06 Andrej Borsenkow <bor@zsh.org>
* 14758: zshconfig.ac: no more ac_cv_cygwin in autoconf-2.50;
use host_os instead
* unposted; based on 14679 (me) and 14693 (Bart): configure.ac,
zshconfig.ac, .distfiles, Makefile.in, configure.in, Src/mkmakemod.sh:
Allow processing by both autoconf-2.13 and autoconf-2.50; remove

View File

@ -1538,7 +1538,7 @@ if test "x$aixdynamic" = xyes; then
zsh_cv_sys_dynamic_strip_exe="${zsh_cv_sys_dynamic_strip_exe=yes}"
zsh_cv_sys_dynamic_strip_lib="${zsh_cv_sys_dynamic_strip_lib=yes}"
zsh_cv_sys_dynamic_broken="${zsh_cv_sys_dynamic_broken=no}"
elif test "x$ac_cv_cygwin" = xyes; then
elif test "$host_os" = cygwin; then
DL_EXT="${DL_EXT=dll}"
DLLD="${DLLD=dllwrap}"
DLLDFLAGS="${DLLDFLAGS=--export-all-symbols}"
@ -1738,7 +1738,7 @@ if test "x$dynamic" = xyes; then
if $strip_libldflags && test "$zsh_cv_sys_dynamic_strip_lib" = yes; then
LIBLDFLAGS="$LIBLDFLAGS -s"
fi
if test "x$ac_cv_cygwin" = xyes; then
if test "$host_os" = cygwin; then
INSTLIB="install.cygwin-lib"
UNINSTLIB="uninstall.cygwin-lib"
fi
@ -1772,7 +1772,7 @@ AC_SUBST(SHORTBOOTNAMES)
AC_SUBST(INSTLIB)dnl
AC_SUBST(UNINSTLIB)dnl
if test x"$ac_cv_cygwin" = xyes; then
if test "$host_os" = cygwin; then
EXTRAZSHOBJS="$EXTRAZSHOBJS zsh.res.o"
fi