--- configure.orig	Fri Aug 13 01:15:49 2004
+++ configure	Fri Aug 13 01:15:35 2004
@@ -5325,7 +5325,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldv  $LIBS"
+LIBS="-ldv ${PTHREAD_LIBS} $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -5693,7 +5693,7 @@
 else
   { { echo "$as_me:$LINENO: error: Unable to link with libraw1394. Check that you have libraw1394 installed" >&5
 echo "$as_me: error: Unable to link with libraw1394. Check that you have libraw1394 installed" >&2;}
-   { (exit 1); exit 1; }; }
+    }
 
 fi
 
@@ -5703,7 +5703,7 @@
 else
   { { echo "$as_me:$LINENO: error: raw1394.h not found install libraw1394-devel" >&5
 echo "$as_me: error: raw1394.h not found install libraw1394-devel" >&2;}
-   { (exit 1); exit 1; }; }
+   }
 
 fi
 
@@ -5853,7 +5853,7 @@
 else
   { { echo "$as_me:$LINENO: error: avc1394.h not found, install libavc1394-devel" >&5
 echo "$as_me: error: avc1394.h not found, install libavc1394-devel" >&2;}
-   { (exit 1); exit 1; }; }
+   }
 
 fi
 
@@ -5933,7 +5933,7 @@
 else
   { { echo "$as_me:$LINENO: error: Unable to link with libavc1394. Check that you have libavc1394 installed and that the version is 0.4.1 or newer" >&5
 echo "$as_me: error: Unable to link with libavc1394. Check that you have libavc1394 installed and that the version is 0.4.1 or newer" >&2;}
-   { (exit 1); exit 1; }; }
+   }
 fi
 
 
@@ -6080,7 +6080,7 @@
 else
   { { echo "$as_me:$LINENO: error: rom1394.h not found, install libavc1394-devel" >&5
 echo "$as_me: error: rom1394.h not found, install libavc1394-devel" >&2;}
-   { (exit 1); exit 1; }; }
+   }
 
 fi
 
@@ -6160,7 +6160,7 @@
 else
   { { echo "$as_me:$LINENO: error: Unable to link with librom1394. Check that your have librom1394 installed (usually part of libavc1394) and that the version is 0.4.1 or newer" >&5
 echo "$as_me: error: Unable to link with librom1394. Check that your have librom1394 installed (usually part of libavc1394) and that the version is 0.4.1 or newer" >&2;}
-   { (exit 1); exit 1; }; }
+   }
 fi
 
 
@@ -6240,7 +6240,7 @@
 
 	{ { echo "$as_me:$LINENO: error: You need the pthread library to compile kino" >&5
 echo "$as_me: error: You need the pthread library to compile kino" >&2;}
-   { (exit 1); exit 1; }; }
+   }
 
 fi
 
