aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-20 04:24:31 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-20 04:24:31 +0800
commit78ed4ddf68133188de0eba69d7826d06afd7994a (patch)
tree6bee6769316184e173d14942bd8eb0159107cb84 /configure.ac
parent53335d175e672507e860d16292fca8fb75648e0b (diff)
downloadgsoc2013-epiphany-78ed4ddf68133188de0eba69d7826d06afd7994a.tar.gz
gsoc2013-epiphany-78ed4ddf68133188de0eba69d7826d06afd7994a.tar.zst
gsoc2013-epiphany-78ed4ddf68133188de0eba69d7826d06afd7994a.zip
Only build those files when we have mozilla psm.
2004-11-19 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/Makefile.am: Only build those files when we have mozilla psm.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1a4fd85c6..a489613af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -378,8 +378,10 @@ CXXFLAGS=$_SAVE_CXXFLAGS
AC_LANG_POP(C++)
AC_CHECK_FILE([$MOZILLA_INCLUDE_ROOT/pipnss/nsIX509Cert.h],
- [AC_DEFINE(HAVE_MOZILLA_PSM, 1,
- [Define if you have the mozilla psm headers installed])])
+ [AC_DEFINE([HAVE_MOZILLA_PSM],[1],
+ [Define if you have the mozilla psm headers installed]) have_psm=yes],
+ [have_psm=no])
+AM_CONDITIONAL([HAVE_MOZILLA_PSM],[test "x$have_psm" = "xyes"])
if test "x$flavour" = "xmozilla"; then
AC_CHECK_FILE([$MOZILLA_INCLUDE_ROOT/nsIPassword.h],