diff configure @ 12760:787a1ce375df

multi-threaded lavc patch by (Loren Merritt <lorenm at u dot washington dot edu>)
author michael
date Tue, 06 Jul 2004 02:10:22 +0000
parents b194d780dcda
children 55e2deb36d79
line wrap: on
line diff
--- a/configure	Mon Jul 05 16:46:54 2004 +0000
+++ b/configure	Tue Jul 06 02:10:22 2004 +0000
@@ -2496,8 +2496,12 @@
 fi
 if test "$_ld_pthread" != '' ; then
   echores "yes (using $_ld_pthread)"
+  _pthreads='yes'
+  _def_pthreads='#define HAVE_PTHREADS 1'
 else
   echores "no"
+  _pthreads=''
+  _def_pthreads='#undef HAVE_PTHREADS'
 fi
 
 
@@ -6134,6 +6138,7 @@
 WIN32_LIB = $_ld_win32libs
 STATIC_LIB = $_ld_static
 ENCA_LIB = $_ld_enca
+HAVE_PTHREADS = $_pthreads
 
 X11_INC = $_inc_x11
 X11DIR = $_ld_x11
@@ -6478,6 +6483,9 @@
 /* Define this if your system has glob */
 $_def_glob
 
+/* Define this if your system has pthreads */
+$_def_pthreads
+
 /* LIRC (remote control, see www.lirc.org) support: */
 $_def_lirc