Description: Adapt the configure script for the Debian environment.
 Always use Debian's libtool and libdl.so.2.
 Do not add "-g -O2" to the Debian build's CFLAGS.
Forwarded: not-needed
Author: Adrian Bridgett <bridgett@debian.org>,
	Peter Pentchev <roam@ringlet.net>
Last-Update: 2010-10-12

--- configure
+++ configure
@@ -3279,7 +3279,7 @@
   CFLAGS=$ac_save_CFLAGS
 elif test $ac_cv_prog_cc_g = yes; then
   if test "$GCC" = yes; then
-    CFLAGS="-g -O2"
+    CFLAGS=""
   else
     CFLAGS="-g"
   fi
