--- configure.orig	2008-01-10 00:59:23.000000000 +0300
+++ configure	2008-01-10 00:59:57.000000000 +0300
@@ -6836,7 +6836,7 @@
 
 
 CFLAGS="$CFLAGS -Wall"
-CPPFLAGS="$CPPFLAGS -I\$(top_srcdir) -I\$(top_srcdir)/include"
+CPPFLAGS="-I\$(top_srcdir) -I\$(top_srcdir)/include $CPPFLAGS"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
