summaryrefslogtreecommitdiff
path: root/configure.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2009-06-05 18:53:07 +0000
committerAlberto Ruiz <aruiz@um.es>2009-06-05 18:53:07 +0000
commit49a3d719221cd9484a64688ffcdbeb13cb8e55a0 (patch)
treefbe5161936acb1f49d1337c2da1f7f93139c089a /configure.hs
parentbbc54bf2573ea3631ee436507807dae6c4353bcc (diff)
check dim in root function
Diffstat (limited to 'configure.hs')
-rw-r--r--configure.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.hs b/configure.hs
index 2764dbc..7aa296e 100644
--- a/configure.hs
+++ b/configure.hs
@@ -36,7 +36,7 @@ opts = [ "" -- Ubuntu/Debian
36 ] 36 ]
37 37
38-- compile a simple program with symbols from GSL and LAPACK with the given libs 38-- compile a simple program with symbols from GSL and LAPACK with the given libs
39testprog libs fmks = "echo \"#include <gsl/gsl_math.h>\nint main(){zgesvd_(); gsl_sf_gamma();}\"" 39testprog libs fmks = "echo \"#include <gsl/gsl_sf_gamma.h>\nint main(){zgesvd_(); gsl_sf_gamma(5);}\""
40 ++" > /tmp/dummy.c; gcc /tmp/dummy.c -o /tmp/dummy " 40 ++" > /tmp/dummy.c; gcc /tmp/dummy.c -o /tmp/dummy "
41 ++ f1 libs ++ " " ++ f2 fmks ++ " > /dev/null 2> /dev/null" 41 ++ f1 libs ++ " " ++ f2 fmks ++ " > /dev/null 2> /dev/null"
42 42
@@ -46,7 +46,7 @@ f2 = unwords . map ("-framework "++) . words
46check libs fmks = (ExitSuccess ==) `fmap` system (testprog libs fmks) 46check libs fmks = (ExitSuccess ==) `fmap` system (testprog libs fmks)
47 47
48-- simple test for GSL 48-- simple test for GSL
49testGSL = "echo \"#include <gsl/gsl_math.h>\nint main(){gsl_sf_gamma();}\"" 49testGSL = "echo \"#include <gsl/gsl_sf_gamma.h>\nint main(){gsl_sf_gamma(5);}\""
50 ++" > /tmp/dummy.c; gcc /tmp/dummy.c -o /tmp/dummy -lgsl -lgslcblas" 50 ++" > /tmp/dummy.c; gcc /tmp/dummy.c -o /tmp/dummy -lgsl -lgslcblas"
51 ++ " > /dev/null 2> /dev/null" 51 ++ " > /dev/null 2> /dev/null"
52 52