Commit b70947a4 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix configure.ac

parent d6940be7
......@@ -1104,10 +1104,9 @@ if test "$polarssl_prefix" != "NONE" ; then
CPPFLAGS="$CPPFLAGS $POLARSSL_CFLAGS"
LIBS="$LIBS $POLARSSL_LIBS"
AC_CHECK_HEADERS(polarssl/ssl.h, [
AC_CHECK_LIB(polarssl,sha1_hmac
,[found_polarssl=yes
AC_MSG_NOTICE([polarssl usable])]
,[POLARSSL_CFLAGS=""
AC_CHECK_LIB(polarssl,sha1_hmac,
[found_polarssl=yes; AC_MSG_NOTICE([polarssl usable])],
[POLARSSL_CFLAGS=""
POLARSSL_LIBS=""
AC_MSG_WARN([polarssl not usable])])
],[POLARSSL_CFLAGS=""
......
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