2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
[deliverable/binutils-gdb.git] / opcodes / configure
index 46d059deca529e00fe5f25ab03f735f525a285e8..80b1a7435ea74de7d52b1cb3ce844f62116beb07 100755 (executable)
@@ -10471,6 +10471,16 @@ echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
    esac
 fi;
 
+# Enable -Wno-format by default when using gcc on mingw
+case "${host}" in
+  *-*-mingw32*)
+    if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
+      GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
+    fi
+    ;;
+  *) ;;
+esac
+
 # Enable -Werror by default when using gcc
 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
     ERROR_ON_WARNING=yes
@@ -11443,8 +11453,19 @@ if test "$enable_shared" = "yes"; then
       SHARED_LDFLAGS="-no-undefined"
       SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
       ;;
+   *-*-darwin*)
+     SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.dylib"
+     SHARED_DEPENDENCIES="../bfd/libbfd.la"
+     ;;
     *)
-      SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so"
+      case "$host_vendor" in
+        hp)
+          SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.sl"
+         ;;
+       *)
+          SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so"
+         ;;
+      esac
       SHARED_DEPENDENCIES="../bfd/libbfd.la"
       ;;
   esac
This page took 0.025359 seconds and 4 git commands to generate.