summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-10-07 13:59:45 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2020-10-14 15:04:22 +0100
commit1996cb7e84b7f9d7fab18a14fb9a83958058dbb4 (patch)
treebefc532283ac05f58ee3aefec16a37fdd464f7ed
parent66c76e8aff7c58456fa6a0aad295b920d5c7454d (diff)
downloadcygnal-1996cb7e84b7f9d7fab18a14fb9a83958058dbb4.tar.gz
cygnal-1996cb7e84b7f9d7fab18a14fb9a83958058dbb4.tar.bz2
cygnal-1996cb7e84b7f9d7fab18a14fb9a83958058dbb4.zip
Cygwin: Remove autoconf variable INSTALL_LICENSE
Remove autoconf variable INSTALL_LICENSE, which has a constant value which is only used once.
-rw-r--r--winsup/Makefile.in4
-rwxr-xr-xwinsup/configure5
-rw-r--r--winsup/configure.ac4
3 files changed, 1 insertions, 12 deletions
diff --git a/winsup/Makefile.in b/winsup/Makefile.in
index 148d98531..dc1c04444 100644
--- a/winsup/Makefile.in
+++ b/winsup/Makefile.in
@@ -44,8 +44,6 @@ SUBDIRS=@subdirs@
INSTALL_SUBDIRS=${patsubst %,install_%,$(SUBDIRS)}
CLEAN_SUBDIRS=${patsubst %,clean_%,$(SUBDIRS)}
-INSTALL_LICENSE:=@INSTALL_LICENSE@
-
.PHONY: all install clean distclean all-info info install-info install-license check \
$(SUBDIRS) $(INSTALL_SUBDIRS) $(CLEAN_SUBDIRS)
@@ -67,7 +65,7 @@ install-license: CYGWIN_LICENSE COPYING
${INSTALL} $$i $(DESTDIR)$(prefix)/share/doc/Cygwin ; \
done
-install: Makefile $(INSTALL_LICENSE) $(INSTALL_SUBDIRS)
+install: Makefile install-license $(INSTALL_SUBDIRS)
clean distclean: $(CLEAN_SUBDIRS)
diff --git a/winsup/configure b/winsup/configure
index cb83c7cb7..e70b27783 100755
--- a/winsup/configure
+++ b/winsup/configure
@@ -589,7 +589,6 @@ ac_no_link=no
enable_option_checking=no
ac_subst_vars='LTLIBOBJS
LIBOBJS
-INSTALL_LICENSE
subdirs
cygwin_headers
newlib_headers
@@ -3453,10 +3452,6 @@ if test "x$with_cross_bootstrap" != "xyes"; then
fi
-INSTALL_LICENSE="install-license"
-
-
-
ac_config_files="$ac_config_files Makefile"
cat >confcache <<\_ACEOF
diff --git a/winsup/configure.ac b/winsup/configure.ac
index e917ee1c5..13f8883eb 100644
--- a/winsup/configure.ac
+++ b/winsup/configure.ac
@@ -39,9 +39,5 @@ if test "x$with_cross_bootstrap" != "xyes"; then
AC_CONFIG_SUBDIRS([utils])
fi
-INSTALL_LICENSE="install-license"
-
-AC_SUBST(INSTALL_LICENSE)
-
AC_CONFIG_FILES([Makefile])
AC_OUTPUT