ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenCL/Makefile.PL
(Generate patch)

Comparing OpenCL/Makefile.PL (file contents):
Revision 1.5 by root, Thu Apr 19 12:55:30 2012 UTC vs.
Revision 1.6 by root, Thu Apr 19 14:34:56 2012 UTC

1use ExtUtils::MakeMaker; 1use ExtUtils::MakeMaker;
2
3if(0){
4print <<EOF;
5
6*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
7
8
9Welcome to OpenCL configuration. If you are in a hurry, just press return here
10and hope for the best. The defaults should usually do.
11
12EOF
13
14if (prompt ("Skip further questions and use defaults (y/n)?", "y") =~ /[yY]/) {
15 $ENV{PERL_MM_USE_DEFAULT} = 1;
16}
17}
18
19if(0){
20print <<EOF;
21
22*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
23
24
25Most OpenCL implementations can interface to OpenGL. Should This module
26try to take advantage of and offer support for OpenGL?
27
28EOF
29
30my $DEFINE .= " -DHAVE_OPENGL=" . (0 + (prompt ("Enable optional support for OpenGL (y/n)?", "y") =~ /[yY]/));
31}
32 2
33WriteMakefile( 3WriteMakefile(
34 dist => { 4 dist => {
35 PREOP => 'pod2text OpenCL.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 5 PREOP => 'pod2text OpenCL.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
36 COMPRESS => 'gzip -9v', 6 COMPRESS => 'gzip -9v',

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines