From eea4e5155ed3102ee21c57958a29603ed0f5166f Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 26 Aug 2009 11:44:28 +0300 Subject: Import passwords from the ephy/gecko profile on first run. This feature requires NSS, so NSS is added as an optional dependency, enabled by default. Can be disabled with --disable-nss, but then passwords won't be imported. --- configure.ac | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b06ecb7ba..b7171c4d9 100644 --- a/configure.ac +++ b/configure.ac @@ -277,6 +277,26 @@ AM_CONDITIONAL([ENABLE_SEED],[test "$enable_seed" = "yes"]) AC_SUBST([EPIPHANY_FEATURES]) +# *** +# NSS +# *** + +AC_MSG_CHECKING([whether NSS support is requested]) +AC_ARG_ENABLE([nss], + [AS_HELP_STRING([--enable-nss], [Enable NSS support (default: enabled)])], + [], [enable_nss=yes]) +AC_MSG_RESULT([$enable_nss]) + +if test "$enable_nss" = "yes"; then + EPIPHANY_FEATURES="$EPIPHANY_FEATURES nss" + PKG_CHECK_MODULES([NSS], [nss]) + + AC_DEFINE([ENABLE_NSS], [1], [Define to compile with NSS support]) +fi + +AM_CONDITIONAL([ENABLE_NSS],[test "$enable_nss" = "yes"]) +AC_SUBST([EPIPHANY_FEATURES]) + # ******************* # Additional features # ******************* @@ -482,5 +502,6 @@ Epiphany was configured with the following options: NetworkManager support : $enable_network_manager GObject introspection : $enable_introspection Seed support : $enable_seed + NSS support : $enable_nss Build tests : $enable_tests " -- cgit v1.2.3