$NetBSD: patch-ab,v 1.13 2009/01/27 22:59:16 sketch Exp $ --- configure.orig Thu Jan 22 21:25:11 2009 +++ configure Tue Jan 27 22:46:45 2009 @@ -26274,6 +26274,9 @@ #error GCC before 3.4 has critical bugs compiling inline assembly #endif #endif +#ifdef __SUNPRO_C +#error Sun Studio cannot handle assembly in this package +#endif __asm__ (""::) ; return 0; @@ -26884,7 +26887,7 @@ fi rm -f conftest.mmap - if test "x$ac_cv_func_mmap_fixed_mapped" == "xyes"; then + if test "x$ac_cv_func_mmap_fixed_mapped" = "xyes"; then GST_HAVE_MMAP_TRUE= GST_HAVE_MMAP_FALSE='#' else @@ -28297,7 +28300,7 @@ $as_echo "$flag_ok" >&6; } - if test "x$ERROR_CFLAGS" == "x" + if test "x$ERROR_CFLAGS" = "x" then { $as_echo "$as_me:$LINENO: checking to see if compiler understands -errwarn=%all" >&5 @@ -32949,6 +32952,10 @@ #ifdef __sun /* Solaris */ #include #include +#elif defined(__NetBSD__) +#include +#elif defined(__NetBSD__) +#include #else /* Linux */ #include #define _LINUX_TIME_H