167 |
|
|
168 |
# Source what the traces are trying to tell us. |
# Source what the traces are trying to tell us. |
169 |
verbose "$me: running $autoconf to trace from $ARGV[0]"; |
verbose "$me: running $autoconf to trace from $ARGV[0]"; |
170 |
xsystem ("$autoconf " |
xsystem ("$autoconf" |
171 |
# If you change this list, update the |
# If you change this list, update the |
172 |
# `Autoheader-preselections' section of autom4te.in. |
# `Autoheader-preselections' section of autom4te.in. |
173 |
. " --trace AC_CONFIG_HEADERS:'\$\$config_h ||= \"\$1\";'" |
. ' --trace AC_CONFIG_HEADERS:\'$$config_h ||= \'"\'"\'$1\'"\'"\';\'' |
174 |
. " --trace AH_OUTPUT:'\$\$verbatim{\"\$1\"} = \"\\\n\$2\";'" |
. ' --trace AH_OUTPUT:\'$$verbatim{\'"\'"\'$1\'"\'"\'} = \'"\'"\'$2\'"\'"\';\'' |
175 |
. " --trace AC_DEFINE_TRACE_LITERAL:'\$\$symbol{\"\$1\"} = 1;'" |
. ' --trace AC_DEFINE_TRACE_LITERAL:\'$$symbol{\'"\'"\'$1\'"\'"\'} = 1;\'' |
176 |
. " $ARGV[0] >$tmp/traces.pl"); |
. " $ARGV[0] >$tmp/traces.pl"); |
177 |
|
|
178 |
local (%verbatim, %symbol); |
local (%verbatim, %symbol); |
223 |
# Dump the templates from `configure.ac'. |
# Dump the templates from `configure.ac'. |
224 |
foreach (sort keys %verbatim) |
foreach (sort keys %verbatim) |
225 |
{ |
{ |
226 |
print $out "$verbatim{$_}\n"; |
print $out "\n$verbatim{$_}\n"; |
227 |
} |
} |
228 |
|
|
229 |
# Dump bottom portion of `acconfig.h'. |
# Dump bottom portion of `acconfig.h'. |