Fix configure in case PSBLAS_DIR has not been specified.

configry
Salvatore Filippone 4 years ago
parent 6f0f5feb34
commit b53e0dd8b5

6
configure vendored

@ -2655,10 +2655,12 @@ if test "X$PSBLAS_DIR" != "X" ; then
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PSBLAS_DIR" >&5
$as_echo "$PSBLAS_DIR" >&6; }
fi
if test "X$PSBLAS_INCDIR" != "X" ; then
pac_cv_status_file="$PSBLAS_INCDIR/Make.inc.psblas"
if test ! -f "$pac_cv_status_file" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find an installation in $PSBLAS_DIR." >&5
$as_echo "$as_me: Could not find an installation in $PSBLAS_DIR." >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find the status file in $PSBLAS_INCDIR." >&5
$as_echo "$as_me: Could not find the status file in $PSBLAS_INCDIR." >&6;}
pac_cv_status_file="NONE";
fi
else

@ -77,9 +77,11 @@ if test "X$PSBLAS_DIR" != "X" ; then
AC_MSG_ERROR([Could not find PSBLAS build dir $PSBLAS_DIR!])
fi
AC_MSG_RESULT([$PSBLAS_DIR])
fi
if test "X$PSBLAS_INCDIR" != "X" ; then
pac_cv_status_file="$PSBLAS_INCDIR/Make.inc.psblas"
if test ! -f "$pac_cv_status_file" ; then
AC_MSG_NOTICE([Could not find an installation in $PSBLAS_DIR.])
AC_MSG_NOTICE([Could not find the status file in $PSBLAS_INCDIR.])
pac_cv_status_file="NONE";
fi
else

Loading…
Cancel
Save