Index: configure
--- configure.orig	2009-01-14 00:37:33 +0100
+++ configure	2009-04-15 14:55:29 +0200
@@ -3424,7 +3424,7 @@
 fi
 
 if test "$enable_static" = "yes"; then
-	export LDFLAGS="-static -Wl,--fatal-warnings"
+	LDFLAGS="$LDFLAGS -static -Wl,--fatal-warnings"
 fi
 
 # Check whether --enable-fnmatch was given.
@@ -5109,7 +5109,7 @@
 _ACEOF
 
 else
-	export LIBS="$LIBS -ledit"
+	LIBS="$LIBS -ledit"
 fi
 ac_config_files="$ac_config_files Makefile src/Makefile"
 
