~ubuntu-branches/ubuntu/trusty/pdl/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/perldl.conf

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-12-05 12:37:41 UTC
  • mfrom: (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091205123741-ilqkc9s4zlk71z13
Tags: 1:2.4.5+dfsg-2ubuntu1
* Merge from debian testing (LP: #492898), remaining changes:
  - debian/perldl.conf: Enabled NAN support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#    $TEMP, $TMP, or "/tmp" [a TEMP directory for MSWin users]
30
30
#
31
31
 
32
 
        TEMPDIR => undef,
 
32
        TEMPDIR => undef,
33
33
 
34
34
# Decides if the output of attempts to link various function
35
35
# during 'perl Makefile.PL' will be hidden when building PDL
36
36
# should only be set to 0 for debugging purposes
37
37
# see also L<trylink|PDL::Core::Dev/trylink>
38
38
 
39
 
        HIDE_TRYLINK => 1,
 
39
        HIDE_TRYLINK => 1,
40
40
 
41
41
# you can set machine specific optimizations here
42
42
# the settings will be passed to the toplevel Makefile.PL
43
43
# which *should* pass it to any recursively invoked ones
44
44
 
45
 
        OPTIMIZE => undef, # '-g',
 
45
        OPTIMIZE => undef, # '-g',
46
46
 
47
47
# Use posix threading to make use of multiprocessor machines
48
48
# undef -> try if possible
49
49
# 0 -> don't use
50
50
# true -> force use
51
51
 
52
 
        WITH_POSIX_THREADS => undef,    
 
52
        WITH_POSIX_THREADS => undef,    
53
53
 
54
 
        MALLOCDBG => undef,
 
54
        MALLOCDBG => undef,
55
55
# {
56
 
#                       include => '-I/home/csoelle/tmp',
57
 
#                       libs => '-L/home/csoelle/tmp -lmymalloc',
58
 
#                       define => << 'EOD',
 
56
#                       include => '-I/home/csoelle/tmp',
 
57
#                       libs => '-L/home/csoelle/tmp -lmymalloc',
 
58
#                       define => << 'EOD',
59
59
##define malloc(n) dbgmalloc(n,__FILE__,__LINE__)
60
60
##define free(p) dbgfree(p)
61
61
#EOD
62
 
#                       include => '',
63
 
#                       libs => '-lefence',
64
 
#                       define => '',
 
62
#                       include => '',
 
63
#                       libs => '-lefence',
 
64
#                       define => '',
65
65
#                     },
66
66
 
67
67
# Do we want routines to handle bad values?
69
69
# true  -> yes
70
70
# false -> no, undef -> no
71
71
#
72
 
#       WITH_BADVAL => 0,
73
 
        WITH_BADVAL => 1,
 
72
#       WITH_BADVAL => 0,
 
73
        WITH_BADVAL => 1,
74
74
 
75
75
# if WITH_BADVAL == 1, do we use NaN/Inf to represent badvalues
76
76
# (not convinced setting this results in faster code)
77
77
#
78
 
#       BADVAL_USENAN => 0,
79
 
        BADVAL_USENAN => 1,
 
78
#       BADVAL_USENAN => 0,
 
79
        BADVAL_USENAN => 1,
80
80
 
81
81
# the original BADVAL implementation assigned bad-values on pdl-types,
82
82
# not per pdl, setting the following to one will make it a pdl-variable
83
83
# THIS IS AN EXPERIMENTAL FEATURE -- BEWARE...
84
84
 
85
 
        BADVAL_PER_PDL => 0,
86
 
#       BADVAL_PER_PDL => 1,
 
85
        BADVAL_PER_PDL => 0,
 
86
#       BADVAL_PER_PDL => 1,
87
87
 
88
88
 
89
89
# Try to build Graphics/TriD
91
91
# There are problems with the build on OS-X, so we turn it off by default
92
92
# for such systems
93
93
#
94
 
        WITH_3D => 0,
95
 
 
96
 
#
97
 
#  For Mesa 3.2
98
 
#
99
 
#       OPENGL_LIBS => '-L/usr/local/Mesa/lib -lGL -lGLU -lXext -lX11',
100
 
#  Mesa need -DGL_GLEXT_LEGACY for glPolygonOffsetEXT amoung others
101
 
#
102
 
#       OPENGL_DEFINE => '-DGL_GLEXT_LEGACY',
103
 
#       OPENGL_INC => '-I/usr/include/GL/',
 
94
        WITH_3D => 1,
 
95
 
 
96
 
97
# Build Graphics/TriD using Perl OpenGL (experimental)
 
98
#
 
99
        USE_POGL => 1,
 
100
#       USE_POGL => 0,
 
101
#
 
102
        POGL_VERSION => 0.60,           # minimum compatible OpenGL version
 
103
 
 
104
#       POGL_WINDOW_TYPE => 'x11',      # use X11+GLX for windows
 
105
        POGL_WINDOW_TYPE => 'glut',     # use GLUT for windows
 
106
 
 
107
#
 
108
# For Mesa 3.2
 
109
#
 
110
#       OPENGL_LIBS => '-L/usr/local/Mesa/lib -lGL -lGLU -lXext -lX11',
 
111
#
 
112
# Mesa needs -DGL_GLEXT_LEGACY for glPolygonOffsetEXT among others
 
113
#
 
114
#       OPENGL_DEFINE => '-DGL_GLEXT_LEGACY',
 
115
#       OPENGL_INC => '-I/usr/include/GL/',
104
116
#
105
117
106
118
# For SGI GL
107
119
#
108
 
#       OPENGL_LIBS => '-lGL -lGLU -lXext -lX11',
109
 
#       OPENGL_INC => '',
110
 
#       OPENGL_DEFINE => '',
 
120
#       OPENGL_LIBS => '-lGL -lGLU -lXext -lX11',
 
121
#       OPENGL_INC => '',
 
122
#       OPENGL_DEFINE => '',
111
123
#
112
124
# Let perl try to figure it out
113
 
#       OPENGL_LIBS => undef,
114
 
#       OPENGL_INC => undef,
115
 
#       OPENGL_DEFINE => undef,
 
125
#       OPENGL_LIBS => undef,
 
126
#       OPENGL_INC => undef,
 
127
#       OPENGL_DEFINE => undef,
116
128
 
117
129
# Whether or not to build the Karma interface module
118
130
 
133
145
#    WHERE_PLPLOT_LIBS    => '/usr/local/plplot/lib',     # PLplot lib dir
134
146
#    WHERE_PLPLOT_INCLUDE => '/usr/local/plplot/include', # PLplot include dir
135
147
 
136
 
        
 
148
        
137
149
# Whether or not to build the PDL::Slatec module
138
150
# 0 -> don't use
139
151
# true -> force use
140
152
 
141
153
        WITH_SLATEC => undef,    # Leave it up to PDL to decide
142
154
        
 
155
# Whether or not to build the PDL::Minuit module
 
156
# 0 -> don't use
 
157
 
 
158
       WITH_MINUIT => undef,     # Leave it up to PDL to decide
 
159
 
 
160
# If MINUIT_LIB is undef a standalone version of Minuit will be compiled 
 
161
# and PDL::Minuit will link to this library (fortran code can be found 
 
162
# at Lib/Minuit/minuitlib)
 
163
# If you want to try to link directly to the Minuit present 
 
164
# in the CERN library libpacklib.a, include the full path to the library
 
165
# here, e.g.,  MINUIT_LIB => '/usr/local/lib/libpacklib.a',
 
166
 
 
167
       MINUIT_LIB => undef, 
 
168
 
143
169
# Whether or not to build the PDL::GSL module
144
170
# 0 -> don't use
145
171
# true -> force use
147
173
        WITH_GSL => undef,    # Leave it up to PDL to decide
148
174
        
149
175
# link flags for the GSL libs, e.g. '-L/usr/local/lib -lgsl -lm'
150
 
        GSL_LIBS => undef, # use gsl-config
 
176
        GSL_LIBS => undef, # use gsl-config
151
177
# Location to find GSL includes:
152
 
        GSL_INC => undef, # use gsl-config
 
178
        GSL_INC => undef, # use gsl-config
153
179
 
154
180
# Whether or not to build the PDL::FFTW module
155
181
# 0 -> don't use
158
184
        WITH_FFTW => undef,    # Leave it up to PDL to decide
159
185
        
160
186
# Location to search for the FFTW libs
161
 
        FFTW_LIBS => [ '/lib','/usr/lib','/usr/local/lib'],
 
187
        FFTW_LIBS => [ '/lib','/usr/lib','/usr/local/lib'],
162
188
# Location to find FFTW includes:
163
 
        FFTW_INC => ['/usr/include/','/usr/local/include'],
 
189
        FFTW_INC => ['/usr/include/','/usr/local/include'],
164
190
 
165
191
# FFTW Numeric Precision Type to link in: (double or single precision)
166
 
        FFTW_TYPE => 'double',
 
192
        FFTW_TYPE => 'double',
167
193
 
168
194
# Whether or not to build the PDL::IO::HDF module
169
195
# 0 -> don't use
182
208
# Whether or not to build the PDL::GIS::Proj module
183
209
# 0 -> don't use
184
210
# true -> force use
185
 
        WITH_PROJ => $^O eq "cygwin" ? 0 : undef,
 
211
        WITH_PROJ => undef,
186
212
        PROJ_LIBS => undef,
187
213
        PROJ_INC => undef,
188
214
        
192
218
#  - 1 builds, 0 or undef does not build
193
219
#
194
220
        WITH_IO_BROWSER => 0,
 
221
 
 
222
# Quiet Astro::FITS::Header warnings for PDL build process by default
 
223
# Eventually would be better to set undef by default, and have the
 
224
# Makefile.PL change the value after it has been found missing once.
 
225
# TBD after PDL 2.4.3 release...
 
226
#
 
227
        FITS_LEGACY => 1,
195
228
);
196
229
 
197
230
1; # Return OK status on 'require'