1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-05 23:11:11 +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> 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, * unposted; based on 14679 (me) and 14693 (Bart): configure.ac,
zshconfig.ac, .distfiles, Makefile.in, configure.in, Src/mkmakemod.sh: zshconfig.ac, .distfiles, Makefile.in, configure.in, Src/mkmakemod.sh:
Allow processing by both autoconf-2.13 and autoconf-2.50; remove 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_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_strip_lib="${zsh_cv_sys_dynamic_strip_lib=yes}"
zsh_cv_sys_dynamic_broken="${zsh_cv_sys_dynamic_broken=no}" 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}" DL_EXT="${DL_EXT=dll}"
DLLD="${DLLD=dllwrap}" DLLD="${DLLD=dllwrap}"
DLLDFLAGS="${DLLDFLAGS=--export-all-symbols}" 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 if $strip_libldflags && test "$zsh_cv_sys_dynamic_strip_lib" = yes; then
LIBLDFLAGS="$LIBLDFLAGS -s" LIBLDFLAGS="$LIBLDFLAGS -s"
fi fi
if test "x$ac_cv_cygwin" = xyes; then if test "$host_os" = cygwin; then
INSTLIB="install.cygwin-lib" INSTLIB="install.cygwin-lib"
UNINSTLIB="uninstall.cygwin-lib" UNINSTLIB="uninstall.cygwin-lib"
fi fi
@ -1772,7 +1772,7 @@ AC_SUBST(SHORTBOOTNAMES)
AC_SUBST(INSTLIB)dnl AC_SUBST(INSTLIB)dnl
AC_SUBST(UNINSTLIB)dnl AC_SUBST(UNINSTLIB)dnl
if test x"$ac_cv_cygwin" = xyes; then if test "$host_os" = cygwin; then
EXTRAZSHOBJS="$EXTRAZSHOBJS zsh.res.o" EXTRAZSHOBJS="$EXTRAZSHOBJS zsh.res.o"
fi fi