]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Prefer openssl over libssl
authorAndreas Öman <andreas@lonelycoder.com>
Wed, 26 Oct 2011 14:39:57 +0000 (16:39 +0200)
committerAndreas Öman <andreas@lonelycoder.com>
Wed, 26 Oct 2011 14:39:57 +0000 (16:39 +0200)
configure

index 4556379276c099765e1b9c51307f990d96dc2c2c..7c01c60cca58d65be79db12541d330cb62d8662e 100755 (executable)
--- a/configure
+++ b/configure
@@ -141,14 +141,14 @@ if enabled avahi; then
     fi
 fi
 
-if pkg-config libssl; then
-    echo >>${CONFIG_MAK} "LDFLAGS_cfg += " `pkg-config --libs libssl`
-    echo >>${CONFIG_MAK} "CFLAGS_cfg += " `pkg-config --cflags libssl`
-    echo "Using libssl:          `pkg-config --modversion libssl`"
-elif pkg-config openssl; then
+if pkg-config openssl; then
     echo >>${CONFIG_MAK} "LDFLAGS_cfg += " `pkg-config --libs openssl`
     echo >>${CONFIG_MAK} "CFLAGS_cfg += " `pkg-config --cflags openssl`
     echo "Using openssl:         `pkg-config --modversion openssl`"
+elif pkg-config libssl; then
+    echo >>${CONFIG_MAK} "LDFLAGS_cfg += " `pkg-config --libs libssl`
+    echo >>${CONFIG_MAK} "CFLAGS_cfg += " `pkg-config --cflags libssl`
+    echo "Using libssl:          `pkg-config --modversion libssl`"
 else
     echo "libssl or openssl not found"
     die