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.
This commit is contained in:
parent
29817cc41e
commit
f4bfaddb3c
|
@ -596,7 +596,6 @@ LD
|
||||||
RANLIB
|
RANLIB
|
||||||
AS
|
AS
|
||||||
AR
|
AR
|
||||||
all_host
|
|
||||||
INCLUDES
|
INCLUDES
|
||||||
CPP
|
CPP
|
||||||
ac_ct_CXX
|
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
|
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.
|
# 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
|
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
||||||
|
|
|
@ -27,17 +27,6 @@ AC_LANG(C++)
|
||||||
|
|
||||||
AC_CYGWIN_INCLUDES
|
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(AR, ar, ar)
|
||||||
AC_CHECK_TOOL(AS, as, as)
|
AC_CHECK_TOOL(AS, as, as)
|
||||||
AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
|
AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
|
||||||
|
|
|
@ -572,17 +572,11 @@ exec_CFLAGS:=-fno-builtin-execve
|
||||||
fhandler_proc_CFLAGS+=-DUSERNAME="\"$(USER)\"" -DHOSTNAME="\"$(HOSTNAME)\""
|
fhandler_proc_CFLAGS+=-DUSERNAME="\"$(USER)\"" -DHOSTNAME="\"$(HOSTNAME)\""
|
||||||
fhandler_proc_CFLAGS+=-DGCC_VERSION="\"`$(CC) -v 2>&1 | tail -n 1`\""
|
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 \
|
install install-libs install-headers \
|
||||||
clean distclean realclean maintainer-clean
|
clean distclean realclean maintainer-clean
|
||||||
|
|
||||||
all_host=@all_host@
|
all: $(TARGET_LIBS) $(TEST_LIB_NAME)
|
||||||
|
|
||||||
all: all_target $(all_host)
|
|
||||||
|
|
||||||
all_target: $(TARGET_LIBS)
|
|
||||||
|
|
||||||
all_host: $(TEST_LIB_NAME)
|
|
||||||
|
|
||||||
force:
|
force:
|
||||||
|
|
||||||
|
|
|
@ -603,7 +603,6 @@ LD
|
||||||
DLLTOOL
|
DLLTOOL
|
||||||
AS
|
AS
|
||||||
AR
|
AR
|
||||||
all_host
|
|
||||||
INCLUDES
|
INCLUDES
|
||||||
CPP
|
CPP
|
||||||
ac_ct_CXX
|
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
|
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.
|
# 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
|
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
||||||
|
|
|
@ -29,17 +29,6 @@ AC_LANG(C++)
|
||||||
|
|
||||||
AC_CYGWIN_INCLUDES
|
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(AR, ar, ar)
|
||||||
AC_CHECK_TOOL(AS, as, as)
|
AC_CHECK_TOOL(AS, as, as)
|
||||||
AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
|
AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
|
||||||
|
|
Loading…
Reference in New Issue