Patchwork Add support for DragonFlyBSD target to top level configure

login
register
mail settings
Submitter Nick Clifton
Date March 28, 2011, 2:22 p.m.
Message ID <m3fwq75nq6.fsf@redhat.com>
Download mbox | patch
Permalink /patch/88611/
State New
Headers show

Comments

Nick Clifton - March 28, 2011, 2:22 p.m.
Hi Guys,

  I am propagating the attached patch from the binutils source tree.  It
  adds support for the DragonFlyBSD target to the top level configure
  script.

Cheers
  Nick

./ChangeLog
2011-03-26  John Marino  <binutils@marino.st>

	* configure.ac: Add support for *-*-dragonfly*
	* configure: Regenerate.

Patch

Index: configure.ac
===================================================================
--- configure.ac	(revision 171591)
+++ configure.ac	(working copy)
@@ -349,7 +349,8 @@ 
     case "${target}" in
       *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
       | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
-      | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2* | *-*-nto*)
+      | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
+      | *-*-solaris2* | *-*-nto*)
         case "${target}" in
           *-*-linux*aout* | *-*-linux*oldld*)
             ;;
@@ -509,7 +510,7 @@ 
     case "${target}" in
     *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
 	;;
-    *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
+    *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
 	;;
     *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
 	;;
@@ -545,6 +546,9 @@ 
     noconfigdirs="$noconfigdirs sim target-rda"
     noconfigdirs="$noconfigdirs ${libgcj}"
     ;;
+  *-*-dragonfly*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
   *-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     ;;