configure fails unless --enable-developer is specified
Summary
./configure produces an error about finding cmocka
Steps to reproduce
run either
./configure
or
./configure --disable-developer
or
./configure --with-cmocka=<path>
note that this happens regardless of the presence of cmocka.h and friends on the system, and as long as cmocka is installed, ./configure --*enable*-developer
will work.
What is the current bug behavior?
checking for cmocka.h... yes
checking for library containing cmocka_run_group_tests... no
configure: error: cmocka unit testing framework not found in path
What is the expected correct behavior?
when we are not compiling the unit tests, we should not see a check for cmocka at all, and when we specify to use cmocka, it should find all of it's required parts, as happens when enable-developer is specified
Edited by Stephen Morris