Commit 2a79fd67 by David Ayers Committed by David Ayers

re PR bootstrap/28072 (target-boehm-gc is being build for targets that do not support it)

2006-06-20  David Ayers  <d.ayers@inode.at>

	PR bootstrap/28072
	* configure.in:	Add target-boehm-gc to noconfigdirs depending on
	whether target-libjava is being configured instead of whether the
	java front end is enabled.
	* configure: Regenerate.

From-SVN: r114808
parent 663230c4
2006-06-20 David Ayers <d.ayers@inode.at>
PR bootstrap/28072
* configure.in: Add target-boehm-gc to noconfigdirs depending on
whether target-libjava is being configured instead of whether the
java front end is enabled.
* configure: Regenerate.
2006-06-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2006-06-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR target/27540 PR target/27540
......
...@@ -1324,20 +1324,15 @@ AC_ARG_ENABLE(objc-gc, ...@@ -1324,20 +1324,15 @@ AC_ARG_ENABLE(objc-gc,
esac]) esac])
# Make sure we only build Boehm's garbage collector if required. # Make sure we only build Boehm's garbage collector if required.
case ,${enable_languages},:${enable_libgcj}:${enable_objc_gc} in case ,${enable_languages},:${enable_objc_gc} in
*,objc,*:*:yes) *,objc,*:yes)
# Keep target-boehm-gc if requested for Objective-C. # Keep target-boehm-gc if requested for Objective-C.
;; ;;
*,java,*:no:*)
# Remove target-boehm-gc if libgcj has been disabled explicitly.
noconfigdirs="$noconfigdirs target-boehm-gc"
;;
*,java,*:*:*)
# Keep target-boehm-gc by default for Java.
;;
*) *)
# Otherwise remove target-boehm-gc. # Otherwise remove target-boehm-gc depending on target-libjava.
noconfigdirs="$noconfigdirs target-boehm-gc" if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
noconfigdirs="$noconfigdirs target-boehm-gc"
fi
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment