foreach my $dev (qw(dsp audio dspW sbdsp)) { if (-c "/dev/$dev") { my $key = uc("HAVE_DEV_$dev"); $define{$key} = 1; } } MMutil::check_headers(qw(sys/soundcard.h machine/soundcard.h)); 1;