summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index df82d75213..7b07d4b0a1 100644
--- a/configure.in
+++ b/configure.in
@@ -1170,5 +1170,8 @@ RELEASE=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
 AC_SUBST(VERSION)
 AC_SUBST(RELEASE)
 
-AC_OUTPUT(config.make glibcbug ${config_makefile} ${config_uname}, ,
-          [echo '$config_vars' >> config.make; test -d bits || mkdir bits])
+AC_OUTPUT(config.make glibcbug ${config_makefile} ${config_uname}, [
+case $CONFIG_FILES in *config.make*)
+echo "$config_vars" >> config.make;;
+esac
+test -d bits || mkdir bits], [config_vars='$config_vars'])