diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-15 06:02:23 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-15 06:02:23 +0800 |
commit | f19bb8e86d1b25ef18a4dc060334498b90a01fb9 (patch) | |
tree | ee041daa7d29d97e12363a66244b76c964b20e09 | |
parent | 174adfa471581f0a322b4e381d9671b2b50ac9d4 (diff) | |
download | gsoc2013-evolution-f19bb8e86d1b25ef18a4dc060334498b90a01fb9.tar gsoc2013-evolution-f19bb8e86d1b25ef18a4dc060334498b90a01fb9.tar.gz gsoc2013-evolution-f19bb8e86d1b25ef18a4dc060334498b90a01fb9.tar.bz2 gsoc2013-evolution-f19bb8e86d1b25ef18a4dc060334498b90a01fb9.tar.lz gsoc2013-evolution-f19bb8e86d1b25ef18a4dc060334498b90a01fb9.tar.xz gsoc2013-evolution-f19bb8e86d1b25ef18a4dc060334498b90a01fb9.tar.zst gsoc2013-evolution-f19bb8e86d1b25ef18a4dc060334498b90a01fb9.zip |
Updated to AC_SUBST the NSPR/NSS flags.
2001-03-12 Jeffrey Stedfast <fejj@ximian.com>
* configure.in: Updated to AC_SUBST the NSPR/NSS flags.
svn path=/trunk/; revision=8712
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 14 |
2 files changed, 16 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2001-03-12 Jeffrey Stedfast <fejj@ximian.com> + + * configure.in: Updated to AC_SUBST the NSPR/NSS flags. + 2001-03-14 Dan Winship <danw@ximian.com> * README: Pull up some of the clarifications from the 0.9 branch diff --git a/configure.in b/configure.in index c8c62ea26d..cd06730a07 100644 --- a/configure.in +++ b/configure.in @@ -600,7 +600,7 @@ dnl = Camel (SSL) and Evolution (S/MIME). dnl = dnl = The Evolution security extensions are only built if these libraries are found dnl ==================================== -with_nspr_includes=/usr/include +with_nspr_includes=/usr/include/mozilla AC_ARG_WITH(nspr-includes, [ --with-nspr-includes=PREFIX Location of Mozilla nspr4 libs.]) have_nspr_includes="no" if test "x${with_nspr_includes}" != "xno"; then @@ -609,7 +609,7 @@ if test "x${with_nspr_includes}" != "xno"; then AC_MSG_CHECKING(for Mozilla nspr4 includes in $with_nspr_includes/mozilla) AC_MSG_RESULT("") CFLAGS="$CFLAGS -I$with_nspr_includes" - AC_CHECK_HEADERS(mozilla/prinit.h mozilla/prio.h, [ moz_nspr_includes="yes" ]) + AC_CHECK_HEADERS(prinit.h prio.h, [ moz_nspr_includes="yes" ]) CFLAGS="$CFLAGS_save" if test "x{$moz_nspr_includes}" != "xno"; then @@ -640,6 +640,8 @@ if test "x${with_nspr_libs}" != "xno" -a "x${have_nspr_includes}" != "xno"; then if test "x$moz_nspr_libs" != "xno"; then have_nspr_libs="yes" NSPR_LDFLAGS="-L$with_nspr_libs $nsprlibs" + else + NSPR_CLFAGS="" fi else AC_MSG_CHECKING(for Mozilla nspr4 libraries) @@ -664,12 +666,20 @@ if test "x${with_nss}" != "xno" -a "x${have_nspr_libs}" != "xno"; then msg_nss="yes" NSS_CFLAGS="-I$with_nss/include" NSS_LDFLAGS="-L$with_nss/lib $nsslibs" + else + NSPR_CFLAGS="" + NSPR_LDFLAGS="" fi else AC_MSG_CHECKING(for Mozilla nss libraries) AC_MSG_RESULT(no) fi +AC_SUBST(NSPR_CFLAGS) +AC_SUBST(NSPR_LDFLAGS) +AC_SUBST(NSS_CFLAGS) +AC_SUBST(NSS_LDFLAGS) + dnl ==================================== dnl = End mozilla hacks dnl ==================================== |