--- IO-AIO/Makefile.PL 2007/01/23 22:57:34 1.12 +++ IO-AIO/Makefile.PL 2007/07/08 09:09:34 1.13 @@ -8,10 +8,17 @@ # configuration on windows is hardcoded - as always - die "your platform is not standards-compliant, you have to port this module first\n";#d# + warn "your platform is not standards-compliant, you have to port this module first\n"; + warn "using some hardcoded config that will not work on your system\n"; + + $INC = "-I/Perl/lib/CORE -I/sdk/include -I/vc98/include -I/gtk/include -I/gtk/include/pango-1.0 -I/gtk/include/glib-2.0 -I/gtk/lib/glib-2.0/include/ -I/gtk/include/freetype2"; + $LIBS = ["-L/gtk/lib"]; # -lpthreadVC2"]; } else { + $INC = ""; + $LIBS = ['-lpthread -lrt', '-lpthread', '-lpthreads', '-lpthreadVC2', '']; + if ($^O =~ /freebsd/i) { print < "IO::AIO", VERSION_FROM => "AIO.pm", - LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], + INC => $INC, + LIBS => $LIBS, PM => { 'AIO.pm' => '$(INST_LIBDIR)/AIO.pm', },