summaryrefslogtreecommitdiff
path: root/util/Makefile
diff options
context:
space:
mode:
authorportix <none@none>2012-05-03 03:12:43 +0200
committerportix <none@none>2012-05-03 03:12:43 +0200
commit00319aa1e6ff1f2fd4bc3162fd88cd497086205a (patch)
tree181e23111432cb2f77723806df3ca7b95f6ae707 /util/Makefile
parent720cf817e9e6b0c29ec7e8b5156865144e8731f0 (diff)
downloaddwb-00319aa1e6ff1f2fd4bc3162fd88cd497086205a.zip
Remove setting ssl-ca-cert for libsoup-2.4 >= 2.38, use ssl-use-system-ca-file instead
Diffstat (limited to 'util/Makefile')
-rw-r--r--util/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/Makefile b/util/Makefile
index 6111e63a..ffae5845 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -14,6 +14,11 @@ $(SETTINGS): settings.in
@echo gen settings.html
@awk -f generate_settings.awk $< > $@
+settings.in: settings.pre
+ @$(shell if pkg-config --exists 'libsoup-2.4 >= 2.38'; then \
+ sed 's/^SSL_CERTIFICATION/ssl-use-system-ca-file checkbox Whether to use the system certification file/' $< > $@;\
+ else sed 's/^SSL_CERTIFICATION/ssl-ca-file text Path to ssl-certificate/' $< > $@; fi)
+
clean:
$(RM) $(OUTFILES)