diff --git a/configure b/configure index 87a38015..cedf2c1e 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 216b3915..8cd0797b 100755 --- a/configure.ac +++ b/configure.ac @@ -77,14 +77,16 @@ 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 pac_cv_status_file="NONE"; -fi +fi dnl. $pac_cv_status_file AC_MSG_NOTICE([Loaded $pac_cv_status_file $FC $MPIFC $BLACS_LIBS])