Basile Starynkevitch <[email protected]> writes:
> @@ -13358,7 +13358,7 @@
> *) ok=no ;;
> esac
> case ,${enable_languages}, in
> - *,c++,*) ;;
> + *, c++,*) ;;
> *) ok=no ;;
> esac
> if test $ok = yes; then
I don't know why you are getting this diff. You should not. I can tell
you that it comes from GCC_TARGET_TOOL in the file config/acx.m4 as
invoked by one of these two commands in configure.ac, most likely the
second one.
GCC_TARGET_TOOL(c++, CXX_FOR_TARGET, CXX,
[gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f
$$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL)
$$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes`
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs],
c++)
GCC_TARGET_TOOL(c++ for libstdc++, RAW_CXX_FOR_TARGET, CXX,
[gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs],
c++)
I have no explanation for why this isn't working for you. The
whitespace before the "c++" should be dropped by m4.
Ian