OSDN Git Service

* config.gcc (*-*-freebsd*): Report bad configuration.
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2001 22:11:21 +0000 (22:11 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2001 22:11:21 +0000 (22:11 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42599 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc

index 587d595..b213d9b 100644 (file)
@@ -1,3 +1,7 @@
+2001-05-25  Loren J. Rittle  <ljrittle@acm.org>
+
+       * config.gcc (*-*-freebsd*): Report bad configuration.
+
 2001-05-25  David Edelsohn  <edelsohn@gnu.org>
 
        * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
 2001-05-25  David Edelsohn  <edelsohn@gnu.org>
 
        * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
index a86c45e..c40551f 100644 (file)
@@ -339,6 +339,15 @@ case $machine in
        *) echo 'Unknown thread configuration for FreeBSD'; exit 1;;
        esac
        fbsd_tm_file="${fbsd_tm_file} freebsd.h"
        *) 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
 
        ;;
 esac