From: Guillem Jover Date: Wed, 23 Nov 2022 22:42:49 +0000 (+0100) Subject: build: Use «yes» instead of «true» for AC_CHECK_FUNCS cache value X-Git-Tag: 0.11.8~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5cfa39e5cde6b64ccf3d1335cee4d4744d4ce242;p=thirdparty%2Flibbsd.git build: Use «yes» instead of «true» for AC_CHECK_FUNCS cache value This autoconf macro sets the ac_cv_func_ cached variable to «yes» not «true» so we were checking for an impossible condition. --- diff --git a/configure.ac b/configure.ac index 17d113c..842f5d6 100644 --- a/configure.ac +++ b/configure.ac @@ -246,7 +246,7 @@ AC_LINK_IFELSE( AC_CHECK_FUNCS([clearenv dirfd fopencookie __fpurge \ getauxval getentropy getexecname getline \ pstat_getproc sysconf]) -AM_CONDITIONAL([HAVE_GETENTROPY], [test "x$ac_cv_func_getentropy" = "xtrue"]) +AM_CONDITIONAL([HAVE_GETENTROPY], [test "x$ac_cv_func_getentropy" = "xyes"]) AC_SUBST([MD5_LIBS]) AC_SUBST([LIBBSD_LIBS])