octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure error on blas shell variable test


From: Mike Miller
Subject: configure error on blas shell variable test
Date: Sat, 23 Nov 2013 11:17:40 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

Rik,

I get a shell syntax error when running configure on a system without a
BLAS library, instead of a proper error message exit. The error is due
to lines like

  if test $ax_blas_f77_func_ok = no; then

where the variable may not actually have a value. The error looks like

  ../configure: line 32752: test: =: unary operator expected
  ../configure: line 34261: test: =: unary operator expected
  ../configure: line 35815: test: =: unary operator expected

Your changeset ad2c3902b826 got rid of the quotes in that test, which is
fine for most cases but apparently can still fail if the BLAS library
isn't even present.

Which style do you prefer for consistency, restoring the quotes or
setting that variable to "no" before calling AX_BLAS_WITH_F77_FUNC? The
macro doesn't seem to care whether it already has a value.

-- 
mike


reply via email to

[Prev in Thread] Current Thread [Next in Thread]