39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
+
+
+
+
-
+
+
|
AC_SUBST(OBJOPENSSL_STATIC_LIB, "libobjopenssl.a")
])
PKG_CHECK_MODULES(openssl, [openssl >= 1.0.2], [
CPPFLAGS="$CPPFLAGS $openssl_CFLAGS"
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"], [
OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith -Werror"
])
BUILDSYS_INIT
|