summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-08-20 21:49:34 +0200
committerSimon Josefsson <simon@josefsson.org>2007-08-20 21:49:34 +0200
commit7d9f14aa13a3355f2c70de1f5dd7681bea2825aa (patch)
tree6ab7a1f9da2d82b35b6a3f84bac672c15cd3ad18 /doc
parent824bdf074ef3647e2a377d6366dcc5e9848017a6 (diff)
downloadgnutls-7d9f14aa13a3355f2c70de1f5dd7681bea2825aa.tar.gz
Don't build pgp example if pgp has been disabled.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 53092cf128..a2103c3553 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -29,7 +29,11 @@ LDADD = libexamples.la \
noinst_PROGRAMS = ex-cert-select ex-client1 ex-client2 \
ex-client-resume ex-client-tlsia ex-crq ex-serv1 ex-serv-anon \
- ex-serv-export ex-serv-pgp
+ ex-serv-export
+
+if ENABLE_OPENPGP
+noinst_PROGRAMS += ex-serv-pgp
+endif
if ENABLE_SRP
noinst_PROGRAMS += ex-client-srp ex-serv-srp