diff -aur tpb-0.5.1/configure tpb-0.5.1-patched/configure
--- tpb-0.5.1/configure	2003-04-10 04:06:26.000000000 -0400
+++ tpb-0.5.1-patched/configure	2003-06-30 12:06:41.000000000 -0400
@@ -790,10 +790,10 @@
 
 # additional options
 # Check whether --enable-xosd or --disable-xosd was given.
-if test "${enable_xosd+set}" = set; then
-  enableval="$enable_xosd"
+if test "x${enable_xosd}" = xno; then
   enable_xosd=no
 else
+  enableval="$enable_xosd"
   enable_xosd=yes
 fi
 
