aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb>2014-04-21 14:26:04 +0000
committereschnett <eschnett@c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb>2014-04-21 14:26:04 +0000
commite70088422512b538996ba436165d8b9ba1b0e046 (patch)
tree0a8ec8901f9fb9ff75b50fdc70cbd1d6dc534ebc
parentcd65e9ffd8d474dcf6753055854ef727618cb5d5 (diff)
Correctly detect IBM Fortran compilers
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LAPACK/trunk@47 c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb
-rw-r--r--configure.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh
index 09090dd..65d30c5 100644
--- a/configure.sh
+++ b/configure.sh
@@ -135,7 +135,10 @@ then
cd ${NAME}/SRC
echo "LAPACK: 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 ../INSTALL/dlamch.f ../INSTALL/ilaver.f ../INSTALL/lsame.f ../INSTALL/slamch.f