Modified configure.in to fix issue with multiple use/meaning of 'prefix' variable
This commit is contained in:
parent
e26ca6fd3b
commit
778612ae51
@ -546,8 +546,8 @@ AS_HELP_STRING([--with-blas-lib=LIBS],
|
||||
[LIBS is space-separated linkable list (enclosed in quotes) of libraries
|
||||
needed for BLAS. OK to use -L and -l flags in the list]),
|
||||
[for blas_lib in $withval; do
|
||||
[prefix=${blas_lib:0:2}]
|
||||
if test $prefix = "-L"
|
||||
[libprefix=${blas_lib:0:2}]
|
||||
if test $libprefix = "-L"
|
||||
then
|
||||
BLASLIBDIRS="$blas_lib $BLASLIBDIRS"
|
||||
else
|
||||
@ -588,8 +588,8 @@ AS_HELP_STRING([--with-lapack-lib=LIBS],
|
||||
[LIBS is space-separated linkable list (enclosed in quotes) of libraries
|
||||
needed for LAPACK. OK to use -L and -l flags in the list]),
|
||||
[for lapack_lib in $withval; do
|
||||
[prefix=${lapack_lib:0:2}]
|
||||
if test $prefix = "-L"
|
||||
[libprefix=${lapack_lib:0:2}]
|
||||
if test $libprefix = "-L"
|
||||
then
|
||||
LAPACKLIBDIRS="$lapack_lib $LAPACKLIBDIRS"
|
||||
else
|
||||
|
||||
8
src/configure
vendored
8
src/configure
vendored
@ -2901,8 +2901,8 @@ fi
|
||||
# Check whether --with-blas-lib was given.
|
||||
if test "${with_blas_lib+set}" = set; then :
|
||||
withval=$with_blas_lib; for blas_lib in $withval; do
|
||||
prefix=${blas_lib:0:2}
|
||||
if test $prefix = "-L"
|
||||
libprefix=${blas_lib:0:2}
|
||||
if test $libprefix = "-L"
|
||||
then
|
||||
BLASLIBDIRS="$blas_lib $BLASLIBDIRS"
|
||||
else
|
||||
@ -2942,8 +2942,8 @@ fi
|
||||
# Check whether --with-lapack-lib was given.
|
||||
if test "${with_lapack_lib+set}" = set; then :
|
||||
withval=$with_lapack_lib; for lapack_lib in $withval; do
|
||||
prefix=${lapack_lib:0:2}
|
||||
if test $prefix = "-L"
|
||||
libprefix=${lapack_lib:0:2}
|
||||
if test $libprefix = "-L"
|
||||
then
|
||||
LAPACKLIBDIRS="$lapack_lib $LAPACKLIBDIRS"
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user