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

fix configure.ac

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