Fall back to checking for eopenssl
This commit is contained in:
parent
e0511a8615
commit
afa461a13e
1 changed files with 6 additions and 1 deletions
|
@ -42,9 +42,14 @@ AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [
|
||||||
PKG_CHECK_MODULES(openssl, [openssl >= 1.0.2], [
|
PKG_CHECK_MODULES(openssl, [openssl >= 1.0.2], [
|
||||||
CPPFLAGS="$CPPFLAGS $openssl_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $openssl_CFLAGS"
|
||||||
LIBS="$LIBS $openssl_LIBS"
|
LIBS="$LIBS $openssl_LIBS"
|
||||||
|
], [
|
||||||
|
PKG_CHECK_MODULES(eopenssl, [eopenssl >= 1.0.2], [
|
||||||
|
CPPFLAGS="$CPPFLAGS $eopenssl_CFLAGS"
|
||||||
|
LIBS="$LIBS $eopenssl_LIBS"
|
||||||
], [
|
], [
|
||||||
AC_MSG_ERROR(You need openssl >= 1.0.2 installed!)
|
AC_MSG_ERROR(You need openssl >= 1.0.2 installed!)
|
||||||
])
|
])
|
||||||
|
])
|
||||||
|
|
||||||
AS_IF([test x"$GOBJC" = x"yes"], [
|
AS_IF([test x"$GOBJC" = x"yes"], [
|
||||||
OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith -Werror"
|
OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith -Werror"
|
||||||
|
|
Reference in a new issue