Hardcode flags for bssl
This commit is contained in:
parent
ef59212790
commit
20d43a035a
@ -35,7 +35,7 @@ AC_CHECK_LIB([event],
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
AM_CONDITIONAL(IDLECONN,
|
AM_CONDITIONAL(IDLECONN,
|
||||||
[test "x$enable_idleconn" = xyes])
|
[test "x$enable_idleconn" = xyes])
|
||||||
|
|
||||||
# Checks for libraries.
|
# 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_ssl_SSL_version" = "yes" \
|
||||||
-a "$ac_cv_lib_crypto_main" = "yes"; then
|
-a "$ac_cv_lib_crypto_main" = "yes"; then
|
||||||
CFLAGS="${CFLAGS} -DHAVE_SSL"
|
CFLAGS="${CFLAGS} -DHAVE_SSL"
|
||||||
LDFLAGS="${LDFLAGS}"
|
LDFLAGS="${LDFLAGS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
@ -98,4 +98,8 @@ AS_IF([test "$with_epoll" != "no"],
|
|||||||
AC_CHECK_FUNC(epoll_create,
|
AC_CHECK_FUNC(epoll_create,
|
||||||
AC_DEFINE([HAVE_EPOLL], 1, [#undef HAVE_EPOLL])))
|
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)
|
AC_OUTPUT(Makefile man/Makefile src/stat/Makefile src/lib/Makefile src/gen/Makefile src/Makefile)
|
||||||
|
Loading…
Reference in New Issue
Block a user