$NetBSD: patch-aa,v 1.8 2007/06/30 15:11:24 joerg Exp $

--- configure.orig	2007-06-09 01:41:56.000000000 +0000
+++ configure
@@ -8239,13 +8239,13 @@ echo $ECHO_N "checking for library file 
   LIBPRE="lib"
 
   if test "x$LIBPRE" != "x" ; then
-    if test x"$EXEEXT"	== "exe"; then
+    if test x"$EXEEXT"	= "exe"; then
       LIBPRE="lib"
     fi
   fi
 
   if test "x$LIBEXT" != "x" ; then
-    if test x"$EXEEXT"	== "exe"; then
+    if test x"$EXEEXT"	= "exe"; then
       LIBEXT="dll"
     fi
   fi
@@ -20065,7 +20065,7 @@ echo $ECHO_N "checking for qt header... 
     fi
   done
 
-  if test "x$gnash_qt_version" == x; then
+  if test "x$gnash_qt_version" = x; then
     for i in $incllist; do
       for j in `ls -dr $i/qt[0-9] 2>/dev/null`; do
         if test -f $j/qobject.h; then
@@ -47951,7 +47951,7 @@ DLPREOPEN="-dlpreopen"
 
 
 
-if test x"$EXEEXT" == "exe"; then
+if test x"$EXEEXT" = "exe"; then
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_WINSOCK 1
@@ -48042,9 +48042,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 pthreads=no
-PTHREAD_LIBS=""
-PTHREAD_CFLAGS=""
-
+PTHREAD_LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
 
 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
   save_CFLAGS="$CFLAGS"
@@ -51973,7 +51971,7 @@ if $need_sdl; then
     echo "               Install it from http://www.libsdl.org/download-1.2.php"
     echo "               or .deb users: apt-get install libsdl1.2-dev"
     echo "               or .rpm users: yum install SDL-devel"
-     x"$gui" == x"sdl"  &&
+     x"$gui" = x"sdl"  &&
 	echo "               or select a different GUI with --enable-gui= "
      x"$media_handler" = x"ffmpeg" -o x"$media_handler" = x"mad"  &&
 	echo "               or use --enable-media=gst"
@@ -52057,7 +52055,7 @@ fi
 if test x"$BOOST_LIBS" != x; then
     # Only cygnal requires date_time at present, so it's OK if either
     # you don't want cygnal or do have date_time installed.
-    if test x"$cygnal" == xno -o x"$boost_date_time" = xyes; then
+    if test x"$cygnal" = xno -o x"$boost_date_time" = xyes; then
 	echo "        BOOST flags are: $BOOST_CFLAGS"
 	echo "        BOOST libs are: $BOOST_LIBS"
     else
@@ -52072,7 +52070,7 @@ else
     echo "        ERROR: No BOOST development package installed!"
     echo "               Install it from http://www.boost.org"
     echo "               or .deb users: apt-get install libboost-thread-dev"
-    if test x"$cygnal" == xyes; then
+    if test x"$cygnal" = xyes; then
     echo "                              and libboost-date-time-dev"
     fi
     echo "               or .rpm users: yum install boost-devel"
