From 19db317af38996f7aee0d657a93a72124597dfcb Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Wed, 6 Jun 2001 11:38:29 +0000 Subject: 14758: use host_os instead of ac_cv_cygwin --- ChangeLog | 3 +++ zshconfig.ac | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c7994e629..5a72c86da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,9 @@ 2001-06-06 Andrej Borsenkow + * 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 diff --git a/zshconfig.ac b/zshconfig.ac index 65589391e..f2b2ea263 100644 --- a/zshconfig.ac +++ b/zshconfig.ac @@ -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 -- cgit 1.4.1