From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id 2DA2F3894C11; Mon, 2 Nov 2020 19:41:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2DA2F3894C11 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: Drop autoconf variable all_host X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: 29817cc41ea015074772b2cd1f290f79ff633736 X-Git-Newrev: f4bfaddb3cce6b63a57c709dd790bd78c9bcdc6a Message-Id: <20201102194155.2DA2F3894C11@sourceware.org> Date: Mon, 2 Nov 2020 19:41:55 +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: Mon, 02 Nov 2020 19:41:55 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f4bfaddb3cce6b63a57c709dd790bd78c9bcdc6a commit f4bfaddb3cce6b63a57c709dd790bd78c9bcdc6a Author: Jon Turney Date: Mon Oct 26 13:56:51 2020 +0000 Cygwin: Drop autoconf variable all_host The autoconf variable all_host is used to make building of the stub library used by the testsuite conditional on not cross-compiling. Make it unconditional, so we will notice if it's broken when cross-compiling. Diff: --- winsup/cygserver/configure | 12 ------------ winsup/cygserver/configure.ac | 11 ----------- winsup/cygwin/Makefile.in | 10 ++-------- winsup/cygwin/configure | 12 ------------ winsup/cygwin/configure.ac | 11 ----------- 5 files changed, 2 insertions(+), 54 deletions(-) diff --git a/winsup/cygserver/configure b/winsup/cygserver/configure index aa87be83d..9f5cb8d89 100755 --- a/winsup/cygserver/configure +++ b/winsup/cygserver/configure @@ -596,7 +596,6 @@ LD RANLIB AS AR -all_host INCLUDES CPP ac_ct_CXX @@ -3387,17 +3386,6 @@ done -case "$with_cross_host" in - ""|*cygwin*) - all_host="all_host" - ;; - *) - all_host= - ;; -esac - - - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 diff --git a/winsup/cygserver/configure.ac b/winsup/cygserver/configure.ac index 4ff784e47..e1b29debf 100644 --- a/winsup/cygserver/configure.ac +++ b/winsup/cygserver/configure.ac @@ -27,17 +27,6 @@ AC_LANG(C++) AC_CYGWIN_INCLUDES -case "$with_cross_host" in - ""|*cygwin*) - all_host="all_host" - ;; - *) - all_host= - ;; -esac - -AC_SUBST(all_host) - AC_CHECK_TOOL(AR, ar, ar) AC_CHECK_TOOL(AS, as, as) AC_CHECK_TOOL(RANLIB, ranlib, ranlib) diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index 89e1b7567..9b07d9833 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -572,17 +572,11 @@ exec_CFLAGS:=-fno-builtin-execve fhandler_proc_CFLAGS+=-DUSERNAME="\"$(USER)\"" -DHOSTNAME="\"$(HOSTNAME)\"" fhandler_proc_CFLAGS+=-DGCC_VERSION="\"`$(CC) -v 2>&1 | tail -n 1`\"" -.PHONY: all force dll_ofiles install all_target all_host \ +.PHONY: all force dll_ofiles install \ install install-libs install-headers \ clean distclean realclean maintainer-clean -all_host=@all_host@ - -all: all_target $(all_host) - -all_target: $(TARGET_LIBS) - -all_host: $(TEST_LIB_NAME) +all: $(TARGET_LIBS) $(TEST_LIB_NAME) force: diff --git a/winsup/cygwin/configure b/winsup/cygwin/configure index 1151d22ef..99be83c60 100755 --- a/winsup/cygwin/configure +++ b/winsup/cygwin/configure @@ -603,7 +603,6 @@ LD DLLTOOL AS AR -all_host INCLUDES CPP ac_ct_CXX @@ -3397,17 +3396,6 @@ done -case "$with_cross_host" in - ""|*cygwin*) - all_host="all_host" - ;; - *) - all_host= - ;; -esac - - - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 diff --git a/winsup/cygwin/configure.ac b/winsup/cygwin/configure.ac index 658247099..cf9bbaba1 100644 --- a/winsup/cygwin/configure.ac +++ b/winsup/cygwin/configure.ac @@ -29,17 +29,6 @@ AC_LANG(C++) AC_CYGWIN_INCLUDES -case "$with_cross_host" in - ""|*cygwin*) - all_host="all_host" - ;; - *) - all_host= - ;; -esac - -AC_SUBST(all_host) - AC_CHECK_TOOL(AR, ar, ar) AC_CHECK_TOOL(AS, as, as) AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)