From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id E699F3857025; Wed, 14 Oct 2020 14:40:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E699F3857025 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jon TURNEY To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: Remove autoconf variable INSTALL_LICENSE X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: 66c76e8aff7c58456fa6a0aad295b920d5c7454d X-Git-Newrev: 1996cb7e84b7f9d7fab18a14fb9a83958058dbb4 Message-Id: <20201014144039.E699F3857025@sourceware.org> Date: Wed, 14 Oct 2020 14:40:39 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2020 14:40:40 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1996cb7e84b7f9d7fab18a14fb9a83958058dbb4 commit 1996cb7e84b7f9d7fab18a14fb9a83958058dbb4 Author: Jon Turney Date: Wed Oct 7 13:59:45 2020 +0100 Cygwin: Remove autoconf variable INSTALL_LICENSE Remove autoconf variable INSTALL_LICENSE, which has a constant value which is only used once. Diff: --- 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