167 |
my ($domain, $file, $macro) = /^(AC|AU):(.*):([^:]*)$/ or next; |
my ($domain, $file, $macro) = /^(AC|AU):(.*):([^:]*)$/ or next; |
168 |
# ../lib/m4sugar/m4sugar.m4 -> m4sugar |
# ../lib/m4sugar/m4sugar.m4 -> m4sugar |
169 |
# ../lib/autoconf/general.m4 -> autoconf |
# ../lib/autoconf/general.m4 -> autoconf |
170 |
# aclocal.m4 -> ignore |
# aclocal.m4 -> aclocal |
|
next |
|
|
if $file eq 'aclocal.m4'; |
|
171 |
my $set = basename (dirname ($file)); |
my $set = basename (dirname ($file)); |
172 |
|
$set = 'aclocal' if $file eq 'aclocal.m4'; |
173 |
die "$me: unknown set: $set: $_\n" |
die "$me: unknown set: $set: $_\n" |
174 |
unless $set =~ /^(m4sugar|autoconf)$/; |
unless $set =~ /^(m4sugar|aclocal|autoconf)$/; |
175 |
if ($domain eq "AC") |
if ($domain eq "AC") |
176 |
{ |
{ |
177 |
$ac_macros{$macro} = $set; |
$ac_macros{$macro} = $set; |