… | |
… | |
11 | warn "your platform is not standards-compliant, you have to port this module first\n"; |
11 | warn "your platform is not standards-compliant, you have to port this module first\n"; |
12 | warn "using some hardcoded config that will not work on your system\n"; |
12 | warn "using some hardcoded config that will not work on your system\n"; |
13 | |
13 | |
14 | $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"; |
14 | $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"; |
15 | $LIBS = ["-L/gtk/lib -lpthreadVC2"]; |
15 | $LIBS = ["-L/gtk/lib -lpthreadVC2"]; |
|
|
16 | |
|
|
17 | open my $fh, ">libeio/config.h" |
|
|
18 | or die "libeio/config.h: $!"; |
|
|
19 | print $fh <<EOF; |
|
|
20 | EOF |
16 | |
21 | |
17 | } else { |
22 | } else { |
18 | |
23 | |
19 | $INC = ""; |
24 | $INC = ""; |
20 | $LIBS = ['-lpthread', '-lpthreads', '-lpthreadVC2', '']; |
25 | $LIBS = ['-lpthread', '-lpthreads', '-lpthreadVC2', '']; |