--- configure.orig	2008-09-14 14:51:22.000000000 +0400
+++ configure	2009-02-05 17:39:12.000000000 +0300
@@ -9269,7 +9269,7 @@
 
 
 CFLAGS="$CFLAGS -Wall"
-CPPFLAGS="$CPPFLAGS -I\$(top_srcdir) -I\$(top_srcdir)/include"
+CPPFLAGS="-I\$(top_srcdir) -I\$(top_srcdir)/include $CPPFLAGS"
 
 
 # check for lex/flex
