From 45f1add1339020e83e096737e54c1aa70669175a Mon Sep 17 00:00:00 2001 From: "Loren J. Rittle" Date: Fri, 25 May 2001 22:11:21 +0000 Subject: [PATCH] * config.gcc (*-*-freebsd*): Report bad configuration. From-SVN: r42599 --- gcc/ChangeLog | 4 ++++ gcc/config.gcc | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 587d59569a2..b213d9b2a12 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-05-25 Loren J. Rittle + + * config.gcc (*-*-freebsd*): Report bad configuration. + 2001-05-25 David Edelsohn * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker. diff --git a/gcc/config.gcc b/gcc/config.gcc index a86c45ee10c..c40551f9f97 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -339,6 +339,15 @@ case $machine in *) echo 'Unknown thread configuration for FreeBSD'; exit 1;; esac fbsd_tm_file="${fbsd_tm_file} freebsd.h" + if test x${thread_file} = xposix; then + if test x${enable_libgcj} = xyes; then + echo 'FreeBSD does not currently handle --enable-threads (now' + echo 'the default to match system compiler) and --enable-libgcj.' + echo 'Please explicitly configure with --disable-threads or' + echo '--disable-libgcj' + exit 1 + fi + fi ;; esac -- 2.30.2