13 Jun
2018
13 Jun
'18
9:26 a.m.
On Tue, 2018-06-12 at 19:46 -0700, Ranjani Sridharan wrote:
On Tue, 2018-06-12 at 18:22 -0500, Pierre-Louis Bossart wrote:
checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu ./configure: line 3340: syntax error near unexpected token `cmocka,' ./configure: line 3340: ` PKG_CHECK_EXISTS(c mock a,'
Very likely due to the unit tests based on cmocka...
I was missing pkg-config. Installing it fixed the problem.
Ok, we should probably do a check that cmocka is installed (prior to prefix checking) and also a check for pkg-config using AC_CHECK_LIB()
https://www.gnu.org/software/autoconf/manual/autoconf-2.66/html_node/Librari... tml
Janusz, can you add the dependency checks to configure.ac ?
Thanks
Liam