Link Here
|
173 |
# Source what the traces are trying to tell us. |
173 |
# Source what the traces are trying to tell us. |
174 |
verb "$me: running $autoconf to trace from $ARGV[0]"; |
174 |
verb "$me: running $autoconf to trace from $ARGV[0]"; |
175 |
my $quoted_tmp = shell_quote ($tmp); |
175 |
my $quoted_tmp = shell_quote ($tmp); |
|
|
176 |
my $perl_tmp; |
177 |
if ( $tmp =~ /^\// ) { |
178 |
$perl_tmp=$tmp; |
179 |
} else { |
180 |
$perl_tmp="./".$tmp; |
181 |
} |
176 |
xsystem ("$autoconf" |
182 |
xsystem ("$autoconf" |
177 |
# If you change this list, update the |
183 |
# If you change this list, update the |
178 |
# `Autoheader-preselections' section of autom4te.in. |
184 |
# `Autoheader-preselections' section of autom4te.in. |
Link Here
|
182 |
. " " . shell_quote ($ARGV[0]) . " >$quoted_tmp/traces.pl"); |
188 |
. " " . shell_quote ($ARGV[0]) . " >$quoted_tmp/traces.pl"); |
183 |
|
189 |
|
184 |
local (%verbatim, %symbol); |
190 |
local (%verbatim, %symbol); |
185 |
debug "$me: \`do'ing $tmp/traces.pl:\n" . `sed 's/^/| /' $quoted_tmp/traces.pl`; |
191 |
debug "$me: \`do'ing $perl_tmp/traces.pl:\n" . `sed 's/^/| /' $quoted_tmp/traces.pl`; |
186 |
do "$tmp/traces.pl"; |
192 |
do "$perl_tmp/traces.pl"; |
187 |
warn "couldn't parse $tmp/traces.pl: $@" if $@; |
193 |
warn "couldn't parse $perl_tmp/traces.pl: $@" if $@; |
188 |
unless ($config_h) |
194 |
unless ($config_h) |
189 |
{ |
195 |
{ |
190 |
error "error: AC_CONFIG_HEADERS not found in $ARGV[0]"; |
196 |
error "error: AC_CONFIG_HEADERS not found in $ARGV[0]"; |