From 434eb927e3ddefffe163320d5c14638a212c78ea Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 7 Sep 2019 09:28:26 +0000 Subject: [PATCH] configure: remove plibc check --- configure.ac | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 3ddebf7a6..893042f93 100644 --- a/configure.ac +++ b/configure.ac @@ -179,7 +179,7 @@ AS_CASE(["$host_os"], AC_DEFINE_UNQUOTED(_WIN32,1,[This is a Windows system]) AC_CHECK_LIB(intl, gettext) LDFLAGS="$LDFLAGS -Wl,--export-all-symbols" - LIBS="$LIBS -lws2_32 -lplibc -lgnurx -lole32" + LIBS="$LIBS -lws2_32 -lgnurx -lole32" CFLAGS="-mms-bitfields $CFLAGS" CPPFLAGS="-D_WIN32_WINNT=0x0501 -DHAVE_STAT64=1 -D__USE_MINGW_ANSI_STDIO=1 $CPPFLAGS" build_target="mingw" @@ -353,11 +353,7 @@ AM_CONDITIONAL(HAVE_GETADDRINFO_A, # tests only run on Windows AS_IF([test "x$build_target" = "xmingw"], - [AC_CHECK_LIB(plibc, - plibc_init, - [], - [AC_MSG_ERROR([GNUnet requires PlibC on Windows])]) - AC_CHECK_LIB(gnurx, + [AC_CHECK_LIB(gnurx, regexec, [], [AC_MSG_ERROR([GNUnet requires libgnurx on Windows])])]) -- 2.25.1