Hardcode flags for bssl

This commit is contained in:
Henry Case 2019-07-23 16:33:16 +01:00
父節點 ef59212790
當前提交 20d43a035a

查看文件

@ -35,7 +35,7 @@ AC_CHECK_LIB([event],
fi
AM_CONDITIONAL(IDLECONN,
AM_CONDITIONAL(IDLECONN,
[test "x$enable_idleconn" = xyes])
# Checks for libraries.
@ -57,7 +57,7 @@ if test "$ac_cv_header_openssl_ssl_h" = "yes" \
-a "$ac_cv_lib_ssl_SSL_version" = "yes" \
-a "$ac_cv_lib_crypto_main" = "yes"; then
CFLAGS="${CFLAGS} -DHAVE_SSL"
LDFLAGS="${LDFLAGS}"
LDFLAGS="${LDFLAGS}"
fi
# Checks for typedefs, structures, and compiler characteristics.
@ -98,4 +98,8 @@ AS_IF([test "$with_epoll" != "no"],
AC_CHECK_FUNC(epoll_create,
AC_DEFINE([HAVE_EPOLL], 1, [#undef HAVE_EPOLL])))
# Hardcode BSSL location. This is temporary
CFLAGS="${CFLAGS} -DHAVE_SSL -I/home/hdc/repos/cloudflare/boringssl/include"
LDFLAGS="${LDFLAGS} -L/home/hdc/repos/cloudflare/boringssl/build.64bitRel/crypto -L/home/hdc/repos/cloudflare/boringssl/build.64bitRel/ssl -pthread"
AC_OUTPUT(Makefile man/Makefile src/stat/Makefile src/lib/Makefile src/gen/Makefile src/Makefile)