Diff of /Trans/Makefile.PL [be2ca0] .. [591b21]  Maximize  Restore

Switch to side-by-side view

--- a/Trans/Makefile.PL
+++ b/Trans/Makefile.PL
@@ -5,23 +5,18 @@
 use ExtUtils::MakeMaker;
 
 use PDL::Core::Dev;
-use Config;
 @pack = (["trans.pd",Trans,PDL::LinearAlgebra::Trans]);
 
 %hash = pdlpp_stdargs(@::pack);
+#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml -lgfortran ';
+$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latlas ';
 # $hash{'OPTIMIZE'}  = '-O2 -mtune=k8'; # If you want to debug, uncomment this.
 
-$hash{LIBS}[0] .= ( eval {require PkgConfig; join ' ', PkgConfig->find('lapack')->get_ldflags} ||
-                    eval {require ExtUtils::PkgConfig; ExtUtils::PkgConfig->libs('lapack')} ||
-                    `pkg-config lapack blas --libs` ||
-                    '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lgfortran -lquadmath";
-
-$hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib  ../lapack/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/ && $Config{cc} eq 'cl';
+$hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib  ../lapack/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/;
 
 WriteMakefile(
 	%hash,
-	'VERSION_FROM' => 'trans.pd',
-        'clean' => { FILES => '*~' },
+	VERSION => 0.04,
 );
 
 # Add genpp rule

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks