--- configure.orig	2005-01-02 15:19:23.000000000 -0600
+++ configure	2011-02-09 15:34:24.000000000 -0600
@@ -9,17 +9,17 @@
 prefix="/usr/local"
 manprefix='$(PREFIX)'
 #compiler flags
-CC="g++"
-common_cflags="-Wall"
+CC="@CXX@"
+common_cflags="-Wall @CFLAGS@"
 devel_cflags="-g -Werror -fno-builtin"
-optimization_cflags="-O3"
+optimization_cflags="@OPTFLAGS@"
 release_cflags=$optimization_cflags
 OFLAGS="-ansi"
 cflags=$common_cflags
 
 #linker flags
 
-lflags=""
+lflags="@LDFLAGS@"
 
 #state vars
 debug="no"
