summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@jakemsr.com>2005-05-09 13:24:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-09 13:24:23 +0000
commit8c802695b9498d2cb80765c508c761f02061c8f5 (patch)
tree35edadbec794adcc822d5f054faf4bcc544a53ac /configure
parent01cf54f041eaf72a0febc3ba97116d5bdacb1955 (diff)
OpenBSD support patch by (Jacob Meuser // jakemsr jakemsr com)
Originally committed as revision 4208 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure b/configure
index 24844969c1..1318b11023 100755
--- a/configure
+++ b/configure
@@ -263,6 +263,15 @@ case `uname -r` in
;;
esac
;;
+OpenBSD)
+v4l="no"
+audio_oss="yes"
+dv1394="no"
+make="gmake"
+CFLAGS="$CFLAGS \$(PIC)"
+LDFLAGS="$LDFLAGS -export-dynamic -pthread"
+extralibs="$extralibs -lossaudio"
+;;
FreeBSD)
v4l="no"
audio_oss="yes"
@@ -1295,7 +1304,7 @@ if test "$pthreads" = "yes" ; then
echo "HAVE_PTHREADS=yes" >> config.mak
echo "#define HAVE_PTHREADS 1" >> $TMPH
echo "#define HAVE_THREADS 1" >> $TMPH
- if test $targetos != FreeBSD; then
+ if test $targetos != FreeBSD -a $targetos != OpenBSD ; then
extralibs="$extralibs -lpthread"
fi
fi