Mercurial > octave
diff m4/acinclude.m4 @ 26923:c81b471cdb28
build: avoid test syntax error in sundials configuration (bug #55926)
* acinclude.m4 (OCTAVE_CHECK_SUNDIALS_SUNLINSOL_KLU): Quote use of
$octave_cv_sundials_sunlinsol_klu in test command and swap order, as
it may not have been set.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Fri, 15 Mar 2019 10:37:21 -0700 |
parents | 075c4d3bf1de |
children | cfa2a65c9fdc |
line wrap: on
line diff
--- a/m4/acinclude.m4 Fri Mar 15 07:16:27 2019 +0000 +++ b/m4/acinclude.m4 Fri Mar 15 10:37:21 2019 -0700 @@ -2269,8 +2269,8 @@ octave_cv_sundials_sunlinsol_klu=yes, octave_cv_sundials_sunlinsol_klu=no) ])]) - if test $octave_cv_sundials_sunlinsol_klu = yes \ - && test "x$ac_cv_header_sunlinsol_sunlinsol_klu_h" = xyes; then + if test "x$ac_cv_header_sunlinsol_sunlinsol_klu_h" = xyes \ + && test "x$octave_cv_sundials_sunlinsol_klu" = xyes; then AC_DEFINE(HAVE_SUNDIALS_SUNLINSOL_KLU, 1, [Define to 1 if SUNDIALS IDA is configured with SUNLINSOL_KLU enabled.]) else