--- configure.in +++ configure.in @@ -793,16 +793,16 @@ check_manually="no" fi - if test "x${check_manually}" = "xno" && `$PKG_CONFIG --exists mozilla-nss`; then - PKG_CHECK_MODULES(NSS, mozilla-nss, have_nss="yes") + if test "x${check_manually}" = "xno" && `$PKG_CONFIG --exists nss`; then + PKG_CHECK_MODULES(NSS, nss, have_nss="yes") if test "x${have_nss}" = "xyes"; then msg_ssl="yes (Mozilla NSS)" if test "x$enable_smime" = "xyes"; then AC_DEFINE(ENABLE_SMIME,1,[Define if SMIME should be enabled]) msg_smime="yes (Mozilla NSS)" fi - mozilla_nspr="mozilla-nspr" - mozilla_nss="mozilla-nss" + mozilla_nspr="nspr" + mozilla_nss="nss" AC_DEFINE(HAVE_NSS,1,[Define if you have NSS]) AC_DEFINE(HAVE_SSL,1,[Define if you have a supported SSL library]) MANUAL_NSPR_CFLAGS=""