$NetBSD: patch-as,v 1.3 2011/08/19 10:10:01 tnn Exp $ Treat DragonFly like FreeBSD. --- mozilla/js/src/configure.in.orig 2011-08-11 21:41:02.000000000 +0000 +++ mozilla/js/src/configure.in @@ -748,7 +748,7 @@ EOF AC_LANG_RESTORE ]) - if test "$ac_cv_have_std__Throw" == "yes"; then + if test "$ac_cv_have_std__Throw" = "yes"; then AC_CACHE_CHECK(for |class __declspec(dllimport) exception| bug, ac_cv_have_dllimport_exception_bug, [ @@ -1977,7 +1977,7 @@ case "$target" in MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin' ;; -*-freebsd*) +*-freebsd*|*-dragonfly*) if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then DLL_SUFFIX=".so.1.0" DSO_LDOPTS="-shared" @@ -2821,7 +2821,7 @@ case "$target" in *-solaris*) AC_DEFINE(AVMPLUS_UNIX) ;; -*-freebsd*|*-kfreebsd*) +*-freebsd*|*-kfreebsd*|*-netbsd*|*-dragonfly*) AC_DEFINE(AVMPLUS_UNIX) ;; *-openbsd*) @@ -4730,7 +4730,7 @@ if test "$MOZ_MEMORY"; then *-darwin*) AC_DEFINE(MOZ_MEMORY_DARWIN) ;; - *-*freebsd*) + *-*freebsd*|*-*dragonfly*) AC_DEFINE(MOZ_MEMORY_BSD) ;; *-*linux*)