public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: Cilk Library
       [not found]   ` <BF230D13CA30DD48930C31D4099330003A48660C@FMSMSX101.amr.corp.intel.com>
@ 2013-11-07 13:36     ` Thomas Schwinge
  2013-11-07 17:32       ` Jeff Law
  2013-11-07 23:35       ` Iyer, Balaji V
  2014-09-29 18:13     ` libcilkrts: Use AC_USE_SYSTEM_EXTENSIONS (was: Cilk Library) Thomas Schwinge
                       ` (3 subsequent siblings)
  4 siblings, 2 replies; 13+ messages in thread
From: Thomas Schwinge @ 2013-11-07 13:36 UTC (permalink / raw)
  To: Iyer, Balaji V; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 73670 bytes --]

Hi!

On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
>         * Makefile.def: Add libcilkrts to target_modules.  Make libcilkrts
>         depend on libstdc++ and libgcc.
>         [...]
>         * Makefile.in: Added libcilkrts related fields to support building it.

How did you modify the latter file?  I noticed it is no longer in sync
with the former: if I regenerate it (»autogen Makefile.def«), then there
are differences.  This is easily fixed, of course, but as everyone now
has been using the "out-of-sync" Makefile.in, I wonder whether the
regeneration qualifies as obvious to commit, or rather something in
Makefile.def needs to be changed to make it match the Makefile.in as it
has been checked in in r204173?

	* Makefile.in: Regenerate.

diff --git Makefile.in Makefile.in
index e0ba784..b63818d 100644
--- Makefile.in
+++ Makefile.in
@@ -577,7 +577,7 @@ all:
 
 # This is the list of directories that may be needed in RPATH_ENVVAR
 # so that programs built for the target machine work.
-TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)$(HOST_LIB_PATH_libcilkrts)
+TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
 
 @if target-libstdc++-v3
 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
@@ -591,6 +591,10 @@ TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
 @endif target-libvtv
 
+@if target-libcilkrts
+TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
+@endif target-libcilkrts
+
 @if target-libssp
 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
 @endif target-libssp
@@ -599,10 +603,6 @@ TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
 @endif target-libgomp
 
-@if target-libcilkrts
-TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
-@endif target-libcilkrts
-
 @if target-libitm
 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
 @endif target-libitm
@@ -931,6 +931,7 @@ configure-target:  \
     maybe-configure-target-libstdc++-v3 \
     maybe-configure-target-libsanitizer \
     maybe-configure-target-libvtv \
+    maybe-configure-target-libcilkrts \
     maybe-configure-target-libssp \
     maybe-configure-target-newlib \
     maybe-configure-target-libgcc \
@@ -948,7 +949,6 @@ configure-target:  \
     maybe-configure-target-boehm-gc \
     maybe-configure-target-rda \
     maybe-configure-target-libada \
-    maybe-configure-target-libcilkrts \
     maybe-configure-target-libgomp \
     maybe-configure-target-libitm \
     maybe-configure-target-libatomic
@@ -1085,6 +1085,7 @@ all-target: maybe-all-target-libsanitizer
 @if target-libvtv-no-bootstrap
 all-target: maybe-all-target-libvtv
 @endif target-libvtv-no-bootstrap
+all-target: maybe-all-target-libcilkrts
 all-target: maybe-all-target-libssp
 all-target: maybe-all-target-newlib
 @if target-libgcc-no-bootstrap
@@ -1107,7 +1108,6 @@ all-target: maybe-all-target-libada
 @if target-libgomp-no-bootstrap
 all-target: maybe-all-target-libgomp
 @endif target-libgomp-no-bootstrap
-all-target: maybe-all-target-libcilkrts
 all-target: maybe-all-target-libitm
 all-target: maybe-all-target-libatomic
 
@@ -1177,6 +1177,7 @@ info-host: maybe-info-lto-plugin
 info-target: maybe-info-target-libstdc++-v3
 info-target: maybe-info-target-libsanitizer
 info-target: maybe-info-target-libvtv
+info-target: maybe-info-target-libcilkrts
 info-target: maybe-info-target-libssp
 info-target: maybe-info-target-newlib
 info-target: maybe-info-target-libgcc
@@ -1259,6 +1260,7 @@ dvi-host: maybe-dvi-lto-plugin
 dvi-target: maybe-dvi-target-libstdc++-v3
 dvi-target: maybe-dvi-target-libsanitizer
 dvi-target: maybe-dvi-target-libvtv
+dvi-target: maybe-dvi-target-libcilkrts
 dvi-target: maybe-dvi-target-libssp
 dvi-target: maybe-dvi-target-newlib
 dvi-target: maybe-dvi-target-libgcc
@@ -1341,6 +1343,7 @@ pdf-host: maybe-pdf-lto-plugin
 pdf-target: maybe-pdf-target-libstdc++-v3
 pdf-target: maybe-pdf-target-libsanitizer
 pdf-target: maybe-pdf-target-libvtv
+pdf-target: maybe-pdf-target-libcilkrts
 pdf-target: maybe-pdf-target-libssp
 pdf-target: maybe-pdf-target-newlib
 pdf-target: maybe-pdf-target-libgcc
@@ -1423,6 +1426,7 @@ html-host: maybe-html-lto-plugin
 html-target: maybe-html-target-libstdc++-v3
 html-target: maybe-html-target-libsanitizer
 html-target: maybe-html-target-libvtv
+html-target: maybe-html-target-libcilkrts
 html-target: maybe-html-target-libssp
 html-target: maybe-html-target-newlib
 html-target: maybe-html-target-libgcc
@@ -1505,6 +1509,7 @@ TAGS-host: maybe-TAGS-lto-plugin
 TAGS-target: maybe-TAGS-target-libstdc++-v3
 TAGS-target: maybe-TAGS-target-libsanitizer
 TAGS-target: maybe-TAGS-target-libvtv
+TAGS-target: maybe-TAGS-target-libcilkrts
 TAGS-target: maybe-TAGS-target-libssp
 TAGS-target: maybe-TAGS-target-newlib
 TAGS-target: maybe-TAGS-target-libgcc
@@ -1587,6 +1592,7 @@ install-info-host: maybe-install-info-lto-plugin
 install-info-target: maybe-install-info-target-libstdc++-v3
 install-info-target: maybe-install-info-target-libsanitizer
 install-info-target: maybe-install-info-target-libvtv
+install-info-target: maybe-install-info-target-libcilkrts
 install-info-target: maybe-install-info-target-libssp
 install-info-target: maybe-install-info-target-newlib
 install-info-target: maybe-install-info-target-libgcc
@@ -1669,6 +1675,7 @@ install-pdf-host: maybe-install-pdf-lto-plugin
 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
 install-pdf-target: maybe-install-pdf-target-libsanitizer
 install-pdf-target: maybe-install-pdf-target-libvtv
+install-pdf-target: maybe-install-pdf-target-libcilkrts
 install-pdf-target: maybe-install-pdf-target-libssp
 install-pdf-target: maybe-install-pdf-target-newlib
 install-pdf-target: maybe-install-pdf-target-libgcc
@@ -1751,6 +1758,7 @@ install-html-host: maybe-install-html-lto-plugin
 install-html-target: maybe-install-html-target-libstdc++-v3
 install-html-target: maybe-install-html-target-libsanitizer
 install-html-target: maybe-install-html-target-libvtv
+install-html-target: maybe-install-html-target-libcilkrts
 install-html-target: maybe-install-html-target-libssp
 install-html-target: maybe-install-html-target-newlib
 install-html-target: maybe-install-html-target-libgcc
@@ -1833,6 +1841,7 @@ installcheck-host: maybe-installcheck-lto-plugin
 installcheck-target: maybe-installcheck-target-libstdc++-v3
 installcheck-target: maybe-installcheck-target-libsanitizer
 installcheck-target: maybe-installcheck-target-libvtv
+installcheck-target: maybe-installcheck-target-libcilkrts
 installcheck-target: maybe-installcheck-target-libssp
 installcheck-target: maybe-installcheck-target-newlib
 installcheck-target: maybe-installcheck-target-libgcc
@@ -1915,6 +1924,7 @@ mostlyclean-host: maybe-mostlyclean-lto-plugin
 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
 mostlyclean-target: maybe-mostlyclean-target-libvtv
+mostlyclean-target: maybe-mostlyclean-target-libcilkrts
 mostlyclean-target: maybe-mostlyclean-target-libssp
 mostlyclean-target: maybe-mostlyclean-target-newlib
 mostlyclean-target: maybe-mostlyclean-target-libgcc
@@ -1933,7 +1943,6 @@ mostlyclean-target: maybe-mostlyclean-target-boehm-gc
 mostlyclean-target: maybe-mostlyclean-target-rda
 mostlyclean-target: maybe-mostlyclean-target-libada
 mostlyclean-target: maybe-mostlyclean-target-libgomp
-mostlyclean-target: maybe-mostlyclean-target-libcilkrts
 mostlyclean-target: maybe-mostlyclean-target-libitm
 mostlyclean-target: maybe-mostlyclean-target-libatomic
 
@@ -1998,6 +2007,7 @@ clean-host: maybe-clean-lto-plugin
 clean-target: maybe-clean-target-libstdc++-v3
 clean-target: maybe-clean-target-libsanitizer
 clean-target: maybe-clean-target-libvtv
+clean-target: maybe-clean-target-libcilkrts
 clean-target: maybe-clean-target-libssp
 clean-target: maybe-clean-target-newlib
 clean-target: maybe-clean-target-libgcc
@@ -2016,7 +2026,6 @@ clean-target: maybe-clean-target-boehm-gc
 clean-target: maybe-clean-target-rda
 clean-target: maybe-clean-target-libada
 clean-target: maybe-clean-target-libgomp
-clean-target: maybe-clean-target-libcilkrts
 clean-target: maybe-clean-target-libitm
 clean-target: maybe-clean-target-libatomic
 
@@ -2081,6 +2090,7 @@ distclean-host: maybe-distclean-lto-plugin
 distclean-target: maybe-distclean-target-libstdc++-v3
 distclean-target: maybe-distclean-target-libsanitizer
 distclean-target: maybe-distclean-target-libvtv
+distclean-target: maybe-distclean-target-libcilkrts
 distclean-target: maybe-distclean-target-libssp
 distclean-target: maybe-distclean-target-newlib
 distclean-target: maybe-distclean-target-libgcc
@@ -2099,7 +2109,6 @@ distclean-target: maybe-distclean-target-boehm-gc
 distclean-target: maybe-distclean-target-rda
 distclean-target: maybe-distclean-target-libada
 distclean-target: maybe-distclean-target-libgomp
-distclean-target: maybe-distclean-target-libcilkrts
 distclean-target: maybe-distclean-target-libitm
 distclean-target: maybe-distclean-target-libatomic
 
@@ -2164,6 +2173,7 @@ maintainer-clean-host: maybe-maintainer-clean-lto-plugin
 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
+maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
 maintainer-clean-target: maybe-maintainer-clean-target-libssp
 maintainer-clean-target: maybe-maintainer-clean-target-newlib
 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
@@ -2182,7 +2192,6 @@ maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
 maintainer-clean-target: maybe-maintainer-clean-target-rda
 maintainer-clean-target: maybe-maintainer-clean-target-libada
 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
-maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
 maintainer-clean-target: maybe-maintainer-clean-target-libitm
 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
 
@@ -2302,6 +2311,7 @@ check-target:  \
     maybe-check-target-libstdc++-v3 \
     maybe-check-target-libsanitizer \
     maybe-check-target-libvtv \
+    maybe-check-target-libcilkrts \
     maybe-check-target-libssp \
     maybe-check-target-newlib \
     maybe-check-target-libgcc \
@@ -2457,6 +2467,7 @@ install-target:  \
     maybe-install-target-libstdc++-v3 \
     maybe-install-target-libsanitizer \
     maybe-install-target-libvtv \
+    maybe-install-target-libcilkrts \
     maybe-install-target-libssp \
     maybe-install-target-newlib \
     maybe-install-target-libgcc \
@@ -2475,7 +2486,6 @@ install-target:  \
     maybe-install-target-rda \
     maybe-install-target-libada \
     maybe-install-target-libgomp \
-    maybe-install-target-libcilkrts \
     maybe-install-target-libitm \
     maybe-install-target-libatomic
 
@@ -2560,6 +2570,7 @@ install-strip-target:  \
     maybe-install-strip-target-libstdc++-v3 \
     maybe-install-strip-target-libsanitizer \
     maybe-install-strip-target-libvtv \
+    maybe-install-strip-target-libcilkrts \
     maybe-install-strip-target-libssp \
     maybe-install-strip-target-newlib \
     maybe-install-strip-target-libgcc \
@@ -2577,7 +2588,6 @@ install-strip-target:  \
     maybe-install-strip-target-boehm-gc \
     maybe-install-strip-target-rda \
     maybe-install-strip-target-libada \
-    maybe-install-strip-target-libcilkrts \
     maybe-install-strip-target-libgomp \
     maybe-install-strip-target-libitm \
     maybe-install-strip-target-libatomic
@@ -33685,6 +33695,463 @@ maintainer-clean-target-libvtv:
 
 
 
+.PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
+maybe-configure-target-libcilkrts:
+@if gcc-bootstrap
+configure-target-libcilkrts: stage_current
+@endif gcc-bootstrap
+@if target-libcilkrts
+maybe-configure-target-libcilkrts: configure-target-libcilkrts
+configure-target-libcilkrts: 
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	echo "Checking multilib configuration for libcilkrts..."; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
+	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
+	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
+	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
+	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
+	  else \
+	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
+	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
+	  fi; \
+	else \
+	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
+	fi; \
+	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
+	$(NORMAL_TARGET_EXPORTS)  \
+	echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
+	cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
+	case $(srcdir) in \
+	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
+		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+	esac; \
+	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
+	libsrcdir="$$s/libcilkrts"; \
+	rm -f no-such-file || : ; \
+	CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
+	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+	  --target=${target_alias} $${srcdiroption}  \
+	  || exit 1
+@endif target-libcilkrts
+
+
+
+
+
+.PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
+maybe-all-target-libcilkrts:
+@if gcc-bootstrap
+all-target-libcilkrts: stage_current
+@endif gcc-bootstrap
+@if target-libcilkrts
+TARGET-target-libcilkrts=all
+maybe-all-target-libcilkrts: all-target-libcilkrts
+all-target-libcilkrts: configure-target-libcilkrts
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS)  \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)   \
+		$(TARGET-target-libcilkrts))
+@endif target-libcilkrts
+
+
+
+
+
+.PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
+maybe-check-target-libcilkrts:
+@if target-libcilkrts
+maybe-check-target-libcilkrts: check-target-libcilkrts
+
+check-target-libcilkrts:
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
+
+@endif target-libcilkrts
+
+.PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
+maybe-install-target-libcilkrts:
+@if target-libcilkrts
+maybe-install-target-libcilkrts: install-target-libcilkrts
+
+install-target-libcilkrts: installdirs
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
+
+@endif target-libcilkrts
+
+.PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
+maybe-install-strip-target-libcilkrts:
+@if target-libcilkrts
+maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
+
+install-strip-target-libcilkrts: installdirs
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
+
+@endif target-libcilkrts
+
+# Other targets (info, dvi, pdf, etc.)
+
+.PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
+maybe-info-target-libcilkrts:
+@if target-libcilkrts
+maybe-info-target-libcilkrts: info-target-libcilkrts
+
+info-target-libcilkrts: \
+    configure-target-libcilkrts 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           info) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
+maybe-dvi-target-libcilkrts:
+@if target-libcilkrts
+maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
+
+dvi-target-libcilkrts: \
+    configure-target-libcilkrts 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           dvi) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
+maybe-pdf-target-libcilkrts:
+@if target-libcilkrts
+maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
+
+pdf-target-libcilkrts: \
+    configure-target-libcilkrts 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           pdf) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
+maybe-html-target-libcilkrts:
+@if target-libcilkrts
+maybe-html-target-libcilkrts: html-target-libcilkrts
+
+html-target-libcilkrts: \
+    configure-target-libcilkrts 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           html) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
+maybe-TAGS-target-libcilkrts:
+@if target-libcilkrts
+maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
+
+TAGS-target-libcilkrts: \
+    configure-target-libcilkrts 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           TAGS) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
+maybe-install-info-target-libcilkrts:
+@if target-libcilkrts
+maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
+
+install-info-target-libcilkrts: \
+    configure-target-libcilkrts \
+    info-target-libcilkrts 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           install-info) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
+maybe-install-pdf-target-libcilkrts:
+@if target-libcilkrts
+maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
+
+install-pdf-target-libcilkrts: \
+    configure-target-libcilkrts \
+    pdf-target-libcilkrts 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           install-pdf) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
+maybe-install-html-target-libcilkrts:
+@if target-libcilkrts
+maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
+
+install-html-target-libcilkrts: \
+    configure-target-libcilkrts \
+    html-target-libcilkrts 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           install-html) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
+maybe-installcheck-target-libcilkrts:
+@if target-libcilkrts
+maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
+
+installcheck-target-libcilkrts: \
+    configure-target-libcilkrts 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           installcheck) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
+maybe-mostlyclean-target-libcilkrts:
+@if target-libcilkrts
+maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
+
+mostlyclean-target-libcilkrts: 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           mostlyclean) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
+maybe-clean-target-libcilkrts:
+@if target-libcilkrts
+maybe-clean-target-libcilkrts: clean-target-libcilkrts
+
+clean-target-libcilkrts: 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           clean) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
+maybe-distclean-target-libcilkrts:
+@if target-libcilkrts
+maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
+
+distclean-target-libcilkrts: 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           distclean) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+.PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
+maybe-maintainer-clean-target-libcilkrts:
+@if target-libcilkrts
+maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
+
+maintainer-clean-target-libcilkrts: 
+	@: $(MAKE); $(unstage)
+	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(NORMAL_TARGET_EXPORTS) \
+	echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
+	for flag in $(EXTRA_TARGET_FLAGS); do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	(cd $(TARGET_SUBDIR)/libcilkrts && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	           maintainer-clean) \
+	  || exit 1
+
+@endif target-libcilkrts
+
+
+
+
+
 .PHONY: configure-target-libssp maybe-configure-target-libssp
 maybe-configure-target-libssp:
 @if gcc-bootstrap
@@ -41883,983 +42350,6 @@ maintainer-clean-target-libada:
 @endif target-libada
 
 
-.PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
-maybe-configure-target-libcilkrts:
-@if gcc-bootstrap
-configure-target-libcilkrts: stage_current
-@endif gcc-bootstrap
-@if target-libcilkrts
-maybe-configure-target-libcilkrts: configure-target-libcilkrts
-configure-target-libcilkrts: 
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	echo "Checking multilib configuration for libcilkrts...(1)"; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
-	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
-	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
-	  else \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
-	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	  fi; \
-	else \
-	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	fi; \
-	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
-	$(NORMAL_TARGET_EXPORTS)  \
-	echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
-	cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
-	case $(srcdir) in \
-	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
-	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
-		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
-	esac; \
-	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
-	libsrcdir="$$s/libcilkrts"; \
-	rm -f no-such-file || : ; \
-	CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
-	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
-	  --target=${target_alias} $${srcdiroption}  \
-	  || exit 1 
-@endif target-libcilkrts
-
-
-.PHONY: configure-stage1-target-libcilkrts maybe-configure-stage1-target-libcilkrts
-maybe-configure-stage1-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-configure-stage1-target-libcilkrts: configure-stage1-target-libcilkrts
-configure-stage1-target-libcilkrts:
-	@[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
-	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGE1_TFLAGS)"; \
-	echo "Checking multilib configuration for libcilkrts...(2)"; \
-	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
-	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
-	  else \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
-	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	  fi; \
-	else \
-	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	fi; \
-	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
-	$(NORMAL_TARGET_EXPORTS) \
-	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
-	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
-	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
-	echo Configuring stage 1 in $(TARGET_SUBDIR)/libcilkrts ; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
-	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
-	case $(srcdir) in \
-	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
-	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
-		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
-	esac; \
-	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
-	libsrcdir="$$s/libcilkrts"; \
-	$(SHELL) $${libsrcdir}/configure \
-	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
-	  --target=${target_alias} $${srcdiroption} \
-	  $(STAGE1_CONFIGURE_FLAGS)
-@endif target-libcilkrts-bootstrap
-
-.PHONY: configure-stage2-target-libcilkrts maybe-configure-stage2-target-libcilkrts
-maybe-configure-stage2-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-configure-stage2-target-libcilkrts: configure-stage2-target-libcilkrts
-configure-stage2-target-libcilkrts:
-	@[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
-	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGE2_TFLAGS)"; \
-	echo "Checking multilib configuration for libcilkrts...(3)"; \
-	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
-	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
-	  else \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
-	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	  fi; \
-	else \
-	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	fi; \
-	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
-	$(NORMAL_TARGET_EXPORTS) \
-	 \
-	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
-	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
-	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
-	echo Configuring stage 2 in $(TARGET_SUBDIR)/libcilkrts ; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
-	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
-	case $(srcdir) in \
-	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
-	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
-		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
-	esac; \
-	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
-	libsrcdir="$$s/libcilkrts"; \
-	$(SHELL) $${libsrcdir}/configure \
-	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
-	  --target=${target_alias} $${srcdiroption} \
-	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGE2_CONFIGURE_FLAGS)
-@endif target-libcilkrts-bootstrap
-
-.PHONY: configure-stage3-target-libcilkrts maybe-configure-stage3-target-libcilkrts
-maybe-configure-stage3-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-configure-stage3-target-libcilkrts: configure-stage3-target-libcilkrts
-configure-stage3-target-libcilkrts:
-	@[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
-	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGE3_TFLAGS)"; \
-	echo "Checking multilib configuration for libcilkrts...(4)"; \
-	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
-	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
-	  else \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
-	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	  fi; \
-	else \
-	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	fi; \
-	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
-	$(NORMAL_TARGET_EXPORTS) \
-	 \
-	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
-	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
-	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
-	echo Configuring stage 3 in $(TARGET_SUBDIR)/libcilkrts ; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
-	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
-	case $(srcdir) in \
-	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
-	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
-		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
-	esac; \
-	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
-	libsrcdir="$$s/libcilkrts"; \
-	$(SHELL) $${libsrcdir}/configure \
-	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
-	  --target=${target_alias} $${srcdiroption} \
-	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGE3_CONFIGURE_FLAGS)
-@endif target-libcilkrts-bootstrap
-
-.PHONY: configure-stage4-target-libcilkrts maybe-configure-stage4-target-libcilkrts
-maybe-configure-stage4-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-configure-stage4-target-libcilkrts: configure-stage4-target-libcilkrts
-configure-stage4-target-libcilkrts:
-	@[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
-	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGE4_TFLAGS)"; \
-	echo "Checking multilib configuration for libcilkrts...(4)"; \
-	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
-	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
-	  else \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
-	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	  fi; \
-	else \
-	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	fi; \
-	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
-	$(NORMAL_TARGET_EXPORTS) \
-	 \
-	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
-	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
-	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
-	echo Configuring stage 4 in $(TARGET_SUBDIR)/libcilkrts ; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
-	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
-	case $(srcdir) in \
-	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
-	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
-		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
-	esac; \
-	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
-	libsrcdir="$$s/libcilkrts"; \
-	$(SHELL) $${libsrcdir}/configure \
-	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
-	  --target=${target_alias} $${srcdiroption} \
-	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGE4_CONFIGURE_FLAGS)
-@endif target-libcilkrts-bootstrap
-
-.PHONY: configure-stageprofile-target-libcilkrts maybe-configure-stageprofile-target-libcilkrts
-maybe-configure-stageprofile-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-configure-stageprofile-target-libcilkrts: configure-stageprofile-target-libcilkrts
-configure-stageprofile-target-libcilkrts:
-	@[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
-	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGEprofile_TFLAGS)"; \
-	echo "Checking multilib configuration for libcilkrts...(5)"; \
-	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
-	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
-	  else \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
-	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	  fi; \
-	else \
-	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	fi; \
-	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
-	$(NORMAL_TARGET_EXPORTS) \
-	 \
-	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
-	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
-	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
-	echo Configuring stage profile in $(TARGET_SUBDIR)/libcilkrts ; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
-	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
-	case $(srcdir) in \
-	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
-	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
-		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
-	esac; \
-	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
-	libsrcdir="$$s/libcilkrts"; \
-	$(SHELL) $${libsrcdir}/configure \
-	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
-	  --target=${target_alias} $${srcdiroption} \
-	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGEprofile_CONFIGURE_FLAGS)
-@endif target-libcilkrts-bootstrap
-
-.PHONY: configure-stagefeedback-target-libcilkrts maybe-configure-stagefeedback-target-libcilkrts
-maybe-configure-stagefeedback-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-configure-stagefeedback-target-libcilkrts: configure-stagefeedback-target-libcilkrts
-configure-stagefeedback-target-libcilkrts:
-	@[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
-	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGEfeedback_TFLAGS)"; \
-	echo "Checking multilib configuration for libcilkrts...(6)"; \
-	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
-	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
-	  else \
-	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
-	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	  fi; \
-	else \
-	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
-	fi; \
-	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
-	$(NORMAL_TARGET_EXPORTS) \
-	 \
-	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
-	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
-	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
-	echo Configuring stage feedback in $(TARGET_SUBDIR)/libcilkrts ; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
-	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
-	case $(srcdir) in \
-	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
-	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
-		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
-	esac; \
-	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
-	libsrcdir="$$s/libcilkrts"; \
-	$(SHELL) $${libsrcdir}/configure \
-	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
-	  --target=${target_alias} $${srcdiroption} \
-	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGEfeedback_CONFIGURE_FLAGS)
-@endif target-libcilkrts-bootstrap
-
-
-
-
-
-.PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
-maybe-all-target-libcilkrts:
-@if gcc-bootstrap
-all-target-libcilkrts: stage_current
-@endif gcc-bootstrap
-@if target-libcilkrts
-TARGET-target-libcilkrts=all
-maybe-all-target-libcilkrts: all-target-libcilkrts
-all-target-libcilkrts: configure-target-libcilkrts
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS)  \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)  \
-		$(TARGET-target-libcilkrts))
-@endif target-libcilkrts
-
-
-
-.PHONY: all-stage1-target-libcilkrts maybe-all-stage1-target-libcilkrts
-.PHONY: clean-stage1-target-libcilkrts maybe-clean-stage1-target-libcilkrts
-maybe-all-stage1-target-libcilkrts:
-maybe-clean-stage1-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-all-stage1-target-libcilkrts: all-stage1-target-libcilkrts
-all-stage1: all-stage1-target-libcilkrts
-TARGET-stage1-target-libcilkrts = $(TARGET-target-libcilkrts)
-all-stage1-target-libcilkrts: configure-stage1-target-libcilkrts
-	@[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGE1_TFLAGS)"; \
-	$(NORMAL_TARGET_EXPORTS)  \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(BASE_FLAGS_TO_PASS) \
-		CFLAGS="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
-		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
-		$(EXTRA_TARGET_FLAGS)   \
-		TFLAGS="$(STAGE1_TFLAGS)" \
-		$(TARGET-stage1-target-libcilkrts)
-
-maybe-clean-stage1-target-libcilkrts: clean-stage1-target-libcilkrts
-clean-stage1: clean-stage1-target-libcilkrts
-clean-stage1-target-libcilkrts:
-	@if [ $(current_stage) = stage1 ]; then \
-	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
-	else \
-	  [ -f $(TARGET_SUBDIR)/stage1-libcilkrts/Makefile ] || exit 0; \
-	  $(MAKE) stage1-start; \
-	fi; \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
-		 clean
-@endif target-libcilkrts-bootstrap
-
-
-.PHONY: all-stage2-target-libcilkrts maybe-all-stage2-target-libcilkrts
-.PHONY: clean-stage2-target-libcilkrts maybe-clean-stage2-target-libcilkrts
-maybe-all-stage2-target-libcilkrts:
-maybe-clean-stage2-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-all-stage2-target-libcilkrts: all-stage2-target-libcilkrts
-all-stage2: all-stage2-target-libcilkrts
-TARGET-stage2-target-libcilkrts = $(TARGET-target-libcilkrts)
-all-stage2-target-libcilkrts: configure-stage2-target-libcilkrts
-	@[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGE2_TFLAGS)"; \
-	$(NORMAL_TARGET_EXPORTS) \
-	  \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(BASE_FLAGS_TO_PASS) \
-		CFLAGS="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
-		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
-		$(EXTRA_TARGET_FLAGS)   \
-		TFLAGS="$(STAGE2_TFLAGS)" \
-		$(TARGET-stage2-target-libcilkrts)
-
-maybe-clean-stage2-target-libcilkrts: clean-stage2-target-libcilkrts
-clean-stage2: clean-stage2-target-libcilkrts
-clean-stage2-target-libcilkrts:
-	@if [ $(current_stage) = stage2 ]; then \
-	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
-	else \
-	  [ -f $(TARGET_SUBDIR)/stage2-libcilkrts/Makefile ] || exit 0; \
-	  $(MAKE) stage2-start; \
-	fi; \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
-		  \
-		 clean
-@endif target-libcilkrts-bootstrap
-
-
-.PHONY: all-stage3-target-libcilkrts maybe-all-stage3-target-libcilkrts
-.PHONY: clean-stage3-target-libcilkrts maybe-clean-stage3-target-libcilkrts
-maybe-all-stage3-target-libcilkrts:
-maybe-clean-stage3-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-all-stage3-target-libcilkrts: all-stage3-target-libcilkrts
-all-stage3: all-stage3-target-libcilkrts
-TARGET-stage3-target-libcilkrts = $(TARGET-target-libcilkrts)
-all-stage3-target-libcilkrts: configure-stage3-target-libcilkrts
-	@[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGE3_TFLAGS)"; \
-	$(NORMAL_TARGET_EXPORTS) \
-	  \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(BASE_FLAGS_TO_PASS) \
-		CFLAGS="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
-		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
-		$(EXTRA_TARGET_FLAGS)   \
-		TFLAGS="$(STAGE3_TFLAGS)" \
-		$(TARGET-stage3-target-libcilkrts)
-
-maybe-clean-stage3-target-libcilkrts: clean-stage3-target-libcilkrts
-clean-stage3: clean-stage3-target-libcilkrts
-clean-stage3-target-libcilkrts:
-	@if [ $(current_stage) = stage3 ]; then \
-	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
-	else \
-	  [ -f $(TARGET_SUBDIR)/stage3-libcilkrts/Makefile ] || exit 0; \
-	  $(MAKE) stage3-start; \
-	fi; \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
-		  \
-		 clean
-@endif target-libcilkrts-bootstrap
-
-
-.PHONY: all-stage4-target-libcilkrts maybe-all-stage4-target-libcilkrts
-.PHONY: clean-stage4-target-libcilkrts maybe-clean-stage4-target-libcilkrts
-maybe-all-stage4-target-libcilkrts:
-maybe-clean-stage4-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-all-stage4-target-libcilkrts: all-stage4-target-libcilkrts
-all-stage4: all-stage4-target-libcilkrts
-TARGET-stage4-target-libcilkrts = $(TARGET-target-libcilkrts)
-all-stage4-target-libcilkrts: configure-stage4-target-libcilkrts
-	@[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGE4_TFLAGS)"; \
-	$(NORMAL_TARGET_EXPORTS) \
-	  \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(BASE_FLAGS_TO_PASS) \
-		CFLAGS="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
-		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
-		$(EXTRA_TARGET_FLAGS)   \
-		TFLAGS="$(STAGE4_TFLAGS)" \
-		$(TARGET-stage4-target-libcilkrts)
-
-maybe-clean-stage4-target-libcilkrts: clean-stage4-target-libcilkrts
-clean-stage4: clean-stage4-target-libcilkrts
-clean-stage4-target-libcilkrts:
-	@if [ $(current_stage) = stage4 ]; then \
-	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
-	else \
-	  [ -f $(TARGET_SUBDIR)/stage4-libcilkrts/Makefile ] || exit 0; \
-	  $(MAKE) stage4-start; \
-	fi; \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
-		  \
-		 clean
-@endif target-libcilkrts-bootstrap
-
-
-.PHONY: all-stageprofile-target-libcilkrts maybe-all-stageprofile-target-libcilkrts
-.PHONY: clean-stageprofile-target-libcilkrts maybe-clean-stageprofile-target-libcilkrts
-maybe-all-stageprofile-target-libcilkrts:
-maybe-clean-stageprofile-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-all-stageprofile-target-libcilkrts: all-stageprofile-target-libcilkrts
-all-stageprofile: all-stageprofile-target-libcilkrts
-TARGET-stageprofile-target-libcilkrts = $(TARGET-target-libcilkrts)
-all-stageprofile-target-libcilkrts: configure-stageprofile-target-libcilkrts
-	@[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGEprofile_TFLAGS)"; \
-	$(NORMAL_TARGET_EXPORTS) \
-	  \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(BASE_FLAGS_TO_PASS) \
-		CFLAGS="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
-		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
-		$(EXTRA_TARGET_FLAGS)   \
-		TFLAGS="$(STAGEprofile_TFLAGS)" \
-		$(TARGET-stageprofile-target-libcilkrts)
-
-maybe-clean-stageprofile-target-libcilkrts: clean-stageprofile-target-libcilkrts
-clean-stageprofile: clean-stageprofile-target-libcilkrts
-clean-stageprofile-target-libcilkrts:
-	@if [ $(current_stage) = stageprofile ]; then \
-	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
-	else \
-	  [ -f $(TARGET_SUBDIR)/stageprofile-libcilkrts/Makefile ] || exit 0; \
-	  $(MAKE) stageprofile-start; \
-	fi; \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
-		  \
-		 clean
-@endif target-libcilkrts-bootstrap
-
-
-.PHONY: all-stagefeedback-target-libcilkrts maybe-all-stagefeedback-target-libcilkrts
-.PHONY: clean-stagefeedback-target-libcilkrts maybe-clean-stagefeedback-target-libcilkrts
-maybe-all-stagefeedback-target-libcilkrts:
-maybe-clean-stagefeedback-target-libcilkrts:
-@if target-libcilkrts-bootstrap
-maybe-all-stagefeedback-target-libcilkrts: all-stagefeedback-target-libcilkrts
-all-stagefeedback: all-stagefeedback-target-libcilkrts
-TARGET-stagefeedback-target-libcilkrts = $(TARGET-target-libcilkrts)
-all-stagefeedback-target-libcilkrts: configure-stagefeedback-target-libcilkrts
-	@[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	TFLAGS="$(STAGEfeedback_TFLAGS)"; \
-	$(NORMAL_TARGET_EXPORTS) \
-	  \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(BASE_FLAGS_TO_PASS) \
-		CFLAGS="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
-		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
-		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
-		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
-		$(EXTRA_TARGET_FLAGS)   \
-		TFLAGS="$(STAGEfeedback_TFLAGS)" \
-		$(TARGET-stagefeedback-target-libcilkrts)
-
-maybe-clean-stagefeedback-target-libcilkrts: clean-stagefeedback-target-libcilkrts
-clean-stagefeedback: clean-stagefeedback-target-libcilkrts
-clean-stagefeedback-target-libcilkrts:
-	@if [ $(current_stage) = stagefeedback ]; then \
-	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
-	else \
-	  [ -f $(TARGET_SUBDIR)/stagefeedback-libcilkrts/Makefile ] || exit 0; \
-	  $(MAKE) stagefeedback-start; \
-	fi; \
-	cd $(TARGET_SUBDIR)/libcilkrts && \
-	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
-		  \
-		 clean
-@endif target-libcilkrts-bootstrap
-
-
-
-
-
-
-.PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
-maybe-check-target-libcilkrts:
-@if target-libcilkrts
-maybe-check-target-libcilkrts: check-target-libcilkrts
-
-check-target-libcilkrts:
-	@: $(MAKE); $(unstage)
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
-
-@endif target-libcilkrts
-
-.PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
-maybe-install-target-libcilkrts:
-@if target-libcilkrts
-maybe-install-target-libcilkrts: install-target-libcilkrts
-
-install-target-libcilkrts: installdirs
-	@: $(MAKE); $(unstage)
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
-
-@endif target-libcilkrts
-
-.PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
-maybe-install-strip-target-libcilkrts:
-@if target-libcilkrts
-maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
-
-install-strip-target-libcilkrts: installdirs
-	@: $(MAKE); $(unstage)
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
-
-@endif target-libcilkrts
-
-# Other targets (info, dvi, pdf, etc.)
-
-.PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
-maybe-info-target-libcilkrts:
-@if target-libcilkrts
-maybe-info-target-libcilkrts: info-target-libcilkrts
-
-info-target-libcilkrts: \
-    configure-target-libcilkrts 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           info) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
-maybe-dvi-target-libcilkrts:
-@if target-libcilkrts
-maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
-
-dvi-target-libcilkrts: \
-    configure-target-libcilkrts 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           dvi) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
-maybe-pdf-target-libcilkrts:
-@if target-libcilkrts
-maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
-
-pdf-target-libcilkrts: \
-    configure-target-libcilkrts 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           pdf) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
-maybe-html-target-libcilkrts:
-@if target-libcilkrts
-maybe-html-target-libcilkrts: html-target-libcilkrts
-
-html-target-libcilkrts: \
-    configure-target-libcilkrts 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           html) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
-maybe-TAGS-target-libcilkrts:
-@if target-libcilkrts
-maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
-
-TAGS-target-libcilkrts: \
-    configure-target-libcilkrts 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           TAGS) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
-maybe-install-info-target-libcilkrts:
-@if target-libcilkrts
-maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
-
-install-info-target-libcilkrts: \
-    configure-target-libcilkrts \
-    info-target-libcilkrts 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           install-info) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
-maybe-install-pdf-target-libcilkrts:
-@if target-libcilkrts
-maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
-
-install-pdf-target-libcilkrts: \
-    configure-target-libcilkrts \
-    pdf-target-libcilkrts 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           install-pdf) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
-maybe-install-html-target-libcilkrts:
-@if target-libcilkrts
-maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
-
-install-html-target-libcilkrts: \
-    configure-target-libcilkrts \
-    html-target-libcilkrts 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           install-html) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
-maybe-installcheck-target-libcilkrts:
-@if target-libcilkrts
-maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
-
-installcheck-target-libcilkrts: \
-    configure-target-libcilkrts 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           installcheck) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
-maybe-mostlyclean-target-libcilkrts:
-@if target-libcilkrts
-maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
-
-mostlyclean-target-libcilkrts: 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           mostlyclean) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
-maybe-clean-target-libcilkrts:
-@if target-libcilkrts
-maybe-clean-target-libcilkrts: clean-target-libcilkrts
-
-clean-target-libcilkrts: 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           clean) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
-maybe-distclean-target-libcilkrts:
-@if target-libcilkrts
-maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
-
-distclean-target-libcilkrts: 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           distclean) \
-	  || exit 1
-
-@endif target-libcilkrts
-
-.PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
-maybe-maintainer-clean-target-libcilkrts:
-@if target-libcilkrts
-maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
-
-maintainer-clean-target-libcilkrts: 
-	@: $(MAKE); $(unstage)
-	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
-	r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
-	for flag in $(EXTRA_TARGET_FLAGS); do \
-	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
-	done; \
-	(cd $(TARGET_SUBDIR)/libcilkrts && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
-	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
-	          "RANLIB=$${RANLIB}" \
-	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
-	           maintainer-clean) \
-	  || exit 1
-
-@endif target-libcilkrts
 
 
 
@@ -46929,6 +46419,7 @@ configure-target-libatomic: stage_last
 configure-target-libstdc++-v3: maybe-all-gcc
 configure-target-libsanitizer: maybe-all-gcc
 configure-target-libvtv: maybe-all-gcc
+configure-target-libcilkrts: maybe-all-gcc
 configure-target-libssp: maybe-all-gcc
 configure-target-newlib: maybe-all-gcc
 configure-target-libgcc: maybe-all-gcc
@@ -46947,7 +46438,6 @@ configure-target-boehm-gc: maybe-all-gcc
 configure-target-rda: maybe-all-gcc
 configure-target-libada: maybe-all-gcc
 configure-target-libgomp: maybe-all-gcc
-configure-target-libcilkrts: maybe-all-gcc
 configure-target-libitm: maybe-all-gcc
 configure-target-libatomic: maybe-all-gcc
 @endif gcc-no-bootstrap
@@ -47713,8 +47203,6 @@ configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
-configure-target-libcilkrts: maybe-all-target-libstdc++-v3
-configure-target-libcilkrts: maybe-all-gcc
 all-target-libstdc++-v3: maybe-configure-target-libgomp
 
 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
@@ -47779,8 +47267,8 @@ configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
 configure-target-libstdc++-v3: maybe-all-target-libgcc
 configure-target-libsanitizer: maybe-all-target-libgcc
 configure-target-libvtv: maybe-all-target-libgcc
-configure-target-libssp: maybe-all-target-libgcc
 configure-target-libcilkrts: maybe-all-target-libgcc
+configure-target-libssp: maybe-all-target-libgcc
 configure-target-newlib: maybe-all-target-libgcc
 configure-target-libbacktrace: maybe-all-target-libgcc
 configure-target-libquadmath: maybe-all-target-libgcc
@@ -47808,6 +47296,9 @@ configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
 
 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
 
+configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
+configure-target-libcilkrts: maybe-all-target-libstdc++-v3
+
 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
 
 
@@ -47828,8 +47319,6 @@ configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
 
 
 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
-configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
-configure-target-libcilkrts: maybe-all-target-libstdc++-v3
 
 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
 configure-target-libjava: maybe-all-target-libstdc++-v3


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Cilk Library
  2013-11-07 13:36     ` Cilk Library Thomas Schwinge
@ 2013-11-07 17:32       ` Jeff Law
  2013-11-07 23:35       ` Iyer, Balaji V
  1 sibling, 0 replies; 13+ messages in thread
From: Jeff Law @ 2013-11-07 17:32 UTC (permalink / raw)
  To: Thomas Schwinge, Iyer, Balaji V; +Cc: gcc-patches

On 11/07/13 06:11, Thomas Schwinge wrote:
> Hi!
>
> On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
>>          * Makefile.def: Add libcilkrts to target_modules.  Make libcilkrts
>>          depend on libstdc++ and libgcc.
>>          [...]
>>          * Makefile.in: Added libcilkrts related fields to support building it.
>
> How did you modify the latter file?  I noticed it is no longer in sync
> with the former: if I regenerate it (»autogen Makefile.def«), then there
> are differences.  This is easily fixed, of course, but as everyone now
> has been using the "out-of-sync" Makefile.in, I wonder whether the
> regeneration qualifies as obvious to commit, or rather something in
> Makefile.def needs to be changed to make it match the Makefile.in as it
> has been checked in in r204173?
>
> 	* Makefile.in: Regenerate.
I think we should consider regeneration as an obvious change.  If that 
breaks something, then it's the original author who introduced the 
change without a corresponding regenerate that needs to fix their code.

Just to be explicit, this is fine for the trunk.

Jeff

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Cilk Library
  2013-11-07 13:36     ` Cilk Library Thomas Schwinge
  2013-11-07 17:32       ` Jeff Law
@ 2013-11-07 23:35       ` Iyer, Balaji V
  2013-11-08  9:03         ` Thomas Schwinge
  1 sibling, 1 reply; 13+ messages in thread
From: Iyer, Balaji V @ 2013-11-07 23:35 UTC (permalink / raw)
  To: Thomas Schwinge; +Cc: gcc-patches

Hi Thomas,
	Please see my response below:

> -----Original Message-----
> From: Thomas Schwinge [mailto:thomas@codesourcery.com]
> Sent: Thursday, November 7, 2013 8:11 AM
> To: Iyer, Balaji V
> Cc: gcc-patches@gcc.gnu.org
> Subject: RE: Cilk Library
> 
> Hi!	
> 
> On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com>
> wrote:
> >         * Makefile.def: Add libcilkrts to target_modules.  Make libcilkrts
> >         depend on libstdc++ and libgcc.
> >         [...]
> >         * Makefile.in: Added libcilkrts related fields to support building it.
> 
> How did you modify the latter file?  I noticed it is no longer in sync
> with the former: if I regenerate it (»autogen Makefile.def«), then there
> are differences.  This is easily fixed, of course, but as everyone now
> has been using the "out-of-sync" Makefile.in, I wonder whether the
> regeneration qualifies as obvious to commit, or rather something in
> Makefile.def needs to be changed to make it match the Makefile.in as it
> has been checked in in r204173?

I manually added the fields in Makefile.in. I read this website (http://gcc.gnu.org/install/prerequisites.html#TOC1) and misunderstood about what Makefile.in should be manually modified and what should be automatically generated.  I am sorry for the mistake. I tried the regenerated makefile.in and it seem to work for me.

Thanks,

Balaji V. Iyer.

> 	* Makefile.in: Regenerate.
> 
> diff --git Makefile.in Makefile.in
> index e0ba784..b63818d 100644
> --- Makefile.in
> +++ Makefile.in
> @@ -577,7 +577,7 @@ all:
> 
>  # This is the list of directories that may be needed in RPATH_ENVVAR
>  # so that programs built for the target machine work.
> -TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-
> v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_
> LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)
> $(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)$(HOST_LIB_PATH_li
> bcilkrts)
> +TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-
> v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_
> LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgo
> mp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB
> _PATH_gcc)
> 
>  @if target-libstdc++-v3
>  TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-
> v3/src/.libs:
> @@ -591,6 +591,10 @@ TARGET_LIB_PATH_libsanitizer =
> $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
>  TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
>  @endif target-libvtv
> 
> +@if target-libcilkrts
> +TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
> +@endif target-libcilkrts
> +
>  @if target-libssp
>  TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
>  @endif target-libssp
> @@ -599,10 +603,6 @@ TARGET_LIB_PATH_libssp =
> $$r/$(TARGET_SUBDIR)/libssp/.libs:
>  TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
>  @endif target-libgomp
> 
> -@if target-libcilkrts
> -TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
> -@endif target-libcilkrts
> -
>  @if target-libitm
>  TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
>  @endif target-libitm
> @@ -931,6 +931,7 @@ configure-target:  \
>      maybe-configure-target-libstdc++-v3 \
>      maybe-configure-target-libsanitizer \
>      maybe-configure-target-libvtv \
> +    maybe-configure-target-libcilkrts \
>      maybe-configure-target-libssp \
>      maybe-configure-target-newlib \
>      maybe-configure-target-libgcc \
> @@ -948,7 +949,6 @@ configure-target:  \
>      maybe-configure-target-boehm-gc \
>      maybe-configure-target-rda \
>      maybe-configure-target-libada \
> -    maybe-configure-target-libcilkrts \
>      maybe-configure-target-libgomp \
>      maybe-configure-target-libitm \
>      maybe-configure-target-libatomic
> @@ -1085,6 +1085,7 @@ all-target: maybe-all-target-libsanitizer
>  @if target-libvtv-no-bootstrap
>  all-target: maybe-all-target-libvtv
>  @endif target-libvtv-no-bootstrap
> +all-target: maybe-all-target-libcilkrts
>  all-target: maybe-all-target-libssp
>  all-target: maybe-all-target-newlib
>  @if target-libgcc-no-bootstrap
> @@ -1107,7 +1108,6 @@ all-target: maybe-all-target-libada
>  @if target-libgomp-no-bootstrap
>  all-target: maybe-all-target-libgomp
>  @endif target-libgomp-no-bootstrap
> -all-target: maybe-all-target-libcilkrts
>  all-target: maybe-all-target-libitm
>  all-target: maybe-all-target-libatomic
> 
> @@ -1177,6 +1177,7 @@ info-host: maybe-info-lto-plugin
>  info-target: maybe-info-target-libstdc++-v3
>  info-target: maybe-info-target-libsanitizer
>  info-target: maybe-info-target-libvtv
> +info-target: maybe-info-target-libcilkrts
>  info-target: maybe-info-target-libssp
>  info-target: maybe-info-target-newlib
>  info-target: maybe-info-target-libgcc
> @@ -1259,6 +1260,7 @@ dvi-host: maybe-dvi-lto-plugin
>  dvi-target: maybe-dvi-target-libstdc++-v3
>  dvi-target: maybe-dvi-target-libsanitizer
>  dvi-target: maybe-dvi-target-libvtv
> +dvi-target: maybe-dvi-target-libcilkrts
>  dvi-target: maybe-dvi-target-libssp
>  dvi-target: maybe-dvi-target-newlib
>  dvi-target: maybe-dvi-target-libgcc
> @@ -1341,6 +1343,7 @@ pdf-host: maybe-pdf-lto-plugin
>  pdf-target: maybe-pdf-target-libstdc++-v3
>  pdf-target: maybe-pdf-target-libsanitizer
>  pdf-target: maybe-pdf-target-libvtv
> +pdf-target: maybe-pdf-target-libcilkrts
>  pdf-target: maybe-pdf-target-libssp
>  pdf-target: maybe-pdf-target-newlib
>  pdf-target: maybe-pdf-target-libgcc
> @@ -1423,6 +1426,7 @@ html-host: maybe-html-lto-plugin
>  html-target: maybe-html-target-libstdc++-v3
>  html-target: maybe-html-target-libsanitizer
>  html-target: maybe-html-target-libvtv
> +html-target: maybe-html-target-libcilkrts
>  html-target: maybe-html-target-libssp
>  html-target: maybe-html-target-newlib
>  html-target: maybe-html-target-libgcc
> @@ -1505,6 +1509,7 @@ TAGS-host: maybe-TAGS-lto-plugin
>  TAGS-target: maybe-TAGS-target-libstdc++-v3
>  TAGS-target: maybe-TAGS-target-libsanitizer
>  TAGS-target: maybe-TAGS-target-libvtv
> +TAGS-target: maybe-TAGS-target-libcilkrts
>  TAGS-target: maybe-TAGS-target-libssp
>  TAGS-target: maybe-TAGS-target-newlib
>  TAGS-target: maybe-TAGS-target-libgcc
> @@ -1587,6 +1592,7 @@ install-info-host: maybe-install-info-lto-plugin
>  install-info-target: maybe-install-info-target-libstdc++-v3
>  install-info-target: maybe-install-info-target-libsanitizer
>  install-info-target: maybe-install-info-target-libvtv
> +install-info-target: maybe-install-info-target-libcilkrts
>  install-info-target: maybe-install-info-target-libssp
>  install-info-target: maybe-install-info-target-newlib
>  install-info-target: maybe-install-info-target-libgcc
> @@ -1669,6 +1675,7 @@ install-pdf-host: maybe-install-pdf-lto-plugin
>  install-pdf-target: maybe-install-pdf-target-libstdc++-v3
>  install-pdf-target: maybe-install-pdf-target-libsanitizer
>  install-pdf-target: maybe-install-pdf-target-libvtv
> +install-pdf-target: maybe-install-pdf-target-libcilkrts
>  install-pdf-target: maybe-install-pdf-target-libssp
>  install-pdf-target: maybe-install-pdf-target-newlib
>  install-pdf-target: maybe-install-pdf-target-libgcc
> @@ -1751,6 +1758,7 @@ install-html-host: maybe-install-html-lto-plugin
>  install-html-target: maybe-install-html-target-libstdc++-v3
>  install-html-target: maybe-install-html-target-libsanitizer
>  install-html-target: maybe-install-html-target-libvtv
> +install-html-target: maybe-install-html-target-libcilkrts
>  install-html-target: maybe-install-html-target-libssp
>  install-html-target: maybe-install-html-target-newlib
>  install-html-target: maybe-install-html-target-libgcc
> @@ -1833,6 +1841,7 @@ installcheck-host: maybe-installcheck-lto-plugin
>  installcheck-target: maybe-installcheck-target-libstdc++-v3
>  installcheck-target: maybe-installcheck-target-libsanitizer
>  installcheck-target: maybe-installcheck-target-libvtv
> +installcheck-target: maybe-installcheck-target-libcilkrts
>  installcheck-target: maybe-installcheck-target-libssp
>  installcheck-target: maybe-installcheck-target-newlib
>  installcheck-target: maybe-installcheck-target-libgcc
> @@ -1915,6 +1924,7 @@ mostlyclean-host: maybe-mostlyclean-lto-plugin
>  mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
>  mostlyclean-target: maybe-mostlyclean-target-libsanitizer
>  mostlyclean-target: maybe-mostlyclean-target-libvtv
> +mostlyclean-target: maybe-mostlyclean-target-libcilkrts
>  mostlyclean-target: maybe-mostlyclean-target-libssp
>  mostlyclean-target: maybe-mostlyclean-target-newlib
>  mostlyclean-target: maybe-mostlyclean-target-libgcc
> @@ -1933,7 +1943,6 @@ mostlyclean-target: maybe-mostlyclean-target-
> boehm-gc
>  mostlyclean-target: maybe-mostlyclean-target-rda
>  mostlyclean-target: maybe-mostlyclean-target-libada
>  mostlyclean-target: maybe-mostlyclean-target-libgomp
> -mostlyclean-target: maybe-mostlyclean-target-libcilkrts
>  mostlyclean-target: maybe-mostlyclean-target-libitm
>  mostlyclean-target: maybe-mostlyclean-target-libatomic
> 
> @@ -1998,6 +2007,7 @@ clean-host: maybe-clean-lto-plugin
>  clean-target: maybe-clean-target-libstdc++-v3
>  clean-target: maybe-clean-target-libsanitizer
>  clean-target: maybe-clean-target-libvtv
> +clean-target: maybe-clean-target-libcilkrts
>  clean-target: maybe-clean-target-libssp
>  clean-target: maybe-clean-target-newlib
>  clean-target: maybe-clean-target-libgcc
> @@ -2016,7 +2026,6 @@ clean-target: maybe-clean-target-boehm-gc
>  clean-target: maybe-clean-target-rda
>  clean-target: maybe-clean-target-libada
>  clean-target: maybe-clean-target-libgomp
> -clean-target: maybe-clean-target-libcilkrts
>  clean-target: maybe-clean-target-libitm
>  clean-target: maybe-clean-target-libatomic
> 
> @@ -2081,6 +2090,7 @@ distclean-host: maybe-distclean-lto-plugin
>  distclean-target: maybe-distclean-target-libstdc++-v3
>  distclean-target: maybe-distclean-target-libsanitizer
>  distclean-target: maybe-distclean-target-libvtv
> +distclean-target: maybe-distclean-target-libcilkrts
>  distclean-target: maybe-distclean-target-libssp
>  distclean-target: maybe-distclean-target-newlib
>  distclean-target: maybe-distclean-target-libgcc
> @@ -2099,7 +2109,6 @@ distclean-target: maybe-distclean-target-boehm-gc
>  distclean-target: maybe-distclean-target-rda
>  distclean-target: maybe-distclean-target-libada
>  distclean-target: maybe-distclean-target-libgomp
> -distclean-target: maybe-distclean-target-libcilkrts
>  distclean-target: maybe-distclean-target-libitm
>  distclean-target: maybe-distclean-target-libatomic
> 
> @@ -2164,6 +2173,7 @@ maintainer-clean-host: maybe-maintainer-clean-
> lto-plugin
>  maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
>  maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
>  maintainer-clean-target: maybe-maintainer-clean-target-libvtv
> +maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
>  maintainer-clean-target: maybe-maintainer-clean-target-libssp
>  maintainer-clean-target: maybe-maintainer-clean-target-newlib
>  maintainer-clean-target: maybe-maintainer-clean-target-libgcc
> @@ -2182,7 +2192,6 @@ maintainer-clean-target: maybe-maintainer-clean-
> target-boehm-gc
>  maintainer-clean-target: maybe-maintainer-clean-target-rda
>  maintainer-clean-target: maybe-maintainer-clean-target-libada
>  maintainer-clean-target: maybe-maintainer-clean-target-libgomp
> -maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
>  maintainer-clean-target: maybe-maintainer-clean-target-libitm
>  maintainer-clean-target: maybe-maintainer-clean-target-libatomic
> 
> @@ -2302,6 +2311,7 @@ check-target:  \
>      maybe-check-target-libstdc++-v3 \
>      maybe-check-target-libsanitizer \
>      maybe-check-target-libvtv \
> +    maybe-check-target-libcilkrts \
>      maybe-check-target-libssp \
>      maybe-check-target-newlib \
>      maybe-check-target-libgcc \
> @@ -2457,6 +2467,7 @@ install-target:  \
>      maybe-install-target-libstdc++-v3 \
>      maybe-install-target-libsanitizer \
>      maybe-install-target-libvtv \
> +    maybe-install-target-libcilkrts \
>      maybe-install-target-libssp \
>      maybe-install-target-newlib \
>      maybe-install-target-libgcc \
> @@ -2475,7 +2486,6 @@ install-target:  \
>      maybe-install-target-rda \
>      maybe-install-target-libada \
>      maybe-install-target-libgomp \
> -    maybe-install-target-libcilkrts \
>      maybe-install-target-libitm \
>      maybe-install-target-libatomic
> 
> @@ -2560,6 +2570,7 @@ install-strip-target:  \
>      maybe-install-strip-target-libstdc++-v3 \
>      maybe-install-strip-target-libsanitizer \
>      maybe-install-strip-target-libvtv \
> +    maybe-install-strip-target-libcilkrts \
>      maybe-install-strip-target-libssp \
>      maybe-install-strip-target-newlib \
>      maybe-install-strip-target-libgcc \
> @@ -2577,7 +2588,6 @@ install-strip-target:  \
>      maybe-install-strip-target-boehm-gc \
>      maybe-install-strip-target-rda \
>      maybe-install-strip-target-libada \
> -    maybe-install-strip-target-libcilkrts \
>      maybe-install-strip-target-libgomp \
>      maybe-install-strip-target-libitm \
>      maybe-install-strip-target-libatomic
> @@ -33685,6 +33695,463 @@ maintainer-clean-target-libvtv:
> 
> 
> 
> +.PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
> +maybe-configure-target-libcilkrts:
> +@if gcc-bootstrap
> +configure-target-libcilkrts: stage_current
> +@endif gcc-bootstrap
> +@if target-libcilkrts
> +maybe-configure-target-libcilkrts: configure-target-libcilkrts
> +configure-target-libcilkrts:
> +	@: $(MAKE); $(unstage)
> +	@r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	echo "Checking multilib configuration for libcilkrts..."; \
> +	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> +	$(CC_FOR_TARGET) --print-multi-lib >
> $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
> +	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> +	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> +	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
> +	  else \
> +	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
> +	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> +	  fi; \
> +	else \
> +	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> +	fi; \
> +	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
> +	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> +	$(NORMAL_TARGET_EXPORTS)  \
> +	echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
> +	cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
> +	case $(srcdir) in \
> +	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
> +	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
> +		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
> +	esac; \
> +	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
> +	libsrcdir="$$s/libcilkrts"; \
> +	rm -f no-such-file || : ; \
> +	CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
> +	  $(TARGET_CONFIGARGS) --build=${build_alias} --
> host=${target_alias} \
> +	  --target=${target_alias} $${srcdiroption}  \
> +	  || exit 1
> +@endif target-libcilkrts
> +
> +
> +
> +
> +
> +.PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
> +maybe-all-target-libcilkrts:
> +@if gcc-bootstrap
> +all-target-libcilkrts: stage_current
> +@endif gcc-bootstrap
> +@if target-libcilkrts
> +TARGET-target-libcilkrts=all
> +maybe-all-target-libcilkrts: all-target-libcilkrts
> +all-target-libcilkrts: configure-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS)  \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)   \
> +		$(TARGET-target-libcilkrts))
> +@endif target-libcilkrts
> +
> +
> +
> +
> +
> +.PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
> +maybe-check-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-check-target-libcilkrts: check-target-libcilkrts
> +
> +check-target-libcilkrts:
> +	@: $(MAKE); $(unstage)
> +	@r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
> +
> +@endif target-libcilkrts
> +
> +.PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
> +maybe-install-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-install-target-libcilkrts: install-target-libcilkrts
> +
> +install-target-libcilkrts: installdirs
> +	@: $(MAKE); $(unstage)
> +	@r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
> +
> +@endif target-libcilkrts
> +
> +.PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
> +maybe-install-strip-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
> +
> +install-strip-target-libcilkrts: installdirs
> +	@: $(MAKE); $(unstage)
> +	@r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
> +
> +@endif target-libcilkrts
> +
> +# Other targets (info, dvi, pdf, etc.)
> +
> +.PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
> +maybe-info-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-info-target-libcilkrts: info-target-libcilkrts
> +
> +info-target-libcilkrts: \
> +    configure-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           info) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
> +maybe-dvi-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
> +
> +dvi-target-libcilkrts: \
> +    configure-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           dvi) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
> +maybe-pdf-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
> +
> +pdf-target-libcilkrts: \
> +    configure-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           pdf) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
> +maybe-html-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-html-target-libcilkrts: html-target-libcilkrts
> +
> +html-target-libcilkrts: \
> +    configure-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           html) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
> +maybe-TAGS-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
> +
> +TAGS-target-libcilkrts: \
> +    configure-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           TAGS) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
> +maybe-install-info-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
> +
> +install-info-target-libcilkrts: \
> +    configure-target-libcilkrts \
> +    info-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           install-info) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
> +maybe-install-pdf-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
> +
> +install-pdf-target-libcilkrts: \
> +    configure-target-libcilkrts \
> +    pdf-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           install-pdf) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
> +maybe-install-html-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
> +
> +install-html-target-libcilkrts: \
> +    configure-target-libcilkrts \
> +    html-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           install-html) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
> +maybe-installcheck-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
> +
> +installcheck-target-libcilkrts: \
> +    configure-target-libcilkrts
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           installcheck) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
> +maybe-mostlyclean-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
> +
> +mostlyclean-target-libcilkrts:
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           mostlyclean) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
> +maybe-clean-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-clean-target-libcilkrts: clean-target-libcilkrts
> +
> +clean-target-libcilkrts:
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           clean) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
> +maybe-distclean-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
> +
> +distclean-target-libcilkrts:
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           distclean) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +.PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-
> libcilkrts
> +maybe-maintainer-clean-target-libcilkrts:
> +@if target-libcilkrts
> +maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
> +
> +maintainer-clean-target-libcilkrts:
> +	@: $(MAKE); $(unstage)
> +	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> +	r=`${PWD_COMMAND}`; export r; \
> +	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> +	$(NORMAL_TARGET_EXPORTS) \
> +	echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
> +	for flag in $(EXTRA_TARGET_FLAGS); do \
> +	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> +	done; \
> +	(cd $(TARGET_SUBDIR)/libcilkrts && \
> +	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> +	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> +	          "RANLIB=$${RANLIB}" \
> +	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> +	           maintainer-clean) \
> +	  || exit 1
> +
> +@endif target-libcilkrts
> +
> +
> +
> +
> +
>  .PHONY: configure-target-libssp maybe-configure-target-libssp
>  maybe-configure-target-libssp:
>  @if gcc-bootstrap
> @@ -41883,983 +42350,6 @@ maintainer-clean-target-libada:
>  @endif target-libada
> 
> 
> -.PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
> -maybe-configure-target-libcilkrts:
> -@if gcc-bootstrap
> -configure-target-libcilkrts: stage_current
> -@endif gcc-bootstrap
> -@if target-libcilkrts
> -maybe-configure-target-libcilkrts: configure-target-libcilkrts
> -configure-target-libcilkrts:
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	echo "Checking multilib configuration for libcilkrts...(1)"; \
> -	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> -	$(CC_FOR_TARGET) --print-multi-lib >
> $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
> -	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
> -	  else \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
> -	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	  fi; \
> -	else \
> -	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	fi; \
> -	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
> -	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> -	$(NORMAL_TARGET_EXPORTS)  \
> -	echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
> -	cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
> -	case $(srcdir) in \
> -	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
> -	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
> -		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
> -	esac; \
> -	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
> -	libsrcdir="$$s/libcilkrts"; \
> -	rm -f no-such-file || : ; \
> -	CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
> -	  $(TARGET_CONFIGARGS) --build=${build_alias} --
> host=${target_alias} \
> -	  --target=${target_alias} $${srcdiroption}  \
> -	  || exit 1
> -@endif target-libcilkrts
> -
> -
> -.PHONY: configure-stage1-target-libcilkrts maybe-configure-stage1-target-
> libcilkrts
> -maybe-configure-stage1-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-configure-stage1-target-libcilkrts: configure-stage1-target-libcilkrts
> -configure-stage1-target-libcilkrts:
> -	@[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
> -	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGE1_TFLAGS)"; \
> -	echo "Checking multilib configuration for libcilkrts...(2)"; \
> -	$(CC_FOR_TARGET) --print-multi-lib >
> $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
> -	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
> -	  else \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
> -	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	  fi; \
> -	else \
> -	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	fi; \
> -	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
> -	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
> -	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
> -	echo Configuring stage 1 in $(TARGET_SUBDIR)/libcilkrts ; \
> -	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> -	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
> -	case $(srcdir) in \
> -	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
> -	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
> -		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
> -	esac; \
> -	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
> -	libsrcdir="$$s/libcilkrts"; \
> -	$(SHELL) $${libsrcdir}/configure \
> -	  $(TARGET_CONFIGARGS) --build=${build_alias} --
> host=${target_alias} \
> -	  --target=${target_alias} $${srcdiroption} \
> -	  $(STAGE1_CONFIGURE_FLAGS)
> -@endif target-libcilkrts-bootstrap
> -
> -.PHONY: configure-stage2-target-libcilkrts maybe-configure-stage2-target-
> libcilkrts
> -maybe-configure-stage2-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-configure-stage2-target-libcilkrts: configure-stage2-target-libcilkrts
> -configure-stage2-target-libcilkrts:
> -	@[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
> -	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGE2_TFLAGS)"; \
> -	echo "Checking multilib configuration for libcilkrts...(3)"; \
> -	$(CC_FOR_TARGET) --print-multi-lib >
> $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
> -	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
> -	  else \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
> -	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	  fi; \
> -	else \
> -	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	fi; \
> -	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	 \
> -	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
> -	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
> -	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
> -	echo Configuring stage 2 in $(TARGET_SUBDIR)/libcilkrts ; \
> -	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> -	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
> -	case $(srcdir) in \
> -	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
> -	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
> -		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
> -	esac; \
> -	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
> -	libsrcdir="$$s/libcilkrts"; \
> -	$(SHELL) $${libsrcdir}/configure \
> -	  $(TARGET_CONFIGARGS) --build=${build_alias} --
> host=${target_alias} \
> -	  --target=${target_alias} $${srcdiroption} \
> -	  --with-build-libsubdir=$(HOST_SUBDIR) \
> -	  $(STAGE2_CONFIGURE_FLAGS)
> -@endif target-libcilkrts-bootstrap
> -
> -.PHONY: configure-stage3-target-libcilkrts maybe-configure-stage3-target-
> libcilkrts
> -maybe-configure-stage3-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-configure-stage3-target-libcilkrts: configure-stage3-target-libcilkrts
> -configure-stage3-target-libcilkrts:
> -	@[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
> -	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGE3_TFLAGS)"; \
> -	echo "Checking multilib configuration for libcilkrts...(4)"; \
> -	$(CC_FOR_TARGET) --print-multi-lib >
> $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
> -	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
> -	  else \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
> -	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	  fi; \
> -	else \
> -	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	fi; \
> -	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	 \
> -	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
> -	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
> -	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
> -	echo Configuring stage 3 in $(TARGET_SUBDIR)/libcilkrts ; \
> -	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> -	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
> -	case $(srcdir) in \
> -	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
> -	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
> -		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
> -	esac; \
> -	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
> -	libsrcdir="$$s/libcilkrts"; \
> -	$(SHELL) $${libsrcdir}/configure \
> -	  $(TARGET_CONFIGARGS) --build=${build_alias} --
> host=${target_alias} \
> -	  --target=${target_alias} $${srcdiroption} \
> -	  --with-build-libsubdir=$(HOST_SUBDIR) \
> -	  $(STAGE3_CONFIGURE_FLAGS)
> -@endif target-libcilkrts-bootstrap
> -
> -.PHONY: configure-stage4-target-libcilkrts maybe-configure-stage4-target-
> libcilkrts
> -maybe-configure-stage4-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-configure-stage4-target-libcilkrts: configure-stage4-target-libcilkrts
> -configure-stage4-target-libcilkrts:
> -	@[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
> -	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGE4_TFLAGS)"; \
> -	echo "Checking multilib configuration for libcilkrts...(4)"; \
> -	$(CC_FOR_TARGET) --print-multi-lib >
> $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
> -	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
> -	  else \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
> -	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	  fi; \
> -	else \
> -	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	fi; \
> -	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	 \
> -	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
> -	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
> -	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
> -	echo Configuring stage 4 in $(TARGET_SUBDIR)/libcilkrts ; \
> -	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> -	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
> -	case $(srcdir) in \
> -	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
> -	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
> -		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
> -	esac; \
> -	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
> -	libsrcdir="$$s/libcilkrts"; \
> -	$(SHELL) $${libsrcdir}/configure \
> -	  $(TARGET_CONFIGARGS) --build=${build_alias} --
> host=${target_alias} \
> -	  --target=${target_alias} $${srcdiroption} \
> -	  --with-build-libsubdir=$(HOST_SUBDIR) \
> -	  $(STAGE4_CONFIGURE_FLAGS)
> -@endif target-libcilkrts-bootstrap
> -
> -.PHONY: configure-stageprofile-target-libcilkrts maybe-configure-
> stageprofile-target-libcilkrts
> -maybe-configure-stageprofile-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-configure-stageprofile-target-libcilkrts: configure-stageprofile-
> target-libcilkrts
> -configure-stageprofile-target-libcilkrts:
> -	@[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
> -	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGEprofile_TFLAGS)"; \
> -	echo "Checking multilib configuration for libcilkrts...(5)"; \
> -	$(CC_FOR_TARGET) --print-multi-lib >
> $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
> -	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
> -	  else \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
> -	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	  fi; \
> -	else \
> -	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	fi; \
> -	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	 \
> -	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
> -	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
> -	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
> -	echo Configuring stage profile in $(TARGET_SUBDIR)/libcilkrts ; \
> -	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> -	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
> -	case $(srcdir) in \
> -	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
> -	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
> -		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
> -	esac; \
> -	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
> -	libsrcdir="$$s/libcilkrts"; \
> -	$(SHELL) $${libsrcdir}/configure \
> -	  $(TARGET_CONFIGARGS) --build=${build_alias} --
> host=${target_alias} \
> -	  --target=${target_alias} $${srcdiroption} \
> -	  --with-build-libsubdir=$(HOST_SUBDIR) \
> -	  $(STAGEprofile_CONFIGURE_FLAGS)
> -@endif target-libcilkrts-bootstrap
> -
> -.PHONY: configure-stagefeedback-target-libcilkrts maybe-configure-
> stagefeedback-target-libcilkrts
> -maybe-configure-stagefeedback-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-configure-stagefeedback-target-libcilkrts: configure-stagefeedback-
> target-libcilkrts
> -configure-stagefeedback-target-libcilkrts:
> -	@[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-
> start
> -	@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGEfeedback_TFLAGS)"; \
> -	echo "Checking multilib configuration for libcilkrts...(6)"; \
> -	$(CC_FOR_TARGET) --print-multi-lib >
> $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
> -	if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	  if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
> -	  else \
> -	    rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
> -	    mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	  fi; \
> -	else \
> -	  mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp
> $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
> -	fi; \
> -	test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	 \
> -	CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
> -	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
> -	LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;  \
> -	echo Configuring stage feedback in $(TARGET_SUBDIR)/libcilkrts ; \
> -	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
> -	cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
> -	case $(srcdir) in \
> -	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
> -	  *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
> -		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
> -	esac; \
> -	srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
> -	libsrcdir="$$s/libcilkrts"; \
> -	$(SHELL) $${libsrcdir}/configure \
> -	  $(TARGET_CONFIGARGS) --build=${build_alias} --
> host=${target_alias} \
> -	  --target=${target_alias} $${srcdiroption} \
> -	  --with-build-libsubdir=$(HOST_SUBDIR) \
> -	  $(STAGEfeedback_CONFIGURE_FLAGS)
> -@endif target-libcilkrts-bootstrap
> -
> -
> -
> -
> -
> -.PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
> -maybe-all-target-libcilkrts:
> -@if gcc-bootstrap
> -all-target-libcilkrts: stage_current
> -@endif gcc-bootstrap
> -@if target-libcilkrts
> -TARGET-target-libcilkrts=all
> -maybe-all-target-libcilkrts: all-target-libcilkrts
> -all-target-libcilkrts: configure-target-libcilkrts
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS)  \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)  \
> -		$(TARGET-target-libcilkrts))
> -@endif target-libcilkrts
> -
> -
> -
> -.PHONY: all-stage1-target-libcilkrts maybe-all-stage1-target-libcilkrts
> -.PHONY: clean-stage1-target-libcilkrts maybe-clean-stage1-target-libcilkrts
> -maybe-all-stage1-target-libcilkrts:
> -maybe-clean-stage1-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-all-stage1-target-libcilkrts: all-stage1-target-libcilkrts
> -all-stage1: all-stage1-target-libcilkrts
> -TARGET-stage1-target-libcilkrts = $(TARGET-target-libcilkrts)
> -all-stage1-target-libcilkrts: configure-stage1-target-libcilkrts
> -	@[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGE1_TFLAGS)"; \
> -	$(NORMAL_TARGET_EXPORTS)  \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(BASE_FLAGS_TO_PASS) \
> -		CFLAGS="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
> -		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
> -		$(EXTRA_TARGET_FLAGS)   \
> -		TFLAGS="$(STAGE1_TFLAGS)" \
> -		$(TARGET-stage1-target-libcilkrts)
> -
> -maybe-clean-stage1-target-libcilkrts: clean-stage1-target-libcilkrts
> -clean-stage1: clean-stage1-target-libcilkrts
> -clean-stage1-target-libcilkrts:
> -	@if [ $(current_stage) = stage1 ]; then \
> -	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
> -	else \
> -	  [ -f $(TARGET_SUBDIR)/stage1-libcilkrts/Makefile ] || exit 0; \
> -	  $(MAKE) stage1-start; \
> -	fi; \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
> -		 clean
> -@endif target-libcilkrts-bootstrap
> -
> -
> -.PHONY: all-stage2-target-libcilkrts maybe-all-stage2-target-libcilkrts
> -.PHONY: clean-stage2-target-libcilkrts maybe-clean-stage2-target-libcilkrts
> -maybe-all-stage2-target-libcilkrts:
> -maybe-clean-stage2-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-all-stage2-target-libcilkrts: all-stage2-target-libcilkrts
> -all-stage2: all-stage2-target-libcilkrts
> -TARGET-stage2-target-libcilkrts = $(TARGET-target-libcilkrts)
> -all-stage2-target-libcilkrts: configure-stage2-target-libcilkrts
> -	@[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGE2_TFLAGS)"; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	  \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(BASE_FLAGS_TO_PASS) \
> -		CFLAGS="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
> -		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
> -		$(EXTRA_TARGET_FLAGS)   \
> -		TFLAGS="$(STAGE2_TFLAGS)" \
> -		$(TARGET-stage2-target-libcilkrts)
> -
> -maybe-clean-stage2-target-libcilkrts: clean-stage2-target-libcilkrts
> -clean-stage2: clean-stage2-target-libcilkrts
> -clean-stage2-target-libcilkrts:
> -	@if [ $(current_stage) = stage2 ]; then \
> -	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
> -	else \
> -	  [ -f $(TARGET_SUBDIR)/stage2-libcilkrts/Makefile ] || exit 0; \
> -	  $(MAKE) stage2-start; \
> -	fi; \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
> -		  \
> -		 clean
> -@endif target-libcilkrts-bootstrap
> -
> -
> -.PHONY: all-stage3-target-libcilkrts maybe-all-stage3-target-libcilkrts
> -.PHONY: clean-stage3-target-libcilkrts maybe-clean-stage3-target-libcilkrts
> -maybe-all-stage3-target-libcilkrts:
> -maybe-clean-stage3-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-all-stage3-target-libcilkrts: all-stage3-target-libcilkrts
> -all-stage3: all-stage3-target-libcilkrts
> -TARGET-stage3-target-libcilkrts = $(TARGET-target-libcilkrts)
> -all-stage3-target-libcilkrts: configure-stage3-target-libcilkrts
> -	@[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGE3_TFLAGS)"; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	  \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(BASE_FLAGS_TO_PASS) \
> -		CFLAGS="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
> -		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
> -		$(EXTRA_TARGET_FLAGS)   \
> -		TFLAGS="$(STAGE3_TFLAGS)" \
> -		$(TARGET-stage3-target-libcilkrts)
> -
> -maybe-clean-stage3-target-libcilkrts: clean-stage3-target-libcilkrts
> -clean-stage3: clean-stage3-target-libcilkrts
> -clean-stage3-target-libcilkrts:
> -	@if [ $(current_stage) = stage3 ]; then \
> -	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
> -	else \
> -	  [ -f $(TARGET_SUBDIR)/stage3-libcilkrts/Makefile ] || exit 0; \
> -	  $(MAKE) stage3-start; \
> -	fi; \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
> -		  \
> -		 clean
> -@endif target-libcilkrts-bootstrap
> -
> -
> -.PHONY: all-stage4-target-libcilkrts maybe-all-stage4-target-libcilkrts
> -.PHONY: clean-stage4-target-libcilkrts maybe-clean-stage4-target-libcilkrts
> -maybe-all-stage4-target-libcilkrts:
> -maybe-clean-stage4-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-all-stage4-target-libcilkrts: all-stage4-target-libcilkrts
> -all-stage4: all-stage4-target-libcilkrts
> -TARGET-stage4-target-libcilkrts = $(TARGET-target-libcilkrts)
> -all-stage4-target-libcilkrts: configure-stage4-target-libcilkrts
> -	@[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGE4_TFLAGS)"; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	  \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(BASE_FLAGS_TO_PASS) \
> -		CFLAGS="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
> -		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
> -		$(EXTRA_TARGET_FLAGS)   \
> -		TFLAGS="$(STAGE4_TFLAGS)" \
> -		$(TARGET-stage4-target-libcilkrts)
> -
> -maybe-clean-stage4-target-libcilkrts: clean-stage4-target-libcilkrts
> -clean-stage4: clean-stage4-target-libcilkrts
> -clean-stage4-target-libcilkrts:
> -	@if [ $(current_stage) = stage4 ]; then \
> -	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
> -	else \
> -	  [ -f $(TARGET_SUBDIR)/stage4-libcilkrts/Makefile ] || exit 0; \
> -	  $(MAKE) stage4-start; \
> -	fi; \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
> -		  \
> -		 clean
> -@endif target-libcilkrts-bootstrap
> -
> -
> -.PHONY: all-stageprofile-target-libcilkrts maybe-all-stageprofile-target-
> libcilkrts
> -.PHONY: clean-stageprofile-target-libcilkrts maybe-clean-stageprofile-
> target-libcilkrts
> -maybe-all-stageprofile-target-libcilkrts:
> -maybe-clean-stageprofile-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-all-stageprofile-target-libcilkrts: all-stageprofile-target-libcilkrts
> -all-stageprofile: all-stageprofile-target-libcilkrts
> -TARGET-stageprofile-target-libcilkrts = $(TARGET-target-libcilkrts)
> -all-stageprofile-target-libcilkrts: configure-stageprofile-target-libcilkrts
> -	@[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGEprofile_TFLAGS)"; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	  \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(BASE_FLAGS_TO_PASS) \
> -		CFLAGS="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
> -		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
> -		$(EXTRA_TARGET_FLAGS)   \
> -		TFLAGS="$(STAGEprofile_TFLAGS)" \
> -		$(TARGET-stageprofile-target-libcilkrts)
> -
> -maybe-clean-stageprofile-target-libcilkrts: clean-stageprofile-target-
> libcilkrts
> -clean-stageprofile: clean-stageprofile-target-libcilkrts
> -clean-stageprofile-target-libcilkrts:
> -	@if [ $(current_stage) = stageprofile ]; then \
> -	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
> -	else \
> -	  [ -f $(TARGET_SUBDIR)/stageprofile-libcilkrts/Makefile ] || exit 0; \
> -	  $(MAKE) stageprofile-start; \
> -	fi; \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
> -		  \
> -		 clean
> -@endif target-libcilkrts-bootstrap
> -
> -
> -.PHONY: all-stagefeedback-target-libcilkrts maybe-all-stagefeedback-target-
> libcilkrts
> -.PHONY: clean-stagefeedback-target-libcilkrts maybe-clean-stagefeedback-
> target-libcilkrts
> -maybe-all-stagefeedback-target-libcilkrts:
> -maybe-clean-stagefeedback-target-libcilkrts:
> -@if target-libcilkrts-bootstrap
> -maybe-all-stagefeedback-target-libcilkrts: all-stagefeedback-target-libcilkrts
> -all-stagefeedback: all-stagefeedback-target-libcilkrts
> -TARGET-stagefeedback-target-libcilkrts = $(TARGET-target-libcilkrts)
> -all-stagefeedback-target-libcilkrts: configure-stagefeedback-target-libcilkrts
> -	@[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-
> start
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	TFLAGS="$(STAGEfeedback_TFLAGS)"; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	  \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(BASE_FLAGS_TO_PASS) \
> -		CFLAGS="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
> -		CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
> -		CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
> -		LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
> -		$(EXTRA_TARGET_FLAGS)   \
> -		TFLAGS="$(STAGEfeedback_TFLAGS)" \
> -		$(TARGET-stagefeedback-target-libcilkrts)
> -
> -maybe-clean-stagefeedback-target-libcilkrts: clean-stagefeedback-target-
> libcilkrts
> -clean-stagefeedback: clean-stagefeedback-target-libcilkrts
> -clean-stagefeedback-target-libcilkrts:
> -	@if [ $(current_stage) = stagefeedback ]; then \
> -	  [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
> -	else \
> -	  [ -f $(TARGET_SUBDIR)/stagefeedback-libcilkrts/Makefile ] || exit 0;
> \
> -	  $(MAKE) stagefeedback-start; \
> -	fi; \
> -	cd $(TARGET_SUBDIR)/libcilkrts && \
> -	$(MAKE) $(EXTRA_TARGET_FLAGS)  \
> -		  \
> -		 clean
> -@endif target-libcilkrts-bootstrap
> -
> -
> -
> -
> -
> -
> -.PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
> -maybe-check-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-check-target-libcilkrts: check-target-libcilkrts
> -
> -check-target-libcilkrts:
> -	@: $(MAKE); $(unstage)
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
> -
> -@endif target-libcilkrts
> -
> -.PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
> -maybe-install-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-install-target-libcilkrts: install-target-libcilkrts
> -
> -install-target-libcilkrts: installdirs
> -	@: $(MAKE); $(unstage)
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
> -
> -@endif target-libcilkrts
> -
> -.PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
> -maybe-install-strip-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
> -
> -install-strip-target-libcilkrts: installdirs
> -	@: $(MAKE); $(unstage)
> -	@r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
> -
> -@endif target-libcilkrts
> -
> -# Other targets (info, dvi, pdf, etc.)
> -
> -.PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
> -maybe-info-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-info-target-libcilkrts: info-target-libcilkrts
> -
> -info-target-libcilkrts: \
> -    configure-target-libcilkrts
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           info) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
> -maybe-dvi-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
> -
> -dvi-target-libcilkrts: \
> -    configure-target-libcilkrts
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           dvi) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
> -maybe-pdf-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
> -
> -pdf-target-libcilkrts: \
> -    configure-target-libcilkrts
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           pdf) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
> -maybe-html-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-html-target-libcilkrts: html-target-libcilkrts
> -
> -html-target-libcilkrts: \
> -    configure-target-libcilkrts
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           html) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
> -maybe-TAGS-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
> -
> -TAGS-target-libcilkrts: \
> -    configure-target-libcilkrts
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           TAGS) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
> -maybe-install-info-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
> -
> -install-info-target-libcilkrts: \
> -    configure-target-libcilkrts \
> -    info-target-libcilkrts
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           install-info) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
> -maybe-install-pdf-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
> -
> -install-pdf-target-libcilkrts: \
> -    configure-target-libcilkrts \
> -    pdf-target-libcilkrts
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           install-pdf) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
> -maybe-install-html-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
> -
> -install-html-target-libcilkrts: \
> -    configure-target-libcilkrts \
> -    html-target-libcilkrts
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           install-html) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
> -maybe-installcheck-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
> -
> -installcheck-target-libcilkrts: \
> -    configure-target-libcilkrts
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           installcheck) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
> -maybe-mostlyclean-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
> -
> -mostlyclean-target-libcilkrts:
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           mostlyclean) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
> -maybe-clean-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-clean-target-libcilkrts: clean-target-libcilkrts
> -
> -clean-target-libcilkrts:
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           clean) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
> -maybe-distclean-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
> -
> -distclean-target-libcilkrts:
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           distclean) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> -
> -.PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-
> libcilkrts
> -maybe-maintainer-clean-target-libcilkrts:
> -@if target-libcilkrts
> -maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
> -
> -maintainer-clean-target-libcilkrts:
> -	@: $(MAKE); $(unstage)
> -	@[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
> -	r=`${PWD_COMMAND}`; export r; \
> -	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> -	$(NORMAL_TARGET_EXPORTS) \
> -	echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
> -	for flag in $(EXTRA_TARGET_FLAGS); do \
> -	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export
> \1|"`; \
> -	done; \
> -	(cd $(TARGET_SUBDIR)/libcilkrts && \
> -	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
> -	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
> -	          "RANLIB=$${RANLIB}" \
> -	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}"
> "WINDMC=$${WINDMC}" \
> -	           maintainer-clean) \
> -	  || exit 1
> -
> -@endif target-libcilkrts
> 
> 
> 
> @@ -46929,6 +46419,7 @@ configure-target-libatomic: stage_last
>  configure-target-libstdc++-v3: maybe-all-gcc
>  configure-target-libsanitizer: maybe-all-gcc
>  configure-target-libvtv: maybe-all-gcc
> +configure-target-libcilkrts: maybe-all-gcc
>  configure-target-libssp: maybe-all-gcc
>  configure-target-newlib: maybe-all-gcc
>  configure-target-libgcc: maybe-all-gcc
> @@ -46947,7 +46438,6 @@ configure-target-boehm-gc: maybe-all-gcc
>  configure-target-rda: maybe-all-gcc
>  configure-target-libada: maybe-all-gcc
>  configure-target-libgomp: maybe-all-gcc
> -configure-target-libcilkrts: maybe-all-gcc
>  configure-target-libitm: maybe-all-gcc
>  configure-target-libatomic: maybe-all-gcc
>  @endif gcc-no-bootstrap
> @@ -47713,8 +47203,6 @@ configure-stage3-target-libvtv: maybe-all-stage3-
> target-libstdc++-v3
>  configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
>  configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-
> libstdc++-v3
>  configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-
> libstdc++-v3
> -configure-target-libcilkrts: maybe-all-target-libstdc++-v3
> -configure-target-libcilkrts: maybe-all-gcc
>  all-target-libstdc++-v3: maybe-configure-target-libgomp
> 
>  all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
> @@ -47779,8 +47267,8 @@ configure-stagefeedback-target-libgomp:
> maybe-all-stagefeedback-target-libgcc
>  configure-target-libstdc++-v3: maybe-all-target-libgcc
>  configure-target-libsanitizer: maybe-all-target-libgcc
>  configure-target-libvtv: maybe-all-target-libgcc
> -configure-target-libssp: maybe-all-target-libgcc
>  configure-target-libcilkrts: maybe-all-target-libgcc
> +configure-target-libssp: maybe-all-target-libgcc
>  configure-target-newlib: maybe-all-target-libgcc
>  configure-target-libbacktrace: maybe-all-target-libgcc
>  configure-target-libquadmath: maybe-all-target-libgcc
> @@ -47808,6 +47296,9 @@ configure-target-libsanitizer: maybe-all-target-
> newlib maybe-all-target-libgloss
> 
>  configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
> 
> +configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-
> libgloss
> +configure-target-libcilkrts: maybe-all-target-libstdc++-v3
> +
>  configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
> 
> 
> @@ -47828,8 +47319,6 @@ configure-target-winsup: maybe-all-target-
> newlib maybe-all-target-libgloss
> 
> 
>  configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
> -configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
> -configure-target-libcilkrts: maybe-all-target-libstdc++-v3
> 
>  configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
>  configure-target-libjava: maybe-all-target-libstdc++-v3
> 
> 
> Grüße,
>  Thomas

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Cilk Library
  2013-11-07 23:35       ` Iyer, Balaji V
@ 2013-11-08  9:03         ` Thomas Schwinge
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Schwinge @ 2013-11-08  9:03 UTC (permalink / raw)
  To: Iyer, Balaji V; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]

Hi!

On Thu, 7 Nov 2013 22:10:12 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
> > >         * Makefile.def: Add libcilkrts to target_modules.  Make libcilkrts
> > >         depend on libstdc++ and libgcc.
> > >         [...]
> > >         * Makefile.in: Added libcilkrts related fields to support building it.

> I manually added the fields in Makefile.in.

Oh.  :-|

> I read this website
> (http://gcc.gnu.org/install/prerequisites.html#TOC1) and misunderstood
> about what Makefile.in should be manually modified and what should be
> automatically generated.

Indeed there's potential for confusion in that description, if one don't
already know the structure and/or pay close attention.  (Or happen to
have read the comment in the first line of the top-level Makefile.in.)
;-)

> I am sorry for the mistake. I tried the regenerated makefile.in and it
> seem to work for me.

No problem -- this was easy enough to fix, and sorry for the extra work
you had doing these changes manually.


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* libcilkrts: Use AC_USE_SYSTEM_EXTENSIONS (was: Cilk Library)
       [not found]   ` <BF230D13CA30DD48930C31D4099330003A48660C@FMSMSX101.amr.corp.intel.com>
  2013-11-07 13:36     ` Cilk Library Thomas Schwinge
@ 2014-09-29 18:13     ` Thomas Schwinge
  2014-10-01 14:02       ` Thomas Schwinge
  2014-09-29 18:13     ` libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id " Thomas Schwinge
                       ` (2 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Thomas Schwinge @ 2014-09-29 18:13 UTC (permalink / raw)
  To: Iyer, Balaji V, barry.m.tannenbaum, igor.zamyatin; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 113934 bytes --]

Hi!

On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
> [libcilkrts]

Here is a patch to have libcilkrts use AC_USE_SYSTEM_EXTENSIONS (as other
libraries are doing) instead of manually fiddling with the _GNU_SOURCE
definition.  This increases portability, as most of those definitions are
currently hard-coded for __linux__ only.  Tested on x86 GNU/Hurd, and
x86_64 GNU/Linux is in progress.  OK for trunk once testing completed?

commit 18a4ed57818379684dc4ce86f5d20141e0a6040d
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Sat Sep 20 19:49:59 2014 +0200

    libcilkrts: Use AC_USE_SYSTEM_EXTENSIONS.
    
    	libcilkrts/
    	* configure.ac (AC_USE_SYSTEM_EXTENSIONS): Instantiate.
    	<HAVE_PTHREAD_AFFINITY_NP>: Don't define _GNU_SOURCE.
    	* configure: Regenerate.
    	* runtime/os-unix.c [__linux__] (_GNU_SOURCE): Don't define.
    	* runtime/sysdep-unix.c [__linux__] (_GNU_SOURCE): Likewise.
---
 libcilkrts/configure             | 3479 +++++++++++++++++++++++---------------
 libcilkrts/configure.ac          |    6 +-
 libcilkrts/runtime/os-unix.c     |    7 -
 libcilkrts/runtime/sysdep-unix.c |    7 -
 4 files changed, 2091 insertions(+), 1408 deletions(-)

diff --git libcilkrts/configure libcilkrts/configure
index 1e8eabd..be96533 100644
--- libcilkrts/configure
+++ libcilkrts/configure
@@ -632,9 +632,6 @@ MAC_LINKER_SCRIPT_TRUE
 LINUX_LINKER_SCRIPT_FALSE
 LINUX_LINKER_SCRIPT_TRUE
 config_dir
-EGREP
-GREP
-CPP
 ALLOCA
 multi_basedir
 am__fastdepCXX_FALSE
@@ -643,6 +640,9 @@ CXXDEPMODE
 ac_ct_CXX
 CXXFLAGS
 CXX
+MAINT
+MAINTAINER_MODE_FALSE
+MAINTAINER_MODE_TRUE
 am__fastdepCC_FALSE
 am__fastdepCC_TRUE
 CCDEPMODE
@@ -652,16 +652,6 @@ AMDEP_TRUE
 am__quote
 am__include
 DEPDIR
-OBJEXT
-EXEEXT
-ac_ct_CC
-CPPFLAGS
-LDFLAGS
-CFLAGS
-CC
-MAINT
-MAINTAINER_MODE_FALSE
-MAINTAINER_MODE_TRUE
 am__untar
 am__tar
 AMTAR
@@ -685,6 +675,16 @@ am__isrc
 INSTALL_DATA
 INSTALL_SCRIPT
 INSTALL_PROGRAM
+EGREP
+GREP
+CPP
+OBJEXT
+EXEEXT
+ac_ct_CC
+CPPFLAGS
+LDFLAGS
+CFLAGS
+CC
 target_os
 target_vendor
 target_cpu
@@ -738,8 +738,8 @@ SHELL'
 ac_subst_files=''
 ac_user_opts='
 enable_option_checking
-enable_maintainer_mode
 enable_dependency_tracking
+enable_maintainer_mode
 enable_multilib
 enable_version_specific_runtime_libs
 enable_shared
@@ -757,10 +757,10 @@ CFLAGS
 LDFLAGS
 LIBS
 CPPFLAGS
+CPP
 CXX
 CXXFLAGS
 CCC
-CPP
 CXXCPP'
 
 
@@ -1383,10 +1383,10 @@ Optional Features:
   --disable-option-checking  ignore unrecognized --enable/--with options
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
-  --enable-maintainer-mode  enable make rules and dependencies not useful
-			  (and sometimes confusing) to the casual installer
   --disable-dependency-tracking  speeds up one-time build
   --enable-dependency-tracking   do not reject slow dependency extractors
+  --enable-maintainer-mode  enable make rules and dependencies not useful
+			  (and sometimes confusing) to the casual installer
   --enable-multilib       build many library versions (default)
   --enable-version-specific-runtime-libs
                           Specify that runtime libraries should be installed
@@ -1412,9 +1412,9 @@ Some influential environment variables:
   LIBS        libraries to pass to the linker, e.g. -l<library>
   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
               you have headers in a nonstandard directory <include dir>
+  CPP         C preprocessor
   CXX         C++ compiler command
   CXXFLAGS    C++ compiler flags
-  CPP         C preprocessor
   CXXCPP      C++ preprocessor
 
 Use these variables to override the choices made by `configure' or to help
@@ -1535,6 +1535,209 @@ fi
 
 } # ac_fn_c_try_compile
 
+# ac_fn_c_try_cpp LINENO
+# ----------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+    ac_retval=1
+fi
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  return $ac_retval
+
+} # ac_fn_c_try_cpp
+
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+  # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_header_compiler=yes
+else
+  ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+  ac_header_preproc=yes
+else
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+  yes:no: )
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+    ;;
+  no:yes:* )
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+( cat <<\_ASBOX
+## ----------------------------- ##
+## Report this to cilk@intel.com ##
+## ----------------------------- ##
+_ASBOX
+     ) | sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+esac
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  $as_echo_n "(cached) " >&6
+else
+  eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+
+} # ac_fn_c_check_header_mongrel
+
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+  { { case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: program exited with status $ac_status" >&5
+       $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+       ac_retval=$ac_status
+fi
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  return $ac_retval
+
+} # ac_fn_c_try_run
+
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists and can be compiled using the include files in
+# INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$3=yes"
+else
+  eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+
+} # ac_fn_c_check_header_compile
+
 # ac_fn_cxx_try_compile LINENO
 # ----------------------------
 # Try to compile conftest.$ac_ext, and return whether this succeeded.
@@ -1619,43 +1822,6 @@ fi
 
 } # ac_fn_c_try_link
 
-# ac_fn_c_try_cpp LINENO
-# ----------------------
-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_cpp ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-    ac_retval=1
-fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
-
-} # ac_fn_c_try_cpp
-
 # ac_fn_c_check_func LINENO FUNC VAR
 # ----------------------------------
 # Tests whether FUNC exists, setting the cache variable VAR accordingly
@@ -1723,79 +1889,6 @@ $as_echo "$ac_res" >&6; }
 
 } # ac_fn_c_check_func
 
-# ac_fn_c_try_run LINENO
-# ----------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
-# that executables *can* be run.
-ac_fn_c_try_run ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: program exited with status $ac_status" >&5
-       $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-       ac_retval=$ac_status
-fi
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
-
-} # ac_fn_c_try_run
-
-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-# -------------------------------------------------------
-# Tests whether HEADER exists and can be compiled using the include files in
-# INCLUDES, setting the cache variable VAR accordingly.
-ac_fn_c_check_header_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$3=yes"
-else
-  eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-
-} # ac_fn_c_check_header_compile
-
 # ac_fn_cxx_try_cpp LINENO
 # ------------------------
 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
@@ -2372,6 +2465,1233 @@ test -n "$target_alias" &&
 
 target_alias=${target_alias-$host_alias}
 
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+  ac_ct_CC=$CC
+  # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_CC"; then
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_ac_ct_CC="gcc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+  if test "x$ac_ct_CC" = x; then
+    CC=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    CC=$ac_ct_CC
+  fi
+else
+  CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+          if test -n "$ac_tool_prefix"; then
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  fi
+fi
+if test -z "$CC"; then
+  # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+  ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+       ac_prog_rejected=yes
+       continue
+     fi
+    ac_cv_prog_CC="cc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+  # We found a bogon in the path, so make sure we never use it.
+  set dummy $ac_cv_prog_CC
+  shift
+  if test $# != 0; then
+    # We chose a different compiler from the bogus one.
+    # However, it has the same basename, so the bogon will be chosen
+    # first if we set CC to just the basename; use the full file name.
+    shift
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+  fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+  if test -n "$ac_tool_prefix"; then
+  for ac_prog in cl.exe
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    test -n "$CC" && break
+  done
+fi
+if test -z "$CC"; then
+  ac_ct_CC=$CC
+  for ac_prog in cl.exe
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_CC"; then
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_ac_ct_CC="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$ac_ct_CC" && break
+done
+
+  if test "x$ac_ct_CC" = x; then
+    CC=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    CC=$ac_ct_CC
+  fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "no acceptable C compiler found in \$PATH
+See \`config.log' for more details." "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+  { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    sed '10a\
+... rest of stderr output deleted ...
+         10q' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    rm -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+  case $ac_file in
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+  esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link_default") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then :
+  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile.  We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+  test -f "$ac_file" || continue
+  case $ac_file in
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+	;;
+    [ab].out )
+	# We found the default executable, but exeext='' is most
+	# certainly right.
+	break;;
+    *.* )
+	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+	then :; else
+	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+	fi
+	# We set ac_cv_exeext here because the later test for it is not
+	# safe: cross compilers may not add the suffix if given an `-o'
+	# argument, so we may need to know it at that point already.
+	# Even if this section looks crufty: it has the advantage of
+	# actually working.
+	break;;
+    * )
+	break;;
+  esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+  ac_file=''
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+if test -z "$ac_file"; then :
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ as_fn_set_status 77
+as_fn_error "C compiler cannot create executables
+See \`config.log' for more details." "$LINENO" 5; }; }
+fi
+ac_exeext=$ac_cv_exeext
+
+# Check that the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+# If not cross compiling, check that we can run a simple program.
+if test "$cross_compiling" != yes; then
+  if { ac_try='./$ac_file'
+  { { case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then
+    cross_compiling=no
+  else
+    if test "$cross_compiling" = maybe; then
+	cross_compiling=yes
+    else
+	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." "$LINENO" 5; }
+    fi
+  fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
+ac_clean_files=$ac_clean_files_save
+# Check that the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then :
+  # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+  test -f "$ac_file" || continue
+  case $ac_file in
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+	  break;;
+    * ) break;;
+  esac
+done
+else
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." "$LINENO" 5; }
+fi
+rm -f conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if test "${ac_cv_objext+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compile") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then :
+  for ac_file in conftest.o conftest.obj conftest.*; do
+  test -f "$ac_file" || continue;
+  case $ac_file in
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+       break;;
+  esac
+done
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+#ifndef __GNUC__
+       choke me
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_compiler_gnu=yes
+else
+  ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+  GCC=yes
+else
+  GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if test "${ac_cv_prog_cc_g+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_save_c_werror_flag=$ac_c_werror_flag
+   ac_c_werror_flag=yes
+   ac_cv_prog_cc_g=no
+   CFLAGS="-g"
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_prog_cc_g=yes
+else
+  CFLAGS=""
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+  ac_c_werror_flag=$ac_save_c_werror_flag
+	 CFLAGS="-g"
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+   ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+  CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+  if test "$GCC" = yes; then
+    CFLAGS="-g -O2"
+  else
+    CFLAGS="-g"
+  fi
+else
+  if test "$GCC" = yes; then
+    CFLAGS="-O2"
+  else
+    CFLAGS=
+  fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+     char **p;
+     int i;
+{
+  return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+  char *s;
+  va_list v;
+  va_start (v,p);
+  s = g (p, va_arg (v,int));
+  va_end (v);
+  return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
+   function prototypes and stuff, but not '\xHH' hex character constants.
+   These don't provoke an error unfortunately, instead are silently treated
+   as 'x'.  The following induces an error, until -std is added to get
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
+   array size at least.  It's necessary to write '\x00'==0 to get something
+   that's true only with -std.  */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+   inside strings and character constants.  */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+  ;
+  return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+  CC="$ac_save_CC $ac_arg"
+  if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+  x)
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+  xno)
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+  *)
+    CC="$CC $ac_cv_prog_cc_c89"
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+  CPP=
+fi
+if test -z "$CPP"; then
+  if test "${ac_cv_prog_CPP+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+      # Double quotes because CPP needs to be expanded
+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+    do
+      ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+		     Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.$ac_ext
+
+  # OK, works on sane cases.  Now check whether nonexistent headers
+  # can be detected and how.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+  # Broken: success on invalid input.
+continue
+else
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+  break
+fi
+
+    done
+    ac_cv_prog_CPP=$CPP
+
+fi
+  CPP=$ac_cv_prog_CPP
+else
+  ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+		     Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.$ac_ext
+
+  # OK, works on sane cases.  Now check whether nonexistent headers
+  # can be detected and how.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+  # Broken: success on invalid input.
+continue
+else
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if test "${ac_cv_path_GREP+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -z "$GREP"; then
+  ac_path_GREP_found=false
+  # Loop through the user's path and test for each of PROGNAME-LIST
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_prog in grep ggrep; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+  # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+  ac_count=0
+  $as_echo_n 0123456789 >"conftest.in"
+  while :
+  do
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
+    mv "conftest.tmp" "conftest.in"
+    cp "conftest.in" "conftest.nl"
+    $as_echo 'GREP' >> "conftest.nl"
+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
+      # Best one so far, save it but keep looking for a better one
+      ac_cv_path_GREP="$ac_path_GREP"
+      ac_path_GREP_max=$ac_count
+    fi
+    # 10*(2^10) chars as input seems more than enough
+    test $ac_count -gt 10 && break
+  done
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+      $ac_path_GREP_found && break 3
+    done
+  done
+  done
+IFS=$as_save_IFS
+  if test -z "$ac_cv_path_GREP"; then
+    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+  fi
+else
+  ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if test "${ac_cv_path_EGREP+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+   then ac_cv_path_EGREP="$GREP -E"
+   else
+     if test -z "$EGREP"; then
+  ac_path_EGREP_found=false
+  # Loop through the user's path and test for each of PROGNAME-LIST
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_prog in egrep; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+  # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+  ac_count=0
+  $as_echo_n 0123456789 >"conftest.in"
+  while :
+  do
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
+    mv "conftest.tmp" "conftest.in"
+    cp "conftest.in" "conftest.nl"
+    $as_echo 'EGREP' >> "conftest.nl"
+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+      # Best one so far, save it but keep looking for a better one
+      ac_cv_path_EGREP="$ac_path_EGREP"
+      ac_path_EGREP_max=$ac_count
+    fi
+    # 10*(2^10) chars as input seems more than enough
+    test $ac_count -gt 10 && break
+  done
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+      $ac_path_EGREP_found && break 3
+    done
+  done
+  done
+IFS=$as_save_IFS
+  if test -z "$ac_cv_path_EGREP"; then
+    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+  fi
+else
+  ac_cv_path_EGREP=$EGREP
+fi
+
+   fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if test "${ac_cv_header_stdc+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_header_stdc=yes
+else
+  ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+  ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "free" >/dev/null 2>&1; then :
+
+else
+  ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+  if test "$cross_compiling" = yes; then :
+  :
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+		   (('a' <= (c) && (c) <= 'i') \
+		     || ('j' <= (c) && (c) <= 'r') \
+		     || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+  int i;
+  for (i = 0; i < 256; i++)
+    if (XOR (islower (i), ISLOWER (i))
+	|| toupper (i) != TOUPPER (i))
+      return 2;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+  ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+		  inttypes.h stdint.h unistd.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+eval as_val=\$$as_ac_Header
+   if test "x$as_val" = x""yes; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
+if test "x$ac_cv_header_minix_config_h" = x""yes; then :
+  MINIX=yes
+else
+  MINIX=
+fi
+
+
+  if test "$MINIX" = yes; then
+
+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
+
+
+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
+
+
+$as_echo "#define _MINIX 1" >>confdefs.h
+
+  fi
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
+if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#	  define __EXTENSIONS__ 1
+	  $ac_includes_default
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_safe_to_define___extensions__=yes
+else
+  ac_cv_safe_to_define___extensions__=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
+  test $ac_cv_safe_to_define___extensions__ = yes &&
+    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
+
+  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
+
+  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
+
+  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
+
+  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
+
+
+
 am__api_version='1.11'
 
 # Find a good install program.  We prefer a C program (faster),
@@ -2788,859 +4108,6 @@ else
 fi
 rmdir .tst 2>/dev/null
 
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
-  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
-  # is not polluted with repeated "-I."
-  am__isrc=' -I$(srcdir)'
-  # test to see if srcdir already configured
-  if test -f $srcdir/config.status; then
-    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
-  fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
-  if (cygpath --version) >/dev/null 2>/dev/null; then
-    CYGPATH_W='cygpath -w'
-  else
-    CYGPATH_W=echo
-  fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE='cilk-runtime-library'
- VERSION='2.0'
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE "$PACKAGE"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define VERSION "$VERSION"
-_ACEOF
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-# We need awk for the "check" target.  The system "awk" is bad on
-# some platforms.
-# Always define AMTAR for backward compatibility.
-
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
-
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
-    # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then :
-  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
-else
-  USE_MAINTAINER_MODE=no
-fi
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
-$as_echo "$USE_MAINTAINER_MODE" >&6; }
-   if test $USE_MAINTAINER_MODE = yes; then
-  MAINTAINER_MODE_TRUE=
-  MAINTAINER_MODE_FALSE='#'
-else
-  MAINTAINER_MODE_TRUE='#'
-  MAINTAINER_MODE_FALSE=
-fi
-
-  MAINT=$MAINTAINER_MODE_TRUE
-
-
-
-# Build a DLL on Windows
-# AC_LIBTOOL_WIN32_DLL
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CC="${ac_tool_prefix}gcc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
-  ac_ct_CC=$CC
-  # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC"; then
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_CC="gcc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_CC" = x; then
-    CC=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
-else
-  CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
-          if test -n "$ac_tool_prefix"; then
-    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CC="${ac_tool_prefix}cc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  fi
-fi
-if test -z "$CC"; then
-  # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-  ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
-       ac_prog_rejected=yes
-       continue
-     fi
-    ac_cv_prog_CC="cc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
-  # We found a bogon in the path, so make sure we never use it.
-  set dummy $ac_cv_prog_CC
-  shift
-  if test $# != 0; then
-    # We chose a different compiler from the bogus one.
-    # However, it has the same basename, so the bogon will be chosen
-    # first if we set CC to just the basename; use the full file name.
-    shift
-    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
-  fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
-  if test -n "$ac_tool_prefix"; then
-  for ac_prog in cl.exe
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$CC" && break
-  done
-fi
-if test -z "$CC"; then
-  ac_ct_CC=$CC
-  for ac_prog in cl.exe
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC"; then
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_CC="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_CC" && break
-done
-
-  if test "x$ac_ct_CC" = x; then
-    CC=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
-fi
-
-fi
-
-
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "no acceptable C compiler found in \$PATH
-See \`config.log' for more details." "$LINENO" 5; }
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
-  { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    sed '10a\
-... rest of stderr output deleted ...
-         10q' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-done
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
-# Try to create an executable without -o first, disregard a.out.
-# It will help us diagnose broken compilers, and finding out an intuition
-# of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-
-# The possible output files:
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
-
-ac_rmfiles=
-for ac_file in $ac_files
-do
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
-    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
-  esac
-done
-rm -f $ac_rmfiles
-
-if { { ac_try="$ac_link_default"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link_default") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
-# in a Makefile.  We should not override ac_cv_exeext if it was cached,
-# so that the user can short-circuit this test for compilers unknown to
-# Autoconf.
-for ac_file in $ac_files ''
-do
-  test -f "$ac_file" || continue
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
-	;;
-    [ab].out )
-	# We found the default executable, but exeext='' is most
-	# certainly right.
-	break;;
-    *.* )
-	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
-	then :; else
-	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
-	fi
-	# We set ac_cv_exeext here because the later test for it is not
-	# safe: cross compilers may not add the suffix if given an `-o'
-	# argument, so we may need to know it at that point already.
-	# Even if this section looks crufty: it has the advantage of
-	# actually working.
-	break;;
-    * )
-	break;;
-  esac
-done
-test "$ac_cv_exeext" = no && ac_cv_exeext=
-
-else
-  ac_file=''
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
-if test -z "$ac_file"; then :
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ as_fn_set_status 77
-as_fn_error "C compiler cannot create executables
-See \`config.log' for more details." "$LINENO" 5; }; }
-fi
-ac_exeext=$ac_cv_exeext
-
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-# If not cross compiling, check that we can run a simple program.
-if test "$cross_compiling" != yes; then
-  if { ac_try='./$ac_file'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-    cross_compiling=no
-  else
-    if test "$cross_compiling" = maybe; then
-	cross_compiling=yes
-    else
-	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." "$LINENO" 5; }
-    fi
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
-ac_clean_files=$ac_clean_files_save
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
-$as_echo_n "checking for suffix of executables... " >&6; }
-if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
-for ac_file in conftest.exe conftest conftest.*; do
-  test -f "$ac_file" || continue
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
-	  break;;
-    * ) break;;
-  esac
-done
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." "$LINENO" 5; }
-fi
-rm -f conftest$ac_cv_exeext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
-$as_echo "$ac_cv_exeext" >&6; }
-
-rm -f conftest.$ac_ext
-EXEEXT=$ac_cv_exeext
-ac_exeext=$EXEEXT
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
-$as_echo_n "checking for suffix of object files... " >&6; }
-if test "${ac_cv_objext+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.o conftest.obj
-if { { ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compile") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  for ac_file in conftest.o conftest.obj conftest.*; do
-  test -f "$ac_file" || continue;
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
-       break;;
-  esac
-done
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details." "$LINENO" 5; }
-fi
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
-$as_echo "$ac_cv_objext" >&6; }
-OBJEXT=$ac_cv_objext
-ac_objext=$OBJEXT
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-#ifndef __GNUC__
-       choke me
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_compiler_gnu=yes
-else
-  ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
-  GCC=yes
-else
-  GCC=
-fi
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_save_c_werror_flag=$ac_c_werror_flag
-   ac_c_werror_flag=yes
-   ac_cv_prog_cc_g=no
-   CFLAGS="-g"
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_g=yes
-else
-  CFLAGS=""
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
-  ac_c_werror_flag=$ac_save_c_werror_flag
-	 CFLAGS="-g"
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
-  CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
-  if test "$GCC" = yes; then
-    CFLAGS="-g -O2"
-  else
-    CFLAGS="-g"
-  fi
-else
-  if test "$GCC" = yes; then
-    CFLAGS="-O2"
-  else
-    CFLAGS=
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
-     char **p;
-     int i;
-{
-  return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
-  char *s;
-  va_list v;
-  va_start (v,p);
-  s = g (p, va_arg (v,int));
-  va_end (v);
-  return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
-   function prototypes and stuff, but not '\xHH' hex character constants.
-   These don't provoke an error unfortunately, instead are silently treated
-   as 'x'.  The following induces an error, until -std is added to get
-   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
-   array size at least.  It's necessary to write '\x00'==0 to get something
-   that's true only with -std.  */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
-   inside strings and character constants.  */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
-  ;
-  return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
-	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
-  CC="$ac_save_CC $ac_arg"
-  if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_c89=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext
-  test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
-  x)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
-  xno)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
-  *)
-    CC="$CC $ac_cv_prog_cc_c89"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-if test "x$ac_cv_prog_cc_c89" != xno; then :
-
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 DEPDIR="${am__leading_dot}deps"
 
 ac_config_commands="$ac_config_commands depfiles"
@@ -3703,6 +4170,66 @@ else
 fi
 
 
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+  # is not polluted with repeated "-I."
+  am__isrc=' -I$(srcdir)'
+  # test to see if srcdir already configured
+  if test -f $srcdir/config.status; then
+    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+  fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+  if (cygpath --version) >/dev/null 2>/dev/null; then
+    CYGPATH_W='cygpath -w'
+  else
+    CYGPATH_W=echo
+  fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE='cilk-runtime-library'
+ VERSION='2.0'
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility.
+
+AMTAR=${AMTAR-"${am_missing_run}tar"}
+
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+
+
+
 
 depcc="$CC"   am_compiler_list=
 
@@ -3831,6 +4358,574 @@ else
 fi
 
 
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
+    # Check whether --enable-maintainer-mode was given.
+if test "${enable_maintainer_mode+set}" = set; then :
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
+else
+  USE_MAINTAINER_MODE=no
+fi
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
+   if test $USE_MAINTAINER_MODE = yes; then
+  MAINTAINER_MODE_TRUE=
+  MAINTAINER_MODE_FALSE='#'
+else
+  MAINTAINER_MODE_TRUE='#'
+  MAINTAINER_MODE_FALSE=
+fi
+
+  MAINT=$MAINTAINER_MODE_TRUE
+
+
+
+# Build a DLL on Windows
+# AC_LIBTOOL_WIN32_DLL
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+  ac_ct_CC=$CC
+  # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_CC"; then
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_ac_ct_CC="gcc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+  if test "x$ac_ct_CC" = x; then
+    CC=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    CC=$ac_ct_CC
+  fi
+else
+  CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+          if test -n "$ac_tool_prefix"; then
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  fi
+fi
+if test -z "$CC"; then
+  # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+  ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+       ac_prog_rejected=yes
+       continue
+     fi
+    ac_cv_prog_CC="cc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+  # We found a bogon in the path, so make sure we never use it.
+  set dummy $ac_cv_prog_CC
+  shift
+  if test $# != 0; then
+    # We chose a different compiler from the bogus one.
+    # However, it has the same basename, so the bogon will be chosen
+    # first if we set CC to just the basename; use the full file name.
+    shift
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+  fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+  if test -n "$ac_tool_prefix"; then
+  for ac_prog in cl.exe
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    test -n "$CC" && break
+  done
+fi
+if test -z "$CC"; then
+  ac_ct_CC=$CC
+  for ac_prog in cl.exe
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_CC"; then
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_ac_ct_CC="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$ac_ct_CC" && break
+done
+
+  if test "x$ac_ct_CC" = x; then
+    CC=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    CC=$ac_ct_CC
+  fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "no acceptable C compiler found in \$PATH
+See \`config.log' for more details." "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+  { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    sed '10a\
+... rest of stderr output deleted ...
+         10q' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    rm -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+#ifndef __GNUC__
+       choke me
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_compiler_gnu=yes
+else
+  ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+  GCC=yes
+else
+  GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if test "${ac_cv_prog_cc_g+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_save_c_werror_flag=$ac_c_werror_flag
+   ac_c_werror_flag=yes
+   ac_cv_prog_cc_g=no
+   CFLAGS="-g"
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_prog_cc_g=yes
+else
+  CFLAGS=""
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+  ac_c_werror_flag=$ac_save_c_werror_flag
+	 CFLAGS="-g"
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+   ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+  CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+  if test "$GCC" = yes; then
+    CFLAGS="-g -O2"
+  else
+    CFLAGS="-g"
+  fi
+else
+  if test "$GCC" = yes; then
+    CFLAGS="-O2"
+  else
+    CFLAGS=
+  fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+     char **p;
+     int i;
+{
+  return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+  char *s;
+  va_list v;
+  va_start (v,p);
+  s = g (p, va_arg (v,int));
+  va_end (v);
+  return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
+   function prototypes and stuff, but not '\xHH' hex character constants.
+   These don't provoke an error unfortunately, instead are silently treated
+   as 'x'.  The following induces an error, until -std is added to get
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
+   array size at least.  It's necessary to write '\x00'==0 to get something
+   that's true only with -std.  */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+   inside strings and character constants.  */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+  ;
+  return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+  CC="$ac_save_CC $ac_arg"
+  if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+  x)
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+  xno)
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+  *)
+    CC="$CC $ac_cv_prog_cc_c89"
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -4256,405 +5351,6 @@ fi
 
 ac_config_commands="$ac_config_commands default-1"
 
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
-  CPP=
-fi
-if test -z "$CPP"; then
-  if test "${ac_cv_prog_CPP+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-      # Double quotes because CPP needs to be expanded
-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
-    do
-      ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  break
-fi
-
-    done
-    ac_cv_prog_CPP=$CPP
-
-fi
-  CPP=$ac_cv_prog_CPP
-else
-  ac_cv_prog_CPP=$CPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
-$as_echo "$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." "$LINENO" 5; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if test "${ac_cv_path_GREP+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -z "$GREP"; then
-  ac_path_GREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in grep ggrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
-# Check for GNU ac_path_GREP and select it if it is found.
-  # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'GREP' >> "conftest.nl"
-    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_GREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_GREP="$ac_path_GREP"
-      ac_path_GREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_GREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_GREP"; then
-    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_GREP=$GREP
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-$as_echo "$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-$as_echo_n "checking for egrep... " >&6; }
-if test "${ac_cv_path_EGREP+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
-   then ac_cv_path_EGREP="$GREP -E"
-   else
-     if test -z "$EGREP"; then
-  ac_path_EGREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in egrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
-# Check for GNU ac_path_EGREP and select it if it is found.
-  # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'EGREP' >> "conftest.nl"
-    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_EGREP="$ac_path_EGREP"
-      ac_path_EGREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_EGREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_EGREP"; then
-    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_EGREP=$EGREP
-fi
-
-   fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-$as_echo "$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
-$as_echo_n "checking for ANSI C header files... " >&6; }
-if test "${ac_cv_header_stdc+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <float.h>
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_header_stdc=yes
-else
-  ac_cv_header_stdc=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-if test $ac_cv_header_stdc = yes; then
-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <string.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "memchr" >/dev/null 2>&1; then :
-
-else
-  ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
-  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "free" >/dev/null 2>&1; then :
-
-else
-  ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
-  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-  if test "$cross_compiling" = yes; then :
-  :
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ctype.h>
-#include <stdlib.h>
-#if ((' ' & 0x0FF) == 0x020)
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#else
-# define ISLOWER(c) \
-		   (('a' <= (c) && (c) <= 'i') \
-		     || ('j' <= (c) && (c) <= 'r') \
-		     || ('s' <= (c) && (c) <= 'z'))
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
-#endif
-
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int
-main ()
-{
-  int i;
-  for (i = 0; i < 256; i++)
-    if (XOR (islower (i), ISLOWER (i))
-	|| toupper (i) != TOUPPER (i))
-      return 2;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-
-else
-  ac_cv_header_stdc=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
-$as_echo "$ac_cv_header_stdc" >&6; }
-if test $ac_cv_header_stdc = yes; then
-
-$as_echo "#define STDC_HEADERS 1" >>confdefs.h
-
-fi
-
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
-		  inttypes.h stdint.h unistd.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 # for constant arguments.  Useless!
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
@@ -11059,7 +11755,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11062 "configure"
+#line 11758 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11165,7 +11861,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11168 "configure"
+#line 11864 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14471,8 +15167,7 @@ rm -f core conftest.err conftest.$ac_objext \
 # Check for pthread_{,attr_}[sg]etaffinity_np.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#define _GNU_SOURCE
-   #include <pthread.h>
+#include <pthread.h>
 int
 main ()
 {
@@ -14660,6 +15355,14 @@ LIBOBJS=$ac_libobjs
 LTLIBOBJS=$ac_ltlibobjs
 
 
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+  as_fn_error "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+  as_fn_error "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
  if test -n "$EXEEXT"; then
   am__EXEEXT_TRUE=
   am__EXEEXT_FALSE='#'
@@ -14672,14 +15375,6 @@ if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
-  as_fn_error "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
-  as_fn_error "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
diff --git libcilkrts/configure.ac libcilkrts/configure.ac
index cc9a39f..afd09b8 100644
--- libcilkrts/configure.ac
+++ libcilkrts/configure.ac
@@ -39,6 +39,9 @@ AC_PREREQ([2.64])
 AC_CANONICAL_SYSTEM
 target_alias=${target_alias-$host_alias}
 AC_SUBST(target_alias)
+
+AC_USE_SYSTEM_EXTENSIONS
+
 AM_INIT_AUTOMAKE(foreign no-dist)
 
 AM_MAINTAINER_MODE
@@ -188,8 +191,7 @@ AC_LINK_IFELSE(
 # Check for pthread_{,attr_}[sg]etaffinity_np.
 AC_LINK_IFELSE(
  [AC_LANG_PROGRAM(
-  [#define _GNU_SOURCE
-   #include <pthread.h>],
+  [#include <pthread.h>],
   [cpu_set_t cpuset;
    pthread_attr_t attr;
    pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
diff --git libcilkrts/runtime/os-unix.c libcilkrts/runtime/os-unix.c
index cb582dd..229c438 100644
--- libcilkrts/runtime/os-unix.c
+++ libcilkrts/runtime/os-unix.c
@@ -36,13 +36,6 @@
  *  POSSIBILITY OF SUCH DAMAGE.
  **************************************************************************/
 
-#ifdef __linux__
-    // define _GNU_SOURCE before *any* #include.
-    // Even <stdint.h> will break later #includes if this macro is not
-    // already defined when it is #included.
-#   define _GNU_SOURCE
-#endif
-
 #include "os.h"
 #include "bug.h"
 #include "cilk_malloc.h"
diff --git libcilkrts/runtime/sysdep-unix.c libcilkrts/runtime/sysdep-unix.c
index b9f1ad0..bbb2d86 100644
--- libcilkrts/runtime/sysdep-unix.c
+++ libcilkrts/runtime/sysdep-unix.c
@@ -39,13 +39,6 @@
  **************************************************************************
  */
 
-#ifdef __linux__
-    // define _GNU_SOURCE before *any* #include.
-    // Even <stdint.h> will break later #includes if this macro is not
-    // already defined when it is #included.
-#   define _GNU_SOURCE
-#endif
-
 #include "sysdep.h"
 #include "os.h"
 #include "bug.h"


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id (was: Cilk Library)
       [not found]   ` <BF230D13CA30DD48930C31D4099330003A48660C@FMSMSX101.amr.corp.intel.com>
  2013-11-07 13:36     ` Cilk Library Thomas Schwinge
  2014-09-29 18:13     ` libcilkrts: Use AC_USE_SYSTEM_EXTENSIONS (was: Cilk Library) Thomas Schwinge
@ 2014-09-29 18:13     ` Thomas Schwinge
  2014-09-29 18:26       ` Tannenbaum, Barry M
  2014-09-29 21:00       ` libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id Jeff Law
  2014-09-29 18:14     ` libcilkrts: GNU Hurd port, and some code cleanup/consolidation (was: Cilk Library) Thomas Schwinge
  2014-09-29 18:14     ` libcilkrts: GNU toolchain, GNU linker scripts " Thomas Schwinge
  4 siblings, 2 replies; 13+ messages in thread
From: Thomas Schwinge @ 2014-09-29 18:13 UTC (permalink / raw)
  To: Iyer, Balaji V, barry.m.tannenbaum, igor.zamyatin; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 1766 bytes --]

Hi!

On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
> [libcilkrts]

I have found a function that is -- as far as I can tell -- unused, and
I'm thus proposing to remove it.  This increases portability, as this
code has dependencies on the operating system.  Tested on x86 GNU/Hurd,
and x86_64 GNU/Linux is in progress.  OK for trunk once testing
completed?

commit 4f32339be3c95330b7fcd3bc6bb520a7401aa510
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Sat Sep 20 19:53:56 2014 +0200

    libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id.
    
    	libcilkrts/
    	* runtime/sysdep-unix.c (__cilkrts_sysdep_is_worker_thread_id):
    	Remove function.
---
 libcilkrts/runtime/sysdep-unix.c | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git libcilkrts/runtime/sysdep-unix.c libcilkrts/runtime/sysdep-unix.c
index 1f82b62..b9f1ad0 100644
--- libcilkrts/runtime/sysdep-unix.c
+++ libcilkrts/runtime/sysdep-unix.c
@@ -571,28 +571,6 @@ void __cilkrts_make_unrunnable_sysdep(__cilkrts_worker *w,
     }
 }
 
-/*
- * __cilkrts_sysdep_is_worker_thread_id
- *
- * Returns true if the thread ID specified matches the thread ID we saved
- * for a worker.
- */
-
-int __cilkrts_sysdep_is_worker_thread_id(global_state_t *g,
-                                         int i,
-                                         void *thread_id)
-{
-#if defined( __linux__) || defined(__VXWORKS__)
-    pthread_t tid = *(pthread_t *)thread_id;
-    if (i < 0 || i > g->total_workers)
-        return 0;
-    return g->sysdep->threads[i] == tid;
-#else
-    // Needs to be implemented
-    return 0;
-#endif
-}
-
 
 
 


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* libcilkrts: GNU Hurd port, and some code cleanup/consolidation (was: Cilk Library)
       [not found]   ` <BF230D13CA30DD48930C31D4099330003A48660C@FMSMSX101.amr.corp.intel.com>
                       ` (2 preceding siblings ...)
  2014-09-29 18:13     ` libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id " Thomas Schwinge
@ 2014-09-29 18:14     ` Thomas Schwinge
  2014-09-29 18:14     ` libcilkrts: GNU toolchain, GNU linker scripts " Thomas Schwinge
  4 siblings, 0 replies; 13+ messages in thread
From: Thomas Schwinge @ 2014-09-29 18:14 UTC (permalink / raw)
  To: Iyer, Balaji V, barry.m.tannenbaum, igor.zamyatin; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 5051 bytes --]

Hi!

On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
> [libcilkrts]

Currently, by means of the libcilkrts/configure.tgt file that has been
added during patch review, libcilkrts is attempted to be built for all
*-*-gnu* system, but it has actually only been ported to GNU/Linux.  This
is Debian bug <http://bugs.debian.org/734973>.  Here is a basic GNU Hurd
port, and some code cleanup/consolidation.  Tested on x86 GNU/Hurd, and
x86_64 GNU/Linux is in progress.  OK for trunk once testing completed?

commit ca8d437e22c659aa6a8d2d57afd9e3944f9b33ce
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Sun Sep 21 20:35:49 2014 +0200

    libcilkrts: GNU Hurd port, and some code cleanup/consolidation.
    
    	libcilkrts/
    	* runtime/cilk_malloc.c: Consider __GLIBC__ next to __linux__.
    	* runtime/os-unix.c: Basic port for __GNU__.  Apply some code
    	cleanup/consolidation.
---
 libcilkrts/runtime/cilk_malloc.c |  2 +-
 libcilkrts/runtime/os-unix.c     | 45 +++++++++++++++++++---------------------
 2 files changed, 22 insertions(+), 25 deletions(-)

diff --git libcilkrts/runtime/cilk_malloc.c libcilkrts/runtime/cilk_malloc.c
index 9d02c52..d3de756 100644
--- libcilkrts/runtime/cilk_malloc.c
+++ libcilkrts/runtime/cilk_malloc.c
@@ -39,7 +39,7 @@
 #include "cilk_malloc.h"
 
 #include <stdlib.h>
-#if defined _WIN32 || defined _WIN64 || defined __linux__
+#if defined _WIN32 || defined _WIN64 || defined __GLIBC__ || defined __linux__
 #include <malloc.h>
 #define HAS_MEMALIGN 1
 #endif
diff --git libcilkrts/runtime/os-unix.c libcilkrts/runtime/os-unix.c
index 229c438..70acb14 100644
--- libcilkrts/runtime/os-unix.c
+++ libcilkrts/runtime/os-unix.c
@@ -47,12 +47,6 @@
 #elif defined __APPLE__
 #   include <sys/sysctl.h>
     // Uses sysconf(_SC_NPROCESSORS_ONLN) in verbose output
-#elif defined  __DragonFly__
-// No additional include files
-#elif defined  __FreeBSD__
-// No additional include files
-#elif defined __CYGWIN__
-// Cygwin on Windows - no additional include files
 #elif defined  __VXWORKS__
 #   include <vxWorks.h>   
 #   include <vxCpuLib.h>   
@@ -60,6 +54,9 @@
 // Solaris
 #elif defined __sun__ && defined __svr4__
 #   include <sched.h>
+#elif defined __CYGWIN__ || defined __DragonFly__ || defined __FreeBSD__ \
+  || defined __GNU__
+// No additional include files.
 #else
 #   error "Unsupported OS"
 #endif
@@ -349,7 +346,12 @@ static int linux_get_affinity_count (int tid)
 
 COMMON_SYSDEP int __cilkrts_hardware_cpu_count(void)
 {
-#if defined __ANDROID__ || (defined(__sun__) && defined(__svr4__))
+#if defined __ANDROID__ \
+  || defined __CYGWIN__ \
+  || defined __DragonFly__ \
+  || defined __FreeBSD__ \
+  || defined __GNU__ \
+  || (defined (__sun__) && defined (__svr4__))
     return sysconf (_SC_NPROCESSORS_ONLN);
 #elif defined __MIC__
     /// HACK: Usually, the 3rd and 4th hyperthreads are not beneficial
@@ -369,16 +371,10 @@ COMMON_SYSDEP int __cilkrts_hardware_cpu_count(void)
     assert((unsigned)count == count);
 
     return count;
-#elif defined  __FreeBSD__ || defined __CYGWIN__ || defined __DragonFly__
-    int ncores = sysconf(_SC_NPROCESSORS_ONLN);
-
-    return ncores;
-    // Just get the number of processors
-//    return sysconf(_SC_NPROCESSORS_ONLN);
 #elif defined  __VXWORKS__
     return __builtin_popcount( vxCpuEnabledGet() );
 #else
-#error "Unknown architecture"
+# error "Unsupported architecture"
 #endif
 }
 
@@ -393,13 +389,16 @@ COMMON_SYSDEP void __cilkrts_sleep(void)
 
 COMMON_SYSDEP void __cilkrts_yield(void)
 {
-#if __APPLE__ || __FreeBSD__ || __VXWORKS__
-    // On MacOS, call sched_yield to yield quantum.  I'm not sure why we
+#if defined (__ANDROID__) \
+  || __APPLE__ \
+  || defined (__DragonFly__) \
+  || __FreeBSD__ \
+  || defined (__GNU__) \
+  || (defined (__sun__) && defined (__svr4__)) \
+  || __VXWORKS__
+    // Call sched_yield to yield quantum.  I'm not sure why we
     // don't do this on Linux also.
     sched_yield();
-#elif defined(__DragonFly__)
-    // On DragonFly BSD, call sched_yield to yield quantum.
-    sched_yield();
 #elif defined(__MIC__)
     // On MIC, pthread_yield() really trashes things.  Arch's measurements
     // showed that calling _mm_delay_32() (or doing nothing) was a better
@@ -407,14 +406,12 @@ COMMON_SYSDEP void __cilkrts_yield(void)
     // giving up the processor and latency starting up when work becomes
     // available
     _mm_delay_32(1024);
-#elif defined(__ANDROID__) || (defined(__sun__) && defined(__svr4__))
-    // On Android and Solaris, call sched_yield to yield quantum.  I'm not
-    // sure why we don't do this on Linux also.
-    sched_yield();
-#else
+#elif defined __linux__
     // On Linux, call pthread_yield (which in turn will call sched_yield)
     // to yield quantum.
     pthread_yield();
+#else
+# error "Unsupported architecture"
 #endif
 }
 

Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* libcilkrts: GNU toolchain, GNU linker scripts (was: Cilk Library)
       [not found]   ` <BF230D13CA30DD48930C31D4099330003A48660C@FMSMSX101.amr.corp.intel.com>
                       ` (3 preceding siblings ...)
  2014-09-29 18:14     ` libcilkrts: GNU Hurd port, and some code cleanup/consolidation (was: Cilk Library) Thomas Schwinge
@ 2014-09-29 18:14     ` Thomas Schwinge
  4 siblings, 0 replies; 13+ messages in thread
From: Thomas Schwinge @ 2014-09-29 18:14 UTC (permalink / raw)
  To: Iyer, Balaji V, barry.m.tannenbaum, igor.zamyatin; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 6370 bytes --]

Hi!

On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
> [libcilkrts]

As requested during patch review, symbol versioning infrastructure has
been added to libcilkrts.  However, this is currently
described/implemented as "Linux-only", while in fact it's standard GNU
linker scripts, generally supported with the GNU toolchain, so I'm
proposing to change this as follows.  This increases portability.  Tested
on x86 GNU/Hurd, and x86_64 GNU/Linux is in progress.  OK for trunk once
testing completed?

commit 44e41129a59a4f69d26923a6fa6091902ae584b2
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Sat Sep 20 19:16:44 2014 +0200

    libcilkrts: GNU toolchain, GNU linker scripts.
    
    	libcilkrts/
    	* configure.ac (linux_linker_script): Rename to gnu_linker_script.
    	Also set for *-*-gnu*.
    	(LINUX_LINKER_SCRIPT): Rename to GNU_LINKER_SCRIPT.  Adapt all
    	users.
    	* configure: Regenerate.
    	* Makefile.in: Regenerate.
    	* runtime/linux-symbols.ver: Rename to runtime/gnu-symbols.ver.
---
 libcilkrts/Makefile.am                             |  6 ++--
 libcilkrts/Makefile.in                             |  4 +--
 libcilkrts/configure                               | 32 ++++++++++++----------
 libcilkrts/configure.ac                            | 12 ++++----
 .../runtime/{linux-symbols.ver => gnu-symbols.ver} |  0
 5 files changed, 29 insertions(+), 25 deletions(-)

diff --git libcilkrts/Makefile.am libcilkrts/Makefile.am
index 70538a2..e77dfa6 100644
--- libcilkrts/Makefile.am
+++ libcilkrts/Makefile.am
@@ -95,9 +95,9 @@ libcilkrts_la_LDFLAGS = -version-info 5:0:0
 libcilkrts_la_LDFLAGS += @lt_cv_dlopen_libs@
 libcilkrts_la_LDFLAGS += $(AM_LDFLAGS)
 
-# If we're building on Linux, use the Linux version script
-if LINUX_LINKER_SCRIPT
-    libcilkrts_la_LDFLAGS += -Wl,--version-script,$(srcdir)/runtime/linux-symbols.ver
+# If we're building with a GNU toolchain, use the GNU version script.
+if GNU_LINKER_SCRIPT
+  libcilkrts_la_LDFLAGS += -Wl,--version-script,$(srcdir)/runtime/gnu-symbols.ver
 endif
 
 # If we're building on MacOS, use the Mac versioning
diff --git libcilkrts/Makefile.in libcilkrts/Makefile.in
index e1a54b5..dd482b4 100644
--- libcilkrts/Makefile.in
+++ libcilkrts/Makefile.in
@@ -115,8 +115,8 @@ DIST_COMMON = $(srcdir)/include/internal/rev.mk README ChangeLog \
 	$(srcdir)/../mkinstalldirs $(srcdir)/libcilkrts.spec.in \
 	$(srcdir)/../depcomp
 
-# If we're building on Linux, use the Linux version script
-@LINUX_LINKER_SCRIPT_TRUE@am__append_1 = -Wl,--version-script,$(srcdir)/runtime/linux-symbols.ver
+# If we're building with a GNU toolchain, use the GNU version script.
+@GNU_LINKER_SCRIPT_TRUE@am__append_1 = -Wl,--version-script,$(srcdir)/runtime/gnu-symbols.ver
 
 # If we're building on MacOS, use the Mac versioning
 @MAC_LINKER_SCRIPT_TRUE@am__append_2 = -Wl,-exported_symbols_list,$(srcdir)/runtime/mac-symbols.txt
diff --git libcilkrts/configure libcilkrts/configure
index be96533..b75533c 100644
--- libcilkrts/configure
+++ libcilkrts/configure
@@ -629,8 +629,8 @@ SED
 LIBTOOL
 MAC_LINKER_SCRIPT_FALSE
 MAC_LINKER_SCRIPT_TRUE
-LINUX_LINKER_SCRIPT_FALSE
-LINUX_LINKER_SCRIPT_TRUE
+GNU_LINKER_SCRIPT_FALSE
+GNU_LINKER_SCRIPT_TRUE
 config_dir
 ALLOCA
 multi_basedir
@@ -5647,19 +5647,21 @@ case "${target}" in
 esac
 
 
-# We have linker scripts for appropriate operating systems
-linux_linker_script=no
+# We have linker scripts for appropriate toolchains.
+
+gnu_linker_script=no
 case "${host}" in
-    *-*-linux*)
-        linux_linker_script=yes
+    *-*-gnu* | *-*-linux*)
+	# Assume a GNU toolchain.
+        gnu_linker_script=yes
         ;;
 esac
- if test "$linux_linker_script" = "yes"; then
-  LINUX_LINKER_SCRIPT_TRUE=
-  LINUX_LINKER_SCRIPT_FALSE='#'
+ if test "$gnu_linker_script" = "yes"; then
+  GNU_LINKER_SCRIPT_TRUE=
+  GNU_LINKER_SCRIPT_FALSE='#'
 else
-  LINUX_LINKER_SCRIPT_TRUE='#'
-  LINUX_LINKER_SCRIPT_FALSE=
+  GNU_LINKER_SCRIPT_TRUE='#'
+  GNU_LINKER_SCRIPT_FALSE=
 fi
 
 
@@ -11755,7 +11757,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11758 "configure"
+#line 11760 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11861,7 +11863,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11864 "configure"
+#line 11866 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -15379,8 +15381,8 @@ if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
-if test -z "${LINUX_LINKER_SCRIPT_TRUE}" && test -z "${LINUX_LINKER_SCRIPT_FALSE}"; then
-  as_fn_error "conditional \"LINUX_LINKER_SCRIPT\" was never defined.
+if test -z "${GNU_LINKER_SCRIPT_TRUE}" && test -z "${GNU_LINKER_SCRIPT_FALSE}"; then
+  as_fn_error "conditional \"GNU_LINKER_SCRIPT\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${MAC_LINKER_SCRIPT_TRUE}" && test -z "${MAC_LINKER_SCRIPT_FALSE}"; then
diff --git libcilkrts/configure.ac libcilkrts/configure.ac
index afd09b8..9f47993 100644
--- libcilkrts/configure.ac
+++ libcilkrts/configure.ac
@@ -143,14 +143,16 @@ case "${target}" in
 esac
 AC_SUBST(config_dir)
 
-# We have linker scripts for appropriate operating systems
-linux_linker_script=no
+# We have linker scripts for appropriate toolchains.
+
+gnu_linker_script=no
 case "${host}" in
-    *-*-linux*)
-        linux_linker_script=yes
+    *-*-gnu* | *-*-linux*)
+	# Assume a GNU toolchain.
+        gnu_linker_script=yes
         ;;
 esac
-AM_CONDITIONAL(LINUX_LINKER_SCRIPT, test "$linux_linker_script" = "yes")
+AM_CONDITIONAL(GNU_LINKER_SCRIPT, test "$gnu_linker_script" = "yes")
 
 mac_linker_script=no
 case "${host}" in
diff --git libcilkrts/runtime/linux-symbols.ver libcilkrts/runtime/gnu-symbols.ver
similarity index 100%
rename from libcilkrts/runtime/linux-symbols.ver
rename to libcilkrts/runtime/gnu-symbols.ver


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id (was: Cilk Library)
  2014-09-29 18:13     ` libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id " Thomas Schwinge
@ 2014-09-29 18:26       ` Tannenbaum, Barry M
  2014-09-29 21:00       ` libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id Jeff Law
  1 sibling, 0 replies; 13+ messages in thread
From: Tannenbaum, Barry M @ 2014-09-29 18:26 UTC (permalink / raw)
  To: Thomas Schwinge, Iyer, Balaji V, Zamyatin, Igor; +Cc: gcc-patches

It's a remnant from something we were attempting to support (and abandoned) 4 years ago. I'm fine with removing it from the runtime.

Igor, I'll make the change and send you a new copy.

   - Barry

-----Original Message-----
From: Thomas Schwinge [mailto:thomas@codesourcery.com] 
Sent: Monday, September 29, 2014 2:13 PM
To: Iyer, Balaji V; Tannenbaum, Barry M; Zamyatin, Igor
Cc: gcc-patches@gcc.gnu.org
Subject: libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id (was: Cilk Library)

Hi!

On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
> [libcilkrts]

I have found a function that is -- as far as I can tell -- unused, and I'm thus proposing to remove it.  This increases portability, as this code has dependencies on the operating system.  Tested on x86 GNU/Hurd, and x86_64 GNU/Linux is in progress.  OK for trunk once testing completed?

commit 4f32339be3c95330b7fcd3bc6bb520a7401aa510
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Sat Sep 20 19:53:56 2014 +0200

    libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id.
    
    	libcilkrts/
    	* runtime/sysdep-unix.c (__cilkrts_sysdep_is_worker_thread_id):
    	Remove function.
---
 libcilkrts/runtime/sysdep-unix.c | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git libcilkrts/runtime/sysdep-unix.c libcilkrts/runtime/sysdep-unix.c index 1f82b62..b9f1ad0 100644
--- libcilkrts/runtime/sysdep-unix.c
+++ libcilkrts/runtime/sysdep-unix.c
@@ -571,28 +571,6 @@ void __cilkrts_make_unrunnable_sysdep(__cilkrts_worker *w,
     }
 }
 
-/*
- * __cilkrts_sysdep_is_worker_thread_id
- *
- * Returns true if the thread ID specified matches the thread ID we saved
- * for a worker.
- */
-
-int __cilkrts_sysdep_is_worker_thread_id(global_state_t *g,
-                                         int i,
-                                         void *thread_id)
-{
-#if defined( __linux__) || defined(__VXWORKS__)
-    pthread_t tid = *(pthread_t *)thread_id;
-    if (i < 0 || i > g->total_workers)
-        return 0;
-    return g->sysdep->threads[i] == tid;
-#else
-    // Needs to be implemented
-    return 0;
-#endif
-}
-
 
 
 


Grüße,
 Thomas

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id
  2014-09-29 18:13     ` libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id " Thomas Schwinge
  2014-09-29 18:26       ` Tannenbaum, Barry M
@ 2014-09-29 21:00       ` Jeff Law
  2014-09-29 21:06         ` Thomas Schwinge
  1 sibling, 1 reply; 13+ messages in thread
From: Jeff Law @ 2014-09-29 21:00 UTC (permalink / raw)
  To: Thomas Schwinge, Iyer, Balaji V, barry.m.tannenbaum, igor.zamyatin
  Cc: gcc-patches

On 09/29/14 12:13, Thomas Schwinge wrote:
> Hi!
>
> On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
>> [libcilkrts]
>
> I have found a function that is -- as far as I can tell -- unused, and
> I'm thus proposing to remove it.  This increases portability, as this
> code has dependencies on the operating system.  Tested on x86 GNU/Hurd,
> and x86_64 GNU/Linux is in progress.  OK for trunk once testing
> completed?
>
> commit 4f32339be3c95330b7fcd3bc6bb520a7401aa510
> Author: Thomas Schwinge <thomas@codesourcery.com>
> Date:   Sat Sep 20 19:53:56 2014 +0200
>
>      libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id.
>
>      	libcilkrts/
>      	* runtime/sysdep-unix.c (__cilkrts_sysdep_is_worker_thread_id):
>      	Remove function.
The Cilk+ runtime is shared with ICC and they'll need to pull in this 
code first.  We can then pick it up via merges.

jeff

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id
  2014-09-29 21:00       ` libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id Jeff Law
@ 2014-09-29 21:06         ` Thomas Schwinge
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Schwinge @ 2014-09-29 21:06 UTC (permalink / raw)
  To: Jeff Law, Iyer, Balaji V, barry.m.tannenbaum, igor.zamyatin; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

Hi!

On Mon, 29 Sep 2014 15:00:03 -0600, Jeff Law <law@redhat.com> wrote:
> On 09/29/14 12:13, Thomas Schwinge wrote:
> >      	libcilkrts/
> >      	* [...]

> The Cilk+ runtime is shared with ICC and they'll need to pull in this 
> code first.  We can then pick it up via merges.

Yeah, Barry is already guiding me through this process.


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: libcilkrts: Use AC_USE_SYSTEM_EXTENSIONS (was: Cilk Library)
  2014-09-29 18:13     ` libcilkrts: Use AC_USE_SYSTEM_EXTENSIONS (was: Cilk Library) Thomas Schwinge
@ 2014-10-01 14:02       ` Thomas Schwinge
  2014-10-01 14:10         ` Tannenbaum, Barry M
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Schwinge @ 2014-10-01 14:02 UTC (permalink / raw)
  To: barry.m.tannenbaum; +Cc: gcc-patches, Iyer, Balaji V, igor.zamyatin

[-- Attachment #1: Type: text/plain, Size: 4056 bytes --]

Hi!

On Mon, 29 Sep 2014 20:13:38 +0200, I wrote:
> On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
> > [libcilkrts]
> 
> Here is a patch to have libcilkrts use AC_USE_SYSTEM_EXTENSIONS (as other
> libraries are doing) instead of manually fiddling with the _GNU_SOURCE
> definition.  This increases portability, as most of those definitions are
> currently hard-coded for __linux__ only.  Tested on x86 GNU/Hurd, and
> x86_64 GNU/Linux is in progress.  OK for trunk once testing completed?

Barry had a question about this change, so let me clarify this:

>     	libcilkrts/
>     	* configure.ac (AC_USE_SYSTEM_EXTENSIONS): Instantiate.
>     	<HAVE_PTHREAD_AFFINITY_NP>: Don't define _GNU_SOURCE.
>     	* configure: Regenerate.
>     	* runtime/os-unix.c [__linux__] (_GNU_SOURCE): Don't define.
>     	* runtime/sysdep-unix.c [__linux__] (_GNU_SOURCE): Likewise.

> --- libcilkrts/configure.ac
> +++ libcilkrts/configure.ac
> @@ -39,6 +39,9 @@ AC_PREREQ([2.64])
>  AC_CANONICAL_SYSTEM
>  target_alias=${target_alias-$host_alias}
>  AC_SUBST(target_alias)
> +
> +AC_USE_SYSTEM_EXTENSIONS

> @@ -188,8 +191,7 @@ AC_LINK_IFELSE(
>  # Check for pthread_{,attr_}[sg]etaffinity_np.
>  AC_LINK_IFELSE(
>   [AC_LANG_PROGRAM(
> -  [#define _GNU_SOURCE
> -   #include <pthread.h>],
> +  [#include <pthread.h>],
>    [cpu_set_t cpuset;
>     pthread_attr_t attr;
>     pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);

> --- libcilkrts/runtime/os-unix.c
> +++ libcilkrts/runtime/os-unix.c
> @@ -36,13 +36,6 @@
>   *  POSSIBILITY OF SUCH DAMAGE.
>   **************************************************************************/
>  
> -#ifdef __linux__
> -    // define _GNU_SOURCE before *any* #include.
> -    // Even <stdint.h> will break later #includes if this macro is not
> -    // already defined when it is #included.
> -#   define _GNU_SOURCE
> -#endif

> --- libcilkrts/runtime/sysdep-unix.c
> +++ libcilkrts/runtime/sysdep-unix.c
> @@ -39,13 +39,6 @@
>   **************************************************************************
>   */
>  
> -#ifdef __linux__
> -    // define _GNU_SOURCE before *any* #include.
> -    // Even <stdint.h> will break later #includes if this macro is not
> -    // already defined when it is #included.
> -#   define _GNU_SOURCE
> -#endif

On Wed, 1 Oct 2014 13:18:51 +0000, "Tannenbaum, Barry M" <barry.m.tannenbaum@intel.com> wrote:
> I've been looking at your 3rd edit to remove the use of _GNU_SOURCE for portability. We didn't define this arbitrarily. We want to call dladdr() to get the shared object associated with an address. The docs state that in order to call this function, we should be defining _GNU_SOURCE.

You're correct that -D_GNU_SOURCE is required for this.  What I proposed
is to remove the *manual* _GNU_SOURCE definitions, that are currently
conditioned to __linux__, given that I had put AC_USE_SYSTEM_EXTENSIONS
into configure.ac, which globally adds -D_GNU_SOURCE as well as other
similar defines to the compiler flags, see
<https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Posix-Variants.html>.
Of course, this is a bit of a "sledgehammer approach" to the problem, but
is what is being done in other libraries that ship with GCC.

Now, I don't know all the contexts in which the libcilkrts code is being
built.  I thought all of them -- or, at least those where the _GNU_SOURCE
definition does have any effect: GNU systems using glibc -- are using the
configure script, but maybe that's not true.  In this case, in these
other build systems, if any, also (maybe just unconditionally) add
-D_GNU_SOURCE to the compiler flags.  If that's not an option, leave in
the manual _GNU_SOURCE definitions in the *.c files, conditioned to
__linux__ -- which is ugly ;-) but does fulfil its purpose.

> How should I be determining if this functionality is available?

You can then assume that dladdr is available.


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: libcilkrts: Use AC_USE_SYSTEM_EXTENSIONS (was: Cilk Library)
  2014-10-01 14:02       ` Thomas Schwinge
@ 2014-10-01 14:10         ` Tannenbaum, Barry M
  0 siblings, 0 replies; 13+ messages in thread
From: Tannenbaum, Barry M @ 2014-10-01 14:10 UTC (permalink / raw)
  To: Thomas Schwinge; +Cc: gcc-patches, Iyer, Balaji V, Zamyatin, Igor

The problem arose in our internal build which is a (relatively) simple Makefile. Now that I know what AC_USE_SYSTEM_EXTENSIONS is doing I can adjust it accordingly.

Thanks.

  - Barry

-----Original Message-----
From: Thomas Schwinge [mailto:thomas@codesourcery.com] 
Sent: Wednesday, October 01, 2014 10:02 AM
To: Tannenbaum, Barry M
Cc: gcc-patches@gcc.gnu.org; Iyer, Balaji V; Zamyatin, Igor
Subject: Re: libcilkrts: Use AC_USE_SYSTEM_EXTENSIONS (was: Cilk Library)

Hi!

On Mon, 29 Sep 2014 20:13:38 +0200, I wrote:
> On Wed, 9 Oct 2013 18:32:11 +0000, "Iyer, Balaji V" <balaji.v.iyer@intel.com> wrote:
> > [libcilkrts]
> 
> Here is a patch to have libcilkrts use AC_USE_SYSTEM_EXTENSIONS (as 
> other libraries are doing) instead of manually fiddling with the 
> _GNU_SOURCE definition.  This increases portability, as most of those 
> definitions are currently hard-coded for __linux__ only.  Tested on 
> x86 GNU/Hurd, and
> x86_64 GNU/Linux is in progress.  OK for trunk once testing completed?

Barry had a question about this change, so let me clarify this:

>     	libcilkrts/
>     	* configure.ac (AC_USE_SYSTEM_EXTENSIONS): Instantiate.
>     	<HAVE_PTHREAD_AFFINITY_NP>: Don't define _GNU_SOURCE.
>     	* configure: Regenerate.
>     	* runtime/os-unix.c [__linux__] (_GNU_SOURCE): Don't define.
>     	* runtime/sysdep-unix.c [__linux__] (_GNU_SOURCE): Likewise.

> --- libcilkrts/configure.ac
> +++ libcilkrts/configure.ac
> @@ -39,6 +39,9 @@ AC_PREREQ([2.64])
>  AC_CANONICAL_SYSTEM
>  target_alias=${target_alias-$host_alias}
>  AC_SUBST(target_alias)
> +
> +AC_USE_SYSTEM_EXTENSIONS

> @@ -188,8 +191,7 @@ AC_LINK_IFELSE(
>  # Check for pthread_{,attr_}[sg]etaffinity_np.
>  AC_LINK_IFELSE(
>   [AC_LANG_PROGRAM(
> -  [#define _GNU_SOURCE
> -   #include <pthread.h>],
> +  [#include <pthread.h>],
>    [cpu_set_t cpuset;
>     pthread_attr_t attr;
>     pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), 
> &cpuset);

> --- libcilkrts/runtime/os-unix.c
> +++ libcilkrts/runtime/os-unix.c
> @@ -36,13 +36,6 @@
>   *  POSSIBILITY OF SUCH DAMAGE.
>   
> **********************************************************************
> ****/
>  
> -#ifdef __linux__
> -    // define _GNU_SOURCE before *any* #include.
> -    // Even <stdint.h> will break later #includes if this macro is not
> -    // already defined when it is #included.
> -#   define _GNU_SOURCE
> -#endif

> --- libcilkrts/runtime/sysdep-unix.c
> +++ libcilkrts/runtime/sysdep-unix.c
> @@ -39,13 +39,6 @@
>   **************************************************************************
>   */
>  
> -#ifdef __linux__
> -    // define _GNU_SOURCE before *any* #include.
> -    // Even <stdint.h> will break later #includes if this macro is not
> -    // already defined when it is #included.
> -#   define _GNU_SOURCE
> -#endif

On Wed, 1 Oct 2014 13:18:51 +0000, "Tannenbaum, Barry M" <barry.m.tannenbaum@intel.com> wrote:
> I've been looking at your 3rd edit to remove the use of _GNU_SOURCE for portability. We didn't define this arbitrarily. We want to call dladdr() to get the shared object associated with an address. The docs state that in order to call this function, we should be defining _GNU_SOURCE.

You're correct that -D_GNU_SOURCE is required for this.  What I proposed is to remove the *manual* _GNU_SOURCE definitions, that are currently conditioned to __linux__, given that I had put AC_USE_SYSTEM_EXTENSIONS into configure.ac, which globally adds -D_GNU_SOURCE as well as other similar defines to the compiler flags, see <https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Posix-Variants.html>.
Of course, this is a bit of a "sledgehammer approach" to the problem, but is what is being done in other libraries that ship with GCC.

Now, I don't know all the contexts in which the libcilkrts code is being built.  I thought all of them -- or, at least those where the _GNU_SOURCE definition does have any effect: GNU systems using glibc -- are using the configure script, but maybe that's not true.  In this case, in these other build systems, if any, also (maybe just unconditionally) add -D_GNU_SOURCE to the compiler flags.  If that's not an option, leave in the manual _GNU_SOURCE definitions in the *.c files, conditioned to __linux__ -- which is ugly ;-) but does fulfil its purpose.

> How should I be determining if this functionality is available?

You can then assume that dladdr is available.


Grüße,
 Thomas

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-10-01 14:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <BF230D13CA30DD48930C31D4099330003A47B9F3@FMSMSX101.amr.corp.intel.com>
     [not found] ` <525460A9.2040409@redhat.com>
     [not found]   ` <BF230D13CA30DD48930C31D4099330003A48660C@FMSMSX101.amr.corp.intel.com>
2013-11-07 13:36     ` Cilk Library Thomas Schwinge
2013-11-07 17:32       ` Jeff Law
2013-11-07 23:35       ` Iyer, Balaji V
2013-11-08  9:03         ` Thomas Schwinge
2014-09-29 18:13     ` libcilkrts: Use AC_USE_SYSTEM_EXTENSIONS (was: Cilk Library) Thomas Schwinge
2014-10-01 14:02       ` Thomas Schwinge
2014-10-01 14:10         ` Tannenbaum, Barry M
2014-09-29 18:13     ` libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id " Thomas Schwinge
2014-09-29 18:26       ` Tannenbaum, Barry M
2014-09-29 21:00       ` libcilkrts: Remove unused function __cilkrts_sysdep_is_worker_thread_id Jeff Law
2014-09-29 21:06         ` Thomas Schwinge
2014-09-29 18:14     ` libcilkrts: GNU Hurd port, and some code cleanup/consolidation (was: Cilk Library) Thomas Schwinge
2014-09-29 18:14     ` libcilkrts: GNU toolchain, GNU linker scripts " Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).