]> 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)
committerAdam Sutton <dev@adamsutton.me.uk>
Fri, 31 May 2013 13:19:24 +0000 (14:19 +0100)
configure

index fcec9de43eca4ef505128df166efac068268b78a..6e4577fb2830a36a161ecf773f07a674273b5f07 100755 (executable)
--- a/configure
+++ b/configure
@@ -74,7 +74,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"