Kamil Dudka <[EMAIL PROTECTED]> writes: > Yes, if you specify DIR manually, pkg-config is not used. I think the same > approach as here: > https://fedoraproject.org/wiki/Nss_compat_ossl#Sample_Application
I see. It's just that I had NSS in /usr from Debian but built and installed nss_compat_ossl in a home directory. When I pointed --with-nss_compat_ossl=DIR to that directory, the configure script did not use pkg-config nss but rather assumed NSS is where Fedora puts it. Because Debian uses different directories, the preprocessor then didn't find nss.h, and the build failed. If I want to use nss_compat_ossl, I can point CFLAGS and LDFLAGS to it before I run configure --with-nss_compat_ossl, so the behaviour of the option is not a real problem, but anyway it was surprising. The GNU Coding Standards actually say: | Do not use a ‘--with’ option to specify the file name to use to | find certain files. That is outside the scope of what ‘--with’ | options are for. Of course, ELinks not being a GNU program, it is not bound by those standards.
pgpEgcVxVLu3J.pgp
Description: PGP signature
_______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
