use Config; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( 'NAME' => 'CDB_File', 'VERSION_FROM' => 'CDB_File.pm', 'DEFINE' => ($Config{d_mmap} eq define) && '-DHASMMAP', );