AC_CONFIG_SRCDIR([git.c])
config_file=config.mak.autogen
+config_append=config.mak.append
config_in=config.mak.in
+echo "# ${config_append}. Generated by configure." > "${config_append}"
+
+
+## Definitions of macros
+# GIT_CONF_APPEND_LINE(LINE)
+# --------------------------
+# Append LINE to file ${config_append}
+AC_DEFUN([GIT_CONF_APPEND_LINE],
+[echo "$1" >> "${config_append}"])# GIT_CONF_APPEND_LINE
+
## Checks for programs.
# Define NO_PYTHON if you want to loose all benefits of the recursive merge.
# Define USE_STDEV below if you want git to care about the underlying device
# change being considered an inode change from the update-cache perspective.
+
## Output files
-AC_CONFIG_FILES(["${config_file}":"${config_in}"])
+AC_CONFIG_FILES(["${config_file}":"${config_in}":"${config_append}"])
AC_OUTPUT
+
+## Cleanup
+rm -f "${config_append}"