configuring p11-kit with '--without-libtasn1' flag. At the end it shows: .... With libtasn1 dependency: no .... Then building fails: /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../common -g -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -fno-strict-aliasing -Wmissing-include-dirs -Wundef -MT p11_kit_trust_la-adapter.lo -MD -MP -MF .deps/p11_kit_trust_la-adapter.Tpo -c -o p11_kit_trust_la-adapter.lo `test -f 'adapter.c' || echo './'`adapter.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../common -g -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -fno-strict-aliasing -Wmissing-include-dirs -Wundef -MT p11_kit_trust_la-adapter.lo -MD -MP -MF .deps/p11_kit_trust_la-adapter.Tpo -c adapter.c -fPIC -DPIC -o .libs/p11_kit_trust_la-adapter.o In file included from adapter.c:48: ../common/x509.h:35:10: fatal error: 'libtasn1.h' file not found #include <libtasn1.h> ^ 1 error generated. *** [p11_kit_trust_la-adapter.lo] Error code 1 Stop in /usr/home/novel/code/p11-kit/trust.
Created attachment 75840 [details] [review] fix missing bracket in trust module check Appears that there's a missing bracket that causes configure not to disable trust module build even if --without-libtasn1 was specified.
Thanks. Pushed to git master.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.