| Index: build/build_config.h
|
| diff --git a/build/build_config.h b/build/build_config.h
|
| index a3ddc2b3caa0da95a4b79042eeab9035aade5e5f..e2d26cbad97b8024b4f0b7e84e2a4c4eee51677b 100644
|
| --- a/build/build_config.h
|
| +++ b/build/build_config.h
|
| @@ -47,10 +47,16 @@
|
|
|
| #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD) || \
|
| defined(OS_SOLARIS)
|
| -#define USE_NSS 1 // Use NSS for crypto.
|
| +#if !defined(USE_OPENSSL)
|
| +#define USE_NSS 1 // Default to use NSS for crypto, unless OpenSSL is chosen.
|
| +#endif
|
| #define USE_X11 1 // Use X for graphics.
|
| #endif
|
|
|
| +#if defined(USE_OPENSSL) && defined(USE_NSS)
|
| +#error Cannot use both OpenSSL and NSS
|
| +#endif
|
| +
|
| // For access to standard POSIXish features, use OS_POSIX instead of a
|
| // more specific macro.
|
| #if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) || \
|
|
|