From 1996cb7e84b7f9d7fab18a14fb9a83958058dbb4 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Wed, 7 Oct 2020 13:59:45 +0100 Subject: [PATCH] Cygwin: Remove autoconf variable INSTALL_LICENSE Remove autoconf variable INSTALL_LICENSE, which has a constant value which is only used once. --- winsup/Makefile.in | 4 +--- winsup/configure | 5 ----- winsup/configure.ac | 4 ---- 3 files changed, 1 insertion(+), 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