diff --git a/configure.ac b/configure.ac index 8e4ac99..80bba2f 100755 --- a/configure.ac +++ b/configure.ac @@ -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)