From: Loren J. Rittle Date: Fri, 25 May 2001 22:11:21 +0000 (+0000) Subject: * config.gcc (*-*-freebsd*): Report bad configuration. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45f1add1339020e83e096737e54c1aa70669175a;p=gcc.git * config.gcc (*-*-freebsd*): Report bad configuration. From-SVN: r42599 --- 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