From bb5239471d3628e79dc44fa3345a052f88199eeb Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 21:06:41 -0400 Subject: Use clean macro names in makefiles. --- (limited to 'configure') diff --git a/configure b/configure index 5b9daf7..b9ddeb9 100755 --- a/configure +++ b/configure @@ -309,6 +309,7 @@ write_makefiles() # Make a script to edit input makefiles. _sed_script='' for _var in ${subst_vars}; do + _var="$(printf '%s' "${_var}" | tr -c '[a-z0-9]' '_')" _sed_script="${_sed_script}s&@${_var}@&$(eval echo \$\{"${_var}"\})&g;" done -- cgit v0.9.1