summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-09-18 11:52:11 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-09-19 12:00:33 +0200
commit5978559d68bc6779e6868f1f22022e2a1772b39a (patch)
tree19ee1962ad9065021403ad1b48f768b638f5151c
parent44a8807768cc0a30e03151780582c1f00170ab38 (diff)
downloadlibrest-5978559d68bc6779e6868f1f22022e2a1772b39a.tar.gz
Detect /etc/ssl/ca-bundle.pem for openSUSE at configure time
Based on a patch from Federico Mena Quintero for glib-networking
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3fdf39f..0e0e174 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,7 +111,8 @@ if test "$with_ca_certificates" = "no"; then
else
if test -z "$with_ca_certificates"; then
for f in /etc/pki/tls/certs/ca-bundle.crt \
- /etc/ssl/certs/ca-certificates.crt; do
+ /etc/ssl/certs/ca-certificates.crt \
+ /etc/ssl/ca-bundle.pem; do
if test -f "$f"; then
with_ca_certificates="$f"
fi