Commit 96d9179e authored by David Woodhouse's avatar David Woodhouse

Use OPENSSL_CFLAGS when testing OpenSSL features too

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 7acf3071
......@@ -502,6 +502,8 @@ AC_CHECK_HEADER([if_tun.h],
if test "$ssl_library" = "openssl" || test "$ssl_library" = "both"; then
oldLIBS="$LIBS"
LIBS="$LIBS $OPENSSL_LIBS"
oldCFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $OPENSSL_CFLAGS"
if test "$ssl_library" = "openssl"; then
AC_MSG_CHECKING([for ENGINE_by_id() in OpenSSL])
......@@ -522,6 +524,7 @@ if test "$ssl_library" = "openssl" || test "$ssl_library" = "both"; then
AC_DEFINE(HAVE_DTLS1_STOP_TIMER, [1], [OpenSSL has dtls1_stop_timer() function])],
[AC_MSG_RESULT(no)])
LIBS="$oldLIBS"
CFLAGS="$oldCFLAGS"
fi
AC_PATH_PROG(PYTHON, [python], [], $PATH:/bin:/usr/bin)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment