aboutsummaryrefslogtreecommitdiffstats
path: root/embed
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 /embed
parent53335d175e672507e860d16292fca8fb75648e0b (diff)
downloadgsoc2013-epiphany-78ed4ddf68133188de0eba69d7826d06afd7994a.tar
gsoc2013-epiphany-78ed4ddf68133188de0eba69d7826d06afd7994a.tar.gz
gsoc2013-epiphany-78ed4ddf68133188de0eba69d7826d06afd7994a.tar.bz2
gsoc2013-epiphany-78ed4ddf68133188de0eba69d7826d06afd7994a.tar.lz
gsoc2013-epiphany-78ed4ddf68133188de0eba69d7826d06afd7994a.tar.xz
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 'embed')
-rw-r--r--embed/mozilla/GtkNSSClientAuthDialogs.cpp4
-rw-r--r--embed/mozilla/GtkNSSDialogs.cpp4
-rw-r--r--embed/mozilla/GtkNSSKeyPairDialogs.cpp4
-rw-r--r--embed/mozilla/Makefile.am16
4 files changed, 10 insertions, 18 deletions
diff --git a/embed/mozilla/GtkNSSClientAuthDialogs.cpp b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
index cd1ee2fb9..d8f68c883 100644
--- a/embed/mozilla/GtkNSSClientAuthDialogs.cpp
+++ b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
@@ -24,8 +24,6 @@
#include "config.h"
-#ifdef HAVE_MOZILLA_PSM
-
#include "EphyUtils.h"
#include <nsIServiceManager.h>
@@ -284,5 +282,3 @@ GtkNSSClientAuthDialogs::ChooseCertificate (nsIInterfaceRequestor *ctx,
gtk_widget_destroy (dialog);
return NS_OK;
}
-
-#endif
diff --git a/embed/mozilla/GtkNSSDialogs.cpp b/embed/mozilla/GtkNSSDialogs.cpp
index c245a082d..52a2e351a 100644
--- a/embed/mozilla/GtkNSSDialogs.cpp
+++ b/embed/mozilla/GtkNSSDialogs.cpp
@@ -30,8 +30,6 @@
#include "config.h"
-#ifdef HAVE_MOZILLA_PSM
-
#include "EphyUtils.h"
#include <nsCOMPtr.h>
@@ -1465,5 +1463,3 @@ GtkNSSDialogs::ViewCert(nsIInterfaceRequestor *ctx,
gtk_widget_destroy (dialog);
return NS_OK;
}
-
-#endif
diff --git a/embed/mozilla/GtkNSSKeyPairDialogs.cpp b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
index 90a1d958f..4670abd06 100644
--- a/embed/mozilla/GtkNSSKeyPairDialogs.cpp
+++ b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
@@ -39,8 +39,6 @@
#include "config.h"
-#ifdef HAVE_MOZILLA_PSM
-
#include "EphyUtils.h"
#include <nsIServiceManager.h>
@@ -711,5 +709,3 @@ NS_IMETHODIMP KeyPairHelperWindow::GetWindowRoot(nsIDOMEventTarget * *aWindowRoo
{
MOZ_NOT_IMPLEMENTED
}
-
-#endif
diff --git a/embed/mozilla/Makefile.am b/embed/mozilla/Makefile.am
index 029956db0..ec3913a64 100644
--- a/embed/mozilla/Makefile.am
+++ b/embed/mozilla/Makefile.am
@@ -66,12 +66,6 @@ libephymozillaembed_la_SOURCES = \
EventContext.h \
GlobalHistory.cpp \
GlobalHistory.h \
- GtkNSSClientAuthDialogs.cpp \
- GtkNSSClientAuthDialogs.h \
- GtkNSSDialogs.cpp \
- GtkNSSDialogs.h \
- GtkNSSKeyPairDialogs.cpp \
- GtkNSSKeyPairDialogs.h \
MozDownload.cpp \
MozDownload.h \
MozillaPrivate.cpp \
@@ -98,3 +92,13 @@ libephymozillaembed_la_SOURCES += \
FilePicker.cpp \
FilePicker.h
endif
+
+if HAVE_MOZILLA_PSM
+libephymozillaembed_la_SOURCES += \
+ GtkNSSClientAuthDialogs.cpp \
+ GtkNSSClientAuthDialogs.h \
+ GtkNSSDialogs.cpp \
+ GtkNSSDialogs.h \
+ GtkNSSKeyPairDialogs.cpp \
+ GtkNSSKeyPairDialogs.h
+endif