]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - configure
TUI resize unification
[thirdparty/binutils-gdb.git] / configure
index 86dc0407fa0ad70e1e50029e29a15dadb8c6a246..4d111486926079fc31f65dfe79ade7b063005742 100755 (executable)
--- a/configure
+++ b/configure
@@ -3604,22 +3604,6 @@ case "${target}" in
     ;;
 esac
 
-# Targets that do not use the ELF file format cannot support libctf.
-case "${target}" in
-  *-*-pe | *-*-*vms* | *-*-darwin | *-*-*coff* | *-*-wince | *-*-mingw*)
-    noconfigdirs="$noconfigdirs libctf"
-    ;;
-  *-*-aout | *-*-osf* | *-*-go32 | *-*-macos* | *-*-rhapsody*)
-    noconfigdirs="$noconfigdirs libctf"
-    ;;
-  *-*-netbsdpe | *-*-cygwin* | *-*-pep | *-*-msdos | *-*-winnt)
-    noconfigdirs="$noconfigdirs libctf"
-    ;;
-  ns32k-*-* | pdp11-*-* | *-*-aix* | *-*-netbsdaout)
-    noconfigdirs="$noconfigdirs libctf"
-    ;;
-esac
-
 case "${target}" in
   *-*-chorusos)
     ;;
@@ -7200,6 +7184,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