--- tinyproxy-1.6.5.orig/configure	2009-09-29 05:28:04.000000000 +0200
+++ tinyproxy-1.6.5/configure	2009-11-15 21:05:10.000000000 +0100
@@ -5162,9 +5162,9 @@ _ACEOF
 fi
 
 # Check whether --enable-static was given.
-if test "${enable_static+set}" = set; then
-  enableval=$enable_static; LDFLAGS="-static $LDFLAGS"
-fi
+#if test "${enable_static+set}" = set; then
+#  enableval=$enable_static; LDFLAGS="-static $LDFLAGS"
+#fi
 
 
 
@@ -10015,7 +10015,7 @@ if test x"$debug_enabled" = x"yes" ; the
         LEX_FLAGS="--warn --debug"
     fi
 else
-        CFLAGS="-O2 -DNDEBUG $CFLAGS"
+        CFLAGS="$CFLAGS"
     YFLAGS="-d"
 fi