]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - configure
* omp-low.c (lower_rec_input_clauses): Handle references properly
[thirdparty/gcc.git] / configure
index adf4fda0f69326a05ae97878d73d2a677d663e04..63b1e33f41c43722cc26aa4dd4d26d5a88587178 100755 (executable)
--- a/configure
+++ b/configure
@@ -2781,7 +2781,7 @@ build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
 
 # these libraries are used by various programs built for the host environment
 #f
-host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
+host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
 
 # these tools are built for the host environment
 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
@@ -2813,7 +2813,8 @@ target_libraries="target-libgcc \
                target-libobjc \
                target-libada \
                target-libgo \
-               target-libphobos"
+               target-libphobos \
+               target-zlib"
 
 # these tools are built using the target libraries, and are intended to
 # run only in the target environment
@@ -3355,6 +3356,10 @@ case "${target}" in
   powerpc-*-aix* | rs6000-*-aix*)
     noconfigdirs="$noconfigdirs target-libssp"
     ;;
+  pru-*-*)
+    # No hosted I/O support.
+    noconfigdirs="$noconfigdirs target-libssp"
+    ;;
   rl78-*-*)
     # libssp uses a misaligned load to trigger a fault, but the RL78
     # doesn't fault for those - instead, it gives a build-time error
@@ -3395,7 +3400,7 @@ case ,${enable_languages}, in
     ;;
   *)
     case "${target}" in
-      *-*-darwin* | *-*-cygwin* | *-*-mingw*)
+      *-*-darwin*)
        unsupported_languages="$unsupported_languages d"
        ;;
     esac
@@ -3410,7 +3415,7 @@ if test -d ${srcdir}/libphobos; then
 $as_echo_n "checking for libphobos support... " >&6; }
        if (srcdir=${srcdir}/libphobos; \
                . ${srcdir}/configure.tgt; \
-               test -n "$UNSUPPORTED")
+               test "$LIBPHOBOS_SUPPORTED" != "yes")
        then
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
@@ -3573,6 +3578,9 @@ case "${target}" in
   powerpc*-*-*)
     libgloss_dir=rs6000
     ;;
+  pru-*-*)
+    libgloss_dir=pru
+    ;;
   sparc*-*-*)
     libgloss_dir=sparc
     ;;
@@ -7229,6 +7237,14 @@ esac
 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
 
+# gdb depends on gnulib, but as nothing else does, only include it if
+# gdb is built.
+if echo " ${configdirs} " | grep " gdb " > /dev/null 2>&1 ; then
+  # The Makefile provides the ordering, so it's enough here to add
+  # gnulib to the list.
+  configdirs="${configdirs} gnulib"
+fi
+
 # Strip out unwanted targets.
 
 # While at that, we remove Makefiles if we were started for recursive