Discussion:
[Opencryptoki-tech] libica: missing AX_PTHREAD definition
Dan Horák
2017-04-19 08:47:49 UTC
Permalink
Hi,

I got recently into some troubles when building libica. configure.in
calls AX_PTHREAD macro, but it's not defined anywhere in libica source
tree and requires autoconf-archive to be installed during the build. And
it can be problem for distributions, where this package can be missing
(eg. RHEL). I think the correct approach is to copy the ax_pthread.m4
file from the macro archive into acinclude.m4 stored within libica
sources. Or maybe because the pthread functionality is always present
in recent distros simply hard-code the "-pthread" option into CFLAGS.
There is nothing conditionally depending on the configure check in the
code or in the makefiles if I see correctly.


Thanks

Dan

Loading...