set enable_smime=yes wherever nss would be enabled.. fixes manually

2003-10-30  Chris Toshok  <toshok@ximian.com>

	* configure.in: set enable_smime=yes wherever nss would be
	enabled..  fixes manually specifying the nss libs and enabling the
	smime ui.  Also, add a section for generating the correct SMIME UI
	flags.  gross, but necessary.  it should probably be wrapped in
	with all the other nss library crap.
	(AC_OUTPUT): add smime/tests

svn path=/trunk/; revision=23138
This commit is contained in:
Chris Toshok
2003-10-30 21:00:03 +00:00
committed by Chris Toshok
parent e432971d03
commit 787cf36948
2 changed files with 27 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2003-10-30 Chris Toshok <toshok@ximian.com>
* configure.in: set enable_smime=yes wherever nss would be
enabled.. fixes manually specifying the nss libs and enabling the
smime ui. Also, add a section for generating the correct SMIME UI
flags. gross, but necessary. it should probably be wrapped in
with all the other nss library crap.
(AC_OUTPUT): add smime/tests
2003-10-29 Chris Toshok <toshok@ximian.com>
* Makefile.am (SUBDIRS): use $SMIME_DIR. instead of explicitly

View File

@ -913,11 +913,11 @@ dnl If the user specifies --with-foo or --enable-nss=static, then we have to do
AC_DEFINE(HAVE_SSL)
if test "$enable_nss" = "static"; then
msg_ssl="yes (Mozilla NSS:static)"
msg_smime="yes (Mozilla NSS:static)"
else
msg_ssl="yes (Mozilla NSS)"
msg_smime="yes (Mozilla NSS)"
fi # static_nss
msg_smime="yes (Mozilla NSS)"
enable_smime="yes"
MANUAL_NSS_LIBS="-L$with_nss_libs $nsslibs"
else
MANUAL_NSS_CFLAGS=""
@ -1121,6 +1121,21 @@ EVO_SET_COMPILE_FLAGS(CAMEL, glib-2.0 gthread-2.0 gal-2.2 >= $GAL_REQUIRED $mozi
AC_SUBST(CAMEL_CFLAGS)
AC_SUBST(CAMEL_LIBS)
if test "x$mozilla_nss" != "x"; then
EVO_SET_COMPILE_FLAGS(MOZILLA_NSS, $mozilla_nss)
MOZILLA_L_DIR=`pkg-config --libs-only-L $mozilla_nss`
else
if test "x$MOZILLA_MANUAL_LIBS" != "x"; then
MOZILLA_L_DIR="-L$with_nss_lib"
fi
fi
EVO_SET_COMPILE_FLAGS(CERT_UI, glib-2.0 gobject-2.0 gthread-2.0,
$MANUAL_NSS_CFLAGS $MOZILLA_NSS_CFLAGS,
$MOZILLA_L_DIR -lcertdb -lcryptohi -lsecutil -lnsspki -lpk11wrap -lnssdev -lnssb $MANUAL_NSS_LIBS $MOZILLA_NSS_LIBS)
AC_SUBST(CERT_UI_CFLAGS)
AC_SUBST(CERT_UI_LIBS)
EVO_SET_COMPILE_FLAGS(E_NAME, libgnomeui-2.0 libbonoboui-2.0 gal-2.2 >= $GAL_REQUIRED)
AC_SUBST(E_NAME_CFLAGS)
AC_SUBST(E_NAME_LIBS)
@ -1434,6 +1449,7 @@ mail/Makefile
smime/Makefile
smime/lib/Makefile
smime/gui/Makefile
smime/tests/Makefile
tools/Makefile
evolution-shell.pc
evolution-addressbook.pc