Cygwin: Remove autoconf variable INSTALL_LICENSE

Remove autoconf variable INSTALL_LICENSE, which has a constant value
which is only used once.
This commit is contained in:
Jon Turney 2020-10-07 13:59:45 +01:00
parent 66c76e8aff
commit 1996cb7e84
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
3 changed files with 1 additions and 12 deletions

View File

@ -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)

5
winsup/configure vendored
View File

@ -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

View File

@ -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