summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorCarlo Bramini <carlo.bramix@libero.it>2009-04-22 18:30:00 +0000
committerCarlo Bramini <carlo.bramix@libero.it>2009-04-22 18:30:00 +0000
commitad7e0f22ba57690d69016d27c05484e87c0ef28e (patch)
tree1530ede9744d2f0b095c5ce5ec7aa3181629cb00 /m4
parent7449244be479be3437f822a99c12d8597176e1af (diff)
downloadxine-lib-ad7e0f22ba57690d69016d27c05484e87c0ef28e.tar.gz
xine-lib-ad7e0f22ba57690d69016d27c05484e87c0ef28e.tar.bz2
Demux timing fixes (Windows)
m4/pthreads.m4 * Mingw GCC says that '-pthread' option is unknown. * Correct library name under Mingw is -lpthreadGC2. src/xine-engine/demux.c * function _x_compute_interval cannot be compiled
Diffstat (limited to 'm4')
-rw-r--r--m4/pthreads.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/pthreads.m4 b/m4/pthreads.m4
index d1d1c0a62..6cbed9255 100644
--- a/m4/pthreads.m4
+++ b/m4/pthreads.m4
@@ -18,6 +18,7 @@ AC_DEFUN([CC_PTHREAD_FLAGS], [
dnl if PTHREAD_* are not set, default to -pthread (GCC)
if test "${PTHREAD_CFLAGS-unset}" = "unset"; then
case $host in
+ *-mingw*) PTHREAD_CFLAGS="" ;;
*-hpux11*) PTHREAD_CFLAGS="" ;;
*-darwin*) PTHREAD_CFLAGS="" ;;
*-solaris*|*-linux-gnu)
@@ -29,6 +30,7 @@ AC_DEFUN([CC_PTHREAD_FLAGS], [
fi
if test "${PTHREAD_LIBS-unset}" = "unset"; then
case $host in
+ *-mingw*) PTHREAD_LIBS="-lpthreadGC2" ;;
*-hpux11*) PTHREAD_LIBS="-lpthread" ;;
*-darwin*) PTHREAD_LIBS="" ;;
*-solaris*)