1use 5.008008;
2use ExtUtils::MakeMaker;
3
4exit 0 if $ENV{AUTOMATED_TESTING} and $^O ne 'linux';
5
6exit 0
7    if ($ENV{AUTOMATED_TESTING} and
8	system q{echo -e '#include <sys/types.h>\n#include <unistd.h>\n#include <grp.h>' |
9                 gcc -xc -E - >/dev/null 2>&1});
10
11WriteMakefile(
12    NAME              => 'Unix::Groups',
13    VERSION_FROM      => 'lib/Unix/Groups.pm',
14    PREREQ_PM         => {},
15    ABSTRACT_FROM  => 'lib/Unix/Groups.pm',
16    AUTHOR         => 'Torsten Förtsch <torsten.foertsch@gmx.net>',
17    dist           => {
18		       COMPRESS => 'gzip -9f',
19		       PREOP    => './mk_README.sh',
20 		      },
21    LIBS              => [''],
22    DEFINE            => '',
23    INC               => '-I.',
24);
25