use ExtUtils::MakeMaker; die 'OS unsupported' if ($^O eq 'MSWin32'); # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( 'NAME' => 'Unix::Syslog', 'VERSION_FROM' => 'Syslog.pm', # finds $VERSION 'LIBS' => ['-lc'], # e.g., '-lm' 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' # 'DEFINE' => '-DSYSLOG_NAMES', 'INC' => '', # e.g., '-I/usr/include/other' );