Browse Source

Hardcode flags for bssl

pq
Henry Case 5 years ago
parent
commit
20d43a035a
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      configure.ac

+ 6
- 2
configure.ac View File

@@ -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)

Loading…
Cancel
Save