diff --git a/ChangeLog b/ChangeLog
index 70f44db4..54642619 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-22  Rene Liebscher <R.Liebscher@gmx.de>
+
+	* configure.ac: Add writing of definition of confsubst to config.status, 
+	so it can run alone, not only called by configure.
+
 2011-12-17  Rene Liebscher <R.Liebscher@gmx.de>
 
 	patch #7680: Fixing timeout problem in ser_recv in ser_win32.c
diff --git a/configure.ac b/configure.ac
index b3b8e66d..e686b7aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -285,7 +285,6 @@ if test "$enabled_parport" = "yes"; then
 else
 	confsubst="-e /^@HAVE_PARPORT_BEGIN@/,/^@HAVE_PARPORT_END@/d"
 fi
-export confsubst
 
 # If we are compiling with gcc, enable all warning and make warnings errors.
 if test "$GCC" = yes; then
@@ -380,6 +379,7 @@ AC_CONFIG_FILES([
 # avrdude.conf file.
 
 AC_CONFIG_FILES([avrdude.conf.tmp:avrdude.conf.in],
-		[sed $confsubst avrdude.conf.tmp > avrdude.conf])
+		[sed $confsubst avrdude.conf.tmp > avrdude.conf],
+		[confsubst="$confsubst"])
 
 AC_OUTPUT