aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d>2014-04-21 14:25:52 +0000
committereschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d>2014-04-21 14:25:52 +0000
commit2e164aa09bcfdf00cc31150f31033104531133f1 (patch)
treee971c944351d739ce4a274e389e880f09cdac4cb
parentbac4fcc52af6bcea99375c649cff350ea0241d93 (diff)
Correctly detect IBM Fortran compilers
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/BLAS/trunk@45 53307013-940b-43fa-b11d-2c2b05dfe90d
-rw-r--r--configure.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh
index 016da5f..cd717d8 100644
--- a/configure.sh
+++ b/configure.sh
@@ -136,7 +136,10 @@ then
cd ${TARNAME}/BLAS/SRC
echo "BLAS: Building..."
- if echo ${F77} | grep -i xlf > /dev/null 2>&1; then
+ #if echo ${F77} | grep -i xlf > /dev/null 2>&1; then
+ # FIXEDF77FLAGS=-qfixed
+ #fi
+ if ${F77} -qversion 2>/dev/null | grep -q 'IBM XL Fortran'; then
FIXEDF77FLAGS=-qfixed
fi
#${F77} ${F77FLAGS} ${FIXEDF77FLAGS} -c *.f