From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6226 invoked from network); 6 Jun 2001 11:31:42 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jun 2001 11:31:42 -0000 Received: (qmail 4709 invoked by alias); 6 Jun 2001 11:31:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14758 Received: (qmail 4694 invoked from network); 6 Jun 2001 11:31:21 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH Workers Mailing List" Subject: PATCH: no ac_cv_cygwin in 2.50 Date: Wed, 6 Jun 2001 15:31:14 +0400 Message-ID: <002601c0ee7c$31bc18e0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal 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