comparison m4/acinclude.m4 @ 29632:162abe58aaef

build: Initialize QHull context structure in configure test (bug #60016). * m4/acinclude.m4 (OCTAVE_CHECK_LIB_QHULL_OK): Initialize QHull context structure in configure test.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 07 May 2021 23:35:15 +0200
parents 93c8df989ea0
children bdb0cfffa2d0
comparison
equal deleted inserted replaced
29631:dddf60b33de6 29632:162abe58aaef
1459 ]], [[ 1459 ]], [[
1460 int dim = 2; 1460 int dim = 2;
1461 int n = 4; 1461 int n = 4;
1462 coordT points[8] = { -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, 0.5 }; 1462 coordT points[8] = { -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, 0.5 };
1463 boolT ismalloc = 0; 1463 boolT ismalloc = 0;
1464 qhT context; 1464 qhT context = { };
1465 qhT* qh = &context; 1465 qhT* qh = &context;
1466 return qh_new_qhull (qh, dim, n, points, ismalloc, "qhull ", 0, stderr); 1466 return qh_new_qhull (qh, dim, n, points, ismalloc, "qhull ", 0, stderr);
1467 ]])], 1467 ]])],
1468 octave_cv_lib_qhull_r_ok=yes, 1468 octave_cv_lib_qhull_r_ok=yes,
1469 octave_cv_lib_qhull_r_ok=no, 1469 octave_cv_lib_qhull_r_ok=no,