about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2000-09-04 14:05:07 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2000-09-04 14:05:07 +0000
commitf9b7929289b120b4e60a1751d39a8bf8f24edfa0 (patch)
treef8ef3d6a3f9b4e1c4302d78f27591d4f899b8577 /configure.in
parent372e84dc5b65b8297de146eac1182340aea6943c (diff)
downloadzsh-f9b7929289b120b4e60a1751d39a8bf8f24edfa0.tar.gz
zsh-f9b7929289b120b4e60a1751d39a8bf8f24edfa0.tar.xz
zsh-f9b7929289b120b4e60a1751d39a8bf8f24edfa0.zip
12736: fix `make install' dependency for Cygwin static build
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 6 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 0b46b2d0b..b381d2220 100644
--- a/configure.in
+++ b/configure.in
@@ -1463,6 +1463,8 @@ dnl ---------------
 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 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
+    INSTLIB="install.cygwin-lib"
+    UNINSTLIB="uninstall.cygwin-lib"
+  fi
 else
   $strip_exeldflags && EXELDFLAGS="$EXELDFLAGS -s"
   $strip_libldflags && LIBLDFLAGS="$LIBLDFLAGS -s"
@@ -1714,13 +1720,6 @@ else
 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