… | |
… | |
14 | if (prompt ("Skip further questions and use defaults (y/n)?", "y") =~ /[yY]/) { |
14 | if (prompt ("Skip further questions and use defaults (y/n)?", "y") =~ /[yY]/) { |
15 | $ENV{PERL_MM_USE_DEFAULT} = 1; |
15 | $ENV{PERL_MM_USE_DEFAULT} = 1; |
16 | } |
16 | } |
17 | } |
17 | } |
18 | |
18 | |
|
|
19 | if(0){ |
19 | print <<EOF; |
20 | print <<EOF; |
20 | |
21 | |
21 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
22 | *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** |
22 | |
23 | |
23 | |
24 | |
… | |
… | |
25 | try to take advantage of and offer support for OpenGL? |
26 | try to take advantage of and offer support for OpenGL? |
26 | |
27 | |
27 | EOF |
28 | EOF |
28 | |
29 | |
29 | my $DEFINE .= " -DHAVE_OPENGL=" . (0 + (prompt ("Enable optional support for OpenGL (y/n)?", "y") =~ /[yY]/)); |
30 | my $DEFINE .= " -DHAVE_OPENGL=" . (0 + (prompt ("Enable optional support for OpenGL (y/n)?", "y") =~ /[yY]/)); |
|
|
31 | } |
30 | |
32 | |
31 | WriteMakefile( |
33 | WriteMakefile( |
32 | dist => { |
34 | dist => { |
33 | PREOP => 'pod2text OpenCL.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
35 | PREOP => 'pod2text OpenCL.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
34 | COMPRESS => 'gzip -9v', |
36 | COMPRESS => 'gzip -9v', |