From 787cf36948d3e20d43fd00c43bccff33941e968e Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 30 Oct 2003 21:00:03 +0000 Subject: set enable_smime=yes wherever nss would be enabled.. fixes manually 2003-10-30 Chris Toshok * 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 --- configure.in | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 2499993ab1..0cb42adbd8 100644 --- a/configure.in +++ b/configure.in @@ -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 -- cgit v1.2.3