]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: Drop autoconf variable all_host
authorJon Turney <jon.turney@dronecode.org.uk>
Mon, 26 Oct 2020 13:56:51 +0000 (13:56 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Mon, 2 Nov 2020 16:49:00 +0000 (16:49 +0000)
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.

winsup/cygserver/configure
winsup/cygserver/configure.ac
winsup/cygwin/Makefile.in
winsup/cygwin/configure
winsup/cygwin/configure.ac

index aa87be83d449aca67c0c9e06255abf35f871344d..9f5cb8d892f072859c5ece6ca247f0d16a26a3d0 100755 (executable)
@@ -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
index 4ff784e471929534e1e1696e0dc39ce1902e19f2..e1b29debfd4f497864549303fd0cc426f5a57291 100644 (file)
@@ -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)
index 89e1b75671a2948420caca221dc3d171e3ce9e85..9b07d983337996cb85cec2bb731532cfbba49244 100644 (file)
@@ -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:
 
index 1151d22eff857e8c6d36add21a4065537d9cc84c..99be83c6078bb34af31707b145e10efc88a4e960 100755 (executable)
@@ -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
index 6582470999a8e0375045d3020079e605e08b854a..cf9bbaba1a2f91f1fee44d63c6db6c544e4b2786 100644 (file)
@@ -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)
This page took 0.048256 seconds and 5 git commands to generate.