From: Andreas Ă–man Date: Wed, 26 Oct 2011 14:39:57 +0000 (+0200) Subject: Prefer openssl over libssl X-Git-Tag: 2.99~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b56dcb5138a213fe3a5768b53984107466a1726f;p=thirdparty%2Ftvheadend.git Prefer openssl over libssl --- diff --git a/configure b/configure index 455637927..7c01c60cc 100755 --- 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