]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Enable SSL per default on FreeBSD because libssl is in base so it's always available.
authorBernhard Froehlich <decke@bluelife.at>
Sat, 4 May 2013 11:57:34 +0000 (13:57 +0200)
committerBernhard Froehlich <decke@bluelife.at>
Sat, 4 May 2013 11:57:34 +0000 (13:57 +0200)
configure

index 901be2c42248787d4c7230632adfa0aad05ed788..8933d92fdc9b23f1a49bb15af09886d39e4ea124 100755 (executable)
--- a/configure
+++ b/configure
@@ -76,7 +76,10 @@ check_bin bzip2 || echo 'WARN: no bzip2 binary found'
 #
 # SSL
 #
-if check_pkg openssl || check_pkg libssl; then
+if [ ${PLATFORM} = "freebsd" ]; then
+  # FreeBSD has libssl in base
+  enable ssl
+elif check_pkg openssl || check_pkg libssl; then
   enable ssl
 else
   die "SSL development support not found"