diff options
author | portix <none@none> | 2012-05-03 03:12:43 +0200 |
---|---|---|
committer | portix <none@none> | 2012-05-03 03:12:43 +0200 |
commit | 00319aa1e6ff1f2fd4bc3162fd88cd497086205a (patch) | |
tree | 181e23111432cb2f77723806df3ca7b95f6ae707 /util/Makefile | |
parent | 720cf817e9e6b0c29ec7e8b5156865144e8731f0 (diff) | |
download | dwb-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/Makefile | 5 |
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) |