Re: [Spice-devel] [PATCH spice-gtk v2] Unify openssl checks

2019-04-27 Thread Frediano Ziglio
> Currently, spice-gtk uses PKG_CHECK_MODULES(SSL, openssl) to detect > openssl CFLAGS and LIBS. And spice-common defines and uses > SPICE_CHECK_OPENSSL macro which calls > PKG_CHECK_MODULES(OPENSSL, openssl). > > This means that in order to override openssl CFLAGS or LIBS a user will > have to se

[Spice-devel] [PATCH spice-gtk v2] Unify openssl checks

2019-04-27 Thread Roman Bogorodskiy
Currently, spice-gtk uses PKG_CHECK_MODULES(SSL, openssl) to detect openssl CFLAGS and LIBS. And spice-common defines and uses SPICE_CHECK_OPENSSL macro which calls PKG_CHECK_MODULES(OPENSSL, openssl). This means that in order to override openssl CFLAGS or LIBS a user will have to set both OPENSSL