Diff of /Makefile.PL [100d17] .. [cd7899]  Maximize  Restore

Switch to side-by-side view

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,6 +2,7 @@
 # Makefile.PL for a package defined by PP code.
 
 use ExtUtils::MakeMaker;
+use Config;
 
 PDL::Core::Dev->import();
 
@@ -33,8 +34,8 @@
 
 	# Look for FFTW includes/libs
 	# default locations:
-	@FFTW_inc_locations = ('/usr/local/include'); 
-	@FFTW_lib_locations = ('/lib','/usr/lib','/usr/local/lib');
+	@FFTW_inc_locations = ('/usr/local/include', $Config{usrinc}); 
+	@FFTW_lib_locations = ('/lib','/usr/lib','/usr/local/lib',split(/ /, $Config{libpth}));
 
 	# get locations from perldl.conf, if specified there:
 	@FFTW_inc_locations = @{$PDL::Config{FFTW_INC}} if( defined $PDL::Config{FFTW_INC} );

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks