Do not build libctf for targets that do not use the ELF file format.
[deliverable/binutils-gdb.git] / configure.ac
index c84263c516bc9131565fbaaf4d17d2e77bd9aa8f..c205698cd6be55f2a08a8cf7f3298e177930b660 100644 (file)
@@ -901,6 +901,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.022805 seconds and 4 git commands to generate.