$NetBSD: patch-as,v 1.2 2012/12/24 21:14:19 joerg Exp $ Treat DragonFly like FreeBSD. --- mozilla/js/src/configure.in.orig 2012-11-15 21:59:30.000000000 +0000 +++ mozilla/js/src/configure.in @@ -799,7 +799,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, [ @@ -2157,7 +2157,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" @@ -2818,7 +2818,7 @@ case "$target" in *-solaris*) AC_DEFINE(AVMPLUS_UNIX) ;; -*-freebsd*|*-kfreebsd*) +*-freebsd*|*-kfreebsd*|*-netbsd*|*-dragonfly*) AC_DEFINE(AVMPLUS_UNIX) ;; *-openbsd*) @@ -3077,6 +3077,9 @@ if test "$GNU_CC"; then AC_CACHE_CHECK(for visibility(hidden) attribute, ac_cv_visibility_hidden, [cat > conftest.c <