Move the AC_MSG_RESULT function call for checking for pthread options up into
the 'if' statement that performed the test.  Not all platforms run the test and
on those tests configure outputted a rogue 'no' line.
diff --git a/configure b/configure
index a9ce402..82af2e6 100755
--- a/configure
+++ b/configure
@@ -4256,10 +4256,10 @@
   fi
   rm -fr conftest*
 fi
-fi
-CXX="$ac_save_cxx"
 echo "$as_me:$LINENO: result: $ac_cv_cxx_thread" >&5
 echo "${ECHO_T}$ac_cv_cxx_thread" >&6
+fi
+CXX="$ac_save_cxx"
 
 
 # checks for header files