Is there a reason that nss is disabled at the end of the configure.in as
shown here?
# if we're building the LDAP XPCOM component, we need to build
# the c-sdk first.
#
if test "$MOZ_LDAP_XPCOM"; then
# these subdirs may not yet have been created in the build tree.
# don't use the "-p" switch to mkdir, since not all platforms have it
#
if test ! -d "directory"; then
mkdir "directory"
fi
if test ! -d "directory/c-sdk"; then
mkdir "directory/c-sdk"
fi
if test ! -d "directory/c-sdk/ldap"; then
mkdir "directory/c-sdk/ldap"
fi
ac_configure_args="$_SUBDIR_CONFIG_ARGS\
--prefix=$MOZ_BUILD_ROOT/dist\
--with-dist-prefix=$MOZ_BUILD_ROOT/dist\
--without-nss\
--with-mozilla"
if test -n "$HAVE_64BIT_OS"; then
ac_configure_args="$ac_configure_args --enable-64bit"
fi
AC_OUTPUT_SUBDIRS(directory/c-sdk)
ac_configure_args="$_SUBDIR_CONFIG_ARGS"
fi