diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2020-01-05 18:25:13 +0100 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2020-01-07 10:47:12 +0100 |
commit | a6a930f01a22da3deea6817ea2cf42808276532d (patch) | |
tree | 2e35422f5cf818264b87355197d9b5172b3cd2e4 /configure.ac | |
parent | 14794f5707c2414f9dcb64a629948fba7753510a (diff) | |
download | gnutls-tmp-soft-libev.tar.gz |
SKIP tests/suite/eagain if libev not availabletmp-soft-libev
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 8aa72f443b..4e579c2d9d 100644 --- a/configure.ac +++ b/configure.ac @@ -453,13 +453,15 @@ AM_CONDITIONAL(ENABLE_OLDGNUTLS_INTEROP, test "$enable_oldgnutls_interop" != "no # check for libev - used in full test suite AC_LIB_HAVE_LINKFLAGS(ev,, [#include <ev.h>], [ev_run(0,0);]) if test "$ac_cv_libev" = yes; then - AC_SUBST([LIBEV_LIBS], [$LIBEV]) -elif test "$full_test_suite" = yes;then - AC_MSG_ERROR([[*** -*** libev4 was not found. -***]]) + AC_SUBST([LIBEV_LIBS], [$LIBEV]) +else + AC_MSG_WARN([[ +*** tests/suite/eagain.sh is disabled due to missing libev *** +]]) fi +AM_CONDITIONAL(HAVE_LIBEV, test "$ac_cv_libev" = "yes") + dnl GCC warnings to enable AC_ARG_ENABLE([gcc-warnings], |