Differences From Artifact [5a034e549d]:
- File configure.ac — part of check-in [a7e2f217b6] at 2018-01-21 22:31:42 on branch trunk — Update buildsys (user: js, size: 2057) [annotate] [blame] [check-ins using]
To Artifact [1eafb580d4]:
- File
configure.ac
— part of check-in
[32bcbfa301]
at
2018-11-05 22:24:15
on branch trunk
— configure: Do not use pkg-config to find OpenSSL
This allows working with both OpenSSL and LibreSSL. (user: js, size: 1876) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
40 41 42 43 44 45 46 | AC_ARG_ENABLE(static, AS_HELP_STRING([--enable-static], [build static library])) AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [ AC_PATH_TOOL(AR, ar) AC_PROG_RANLIB AC_SUBST(OBJOPENSSL_STATIC_LIB, "libobjopenssl.a") ]) | | < | < < < < | | < | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | AC_ARG_ENABLE(static, AS_HELP_STRING([--enable-static], [build static library])) AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [ AC_PATH_TOOL(AR, ar) AC_PROG_RANLIB AC_SUBST(OBJOPENSSL_STATIC_LIB, "libobjopenssl.a") ]) AC_CHECK_LIB(ssl, main, [ LIBS="$LIBS -lssl -lcrypto" ], [ AC_MSG_ERROR(You need openssl >= 1.0.2 installed!) ], [-lcrypto]) AS_IF([test x"$GOBJC" = x"yes"], [ OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith -Werror" ]) BUILDSYS_INIT |
︙ | ︙ |