Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: RE: cygwin installation problems.
- X-seq: zsh-workers 12736
 
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
 
- To: "Peter Stephenson" <pws@xxxxxxx>,   "Zsh hackers list" <zsh-workers@xxxxxxxxxxxxxx>
 
- Subject: PATCH: RE: cygwin installation problems.
 
- Date: Mon, 4 Sep 2000 17:57:18 +0400
 
- Importance: Normal
 
- In-reply-to: <0G0D00DQS6MV1F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
> 
> I have dynamic loading disabled on cygwin, which builds fine.  However,
> running install insists on making the .dll (for which I probably need a new
> dllwrap anyway).  So there may be a dependency wrong.  Unfortunately, I
> don't have time to clear everything away and start again from scratch to
> check (which isn't ropey but is very slow).  Seems to come from `make
> install.bin'.
> 
Sorry. But somehow it is becoming too ugly.
-andrej
Index: configure.in
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.in,v
retrieving revision 1.27
diff -u -r1.27 configure.in
--- configure.in        2000/09/04 10:52:02     1.27
+++ configure.in        2000/09/04 13:55:24
@@ -1463,6 +1463,8 @@
 dnl dynamic loading
 dnl ---------------
 L=N
+INSTLIB="install.bin-\$(L)"
+UNINSTLIB="uninstall.bin-\$(L)"
 LINKMODS=NOLINKMODS
 MOD_EXPORT=
 MOD_IMPORT_VARIABLE=
@@ -1687,6 +1689,10 @@
   if $strip_libldflags && test "$zsh_cv_sys_dynamic_strip_lib" = yes; then
     LIBLDFLAGS="$LIBLDFLAGS -s"
   fi
+  if test "x$ac_cv_cygwin" = xyes; then
+    INSTLIB="install.cygwin-lib"
+    UNINSTLIB="uninstall.cygwin-lib"
+  fi
 else
   $strip_exeldflags && EXELDFLAGS="$EXELDFLAGS -s"
   $strip_libldflags && LIBLDFLAGS="$LIBLDFLAGS -s"
@@ -1714,13 +1720,6 @@
 fi
 AC_SUBST(SHORTBOOTNAMES)
 
-if test "x$ac_cv_cygwin" = xyes; then
-  INSTLIB="install.cygwin-lib"
-  UNINSTLIB="uninstall.cygwin-lib"
-else
-  INSTLIB="install.bin-\$(L)"
-  UNINSTLIB="uninstall.bin-\$(L)"
-fi
 AC_SUBST(INSTLIB)dnl
 AC_SUBST(UNINSTLIB)dnl
 
Messages sorted by:
Reverse Date,
Date,
Thread,
Author