Overview
Comment: | configure: Do not use pkg-config to find OpenSSL
This allows working with both OpenSSL and LibreSSL. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
32bcbfa30178012b9e2b01b83b13ff4b |
User & Date: | js on 2018-11-05 22:24:15 |
Other Links: | manifest | tags |
Context
2018-11-10
| ||
10:59 | Update buildsys check-in: 7c3cddfa2e user: js tags: trunk | |
2018-11-05
| ||
22:24 | configure: Do not use pkg-config to find OpenSSL check-in: 32bcbfa301 user: js tags: trunk | |
2018-10-07
| ||
21:07 | Support for async connecting check-in: b3c83672df user: js tags: trunk | |
Changes
Modified .gitignore from [24cd89b83e] to [bf55e62232].
1 2 3 4 5 6 7 8 9 10 11 | *.dylib *.framework *.o *.so *~ .deps aclocal.m4 autom4te.cache buildsys.mk config.log config.status | > | 1 2 3 4 5 6 7 8 9 10 11 12 | *.dylib *.framework *.o *.so *.so.* *~ .deps aclocal.m4 autom4te.cache buildsys.mk config.log config.status |
︙ | ︙ |
Modified autogen.sh from [b49a128683] to [2112946f72].
1 2 3 4 5 | #!/bin/sh set -e # Set a version for OpenBSD : ${AUTOCONF_VERSION:=2.69} | | | 1 2 3 4 5 6 7 8 9 10 | #!/bin/sh set -e # Set a version for OpenBSD : ${AUTOCONF_VERSION:=2.69} : ${AUTOMAKE_VERSION:=1.16} export AUTOCONF_VERSION AUTOMAKE_VERSION aclocal -I build-aux/m4 autoconf |
Modified configure.ac from [5a034e549d] to [1eafb580d4].
︙ | ︙ | |||
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 |
︙ | ︙ |