File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -94,15 +94,6 @@ if( -e "$hdf5_include_path/H5config.h"){
94
94
}
95
95
}
96
96
97
- # The following code was originally in the PDL::netCDF Makefile.PL
98
- # (Not sure if it is really needed here)
99
- # Check if compiled under gcc/Linux. In which case, define bool for the compiler
100
- my $define_bool = ' ' ;
101
- if ($Config {' osname' } =~ / linux/ ) {
102
- $define_bool = ' -Dbool=int' ;
103
- print " Defining bool=int (linux seems to need this)\n " ;
104
- }
105
-
106
97
# If in win32, add the required defined for the HDF5 libs to work:
107
98
my $define_win32HDF = ' ' ;
108
99
if ($Config {' osname' } =~ / win32/i ) {
@@ -176,7 +167,7 @@ my $preop = '$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -MPDL::Core::Dev -e pdlpp_m
176
167
177
168
WriteMakefile(
178
169
' NAME' => ' PDL::IO::HDF5' ,
179
- ' CCFLAGS' => " $Config {ccflags} $define_bool $ define_win32HDF -DH5_USE_16_API -g" ,
170
+ ' CCFLAGS' => " $Config {ccflags} $define_win32HDF -DH5_USE_16_API -g" ,
180
171
' CONFIGURE_REQUIRES' => { PDL => ' 2.004' },
181
172
' BUILD_REQUIRES' => { PDL => ' 2.004' },
182
173
# 'TEST_REQUIRES' => { PDL => '2.004' },
You can’t perform that action at this time.
0 commit comments