summaryrefslogtreecommitdiff
path: root/multimedia/transcode/patches/patch-be
blob: 490de1b81e1f50e1bb975344a5fba7d96c01b0a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-be,v 1.1 2005/10/10 21:23:24 joerg Exp $

--- configure.in.orig	2005-07-10 17:19:18.000000000 +0000
+++ configure.in
@@ -147,7 +147,7 @@ AC_CHECK_LIB(m, lrintf, AC_DEFINE([HAVE_
 
 dnl Replace `main' with a function in pthread libs:
  case "$host" in
-   *-*-freebsd*)
+   *-*-freebsd* | *-*-dragonfly*)
     pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
     pthread_lib="-pthread"
     ;;
@@ -350,7 +350,7 @@ if test x$have_x86cpu = xtrue ; then
  AC_MSG_CHECKING(for CMOV support)
  if test "$enable_cmov_extension" != "no" ; then
  case "$host" in
- *-*-freebsd*)
+ *-*-freebsd* | *-*-dragonfly*)
   cpu_features=`grep -l CMOV /var/run/dmesg.boot`
   if test X"$cpu_features" = X"/var/run/dmesg.boot" ; then
     have_cmov=true