Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: no ac_cv_cygwin in 2.50
- X-seq: zsh-workers 14758
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH Workers Mailing List" <zsh-workers@xxxxxxxxxx>
- Subject: PATCH: no ac_cv_cygwin in 2.50
- Date: Wed, 6 Jun 2001 15:31:14 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
It is disappeared; canonical way is to use $host_os. Hmm ... should it be
$target_os, really? Anybody tried to cross-compile zsh?
-andrej
Index: zshconfig.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/zshconfig.ac,v
retrieving revision 1.1
diff -u -r1.1 zshconfig.ac
--- zshconfig.ac 2001/06/06 08:37:21 1.1
+++ zshconfig.ac 2001/06/06 11:29:57
@@ -1538,7 +1538,7 @@
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 $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(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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author