diff options
author | François Revol <revol@free.fr> | 2004-11-21 18:04:56 +0000 |
---|---|---|
committer | François Revol <revol@free.fr> | 2004-11-21 18:04:56 +0000 |
commit | 2450cff2c3317b589575fc99dce26ddc605883ee (patch) | |
tree | 0b049eeea1ed936883e21889abaf8792930b5fa4 /configure | |
parent | 7a57b90c335c4c3e64ba6cdacfb9869773adb8b0 (diff) | |
download | ffmpeg-2450cff2c3317b589575fc99dce26ddc605883ee.tar.gz |
BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic "if HAVE_THREADS"
Originally committed as revision 3702 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -323,7 +323,7 @@ esac # of AltiVec on PowerPC TARGET_OS=`( uname -s ) 2>&1` case "$TARGET_OS" in - Linux|FreeBSD|NetBSD|BSD/OS|OpenBSD|SunOS|QNX|Darwin|GNU) + Linux|FreeBSD|NetBSD|BSD/OS|OpenBSD|SunOS|QNX|Darwin|GNU|BeOS) ;; IRIX*) TARGET_OS=IRIX @@ -1215,6 +1215,7 @@ fi 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 extralibs="$extralibs -lpthread" fi @@ -1366,6 +1367,7 @@ if test "$mingw32" = "yes" ; then echo "CONFIG_WIN32=yes" >> config.mak echo "HAVE_W32THREADS=yes" >> config.mak echo "#define HAVE_W32THREADS 1" >> $TMPH + echo "#define HAVE_THREADS 1" >> $TMPH echo "#ifndef __MINGW32__" >> $TMPH echo "#define __MINGW32__ 1" >> $TMPH echo "#endif" >> $TMPH @@ -1380,6 +1382,12 @@ if test "$TARGET_OS" = "SunOS" ; then echo "#define CONFIG_SUNOS 1" >> $TMPH fi +if test "$TARGET_OS" = "BeOS" ; then + echo "HAVE_BEOSTHREADS=yes" >> config.mak + echo "#define HAVE_BEOSTHREADS 1" >> $TMPH + echo "#define HAVE_THREADS 1" >> $TMPH +fi + if test "$darwin" = "yes"; then echo "#define CONFIG_DARWIN 1" >> $TMPH echo "CONFIG_DARWIN=yes" >> config.mak |