Do not build libctf for targets that do not use the ELF file format.
[deliverable/binutils-gdb.git] / configure
index 3e95ce50ffb15a53e3d7aa66515937d1bd22d43c..86dc0407fa0ad70e1e50029e29a15dadb8c6a246 100755 (executable)
--- a/configure
+++ b/configure
@@ -3604,6 +3604,22 @@ 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)
     ;;
This page took 0.025519 seconds and 4 git commands to generate.