diff options
author | ng0 <ng0@n0.is> | 2019-09-07 09:28:26 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-07 09:28:26 +0000 |
commit | 434eb927e3ddefffe163320d5c14638a212c78ea (patch) | |
tree | 0c5f394839794d11f6148baca87710e81dedca12 /configure.ac | |
parent | 6e6644f970d9a4faed5eb66683d671540bd49472 (diff) | |
download | gnunet-434eb927e3ddefffe163320d5c14638a212c78ea.tar.gz gnunet-434eb927e3ddefffe163320d5c14638a212c78ea.zip |
configure: remove plibc check
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files 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"], | |||
179 | AC_DEFINE_UNQUOTED(_WIN32,1,[This is a Windows system]) | 179 | AC_DEFINE_UNQUOTED(_WIN32,1,[This is a Windows system]) |
180 | AC_CHECK_LIB(intl, gettext) | 180 | AC_CHECK_LIB(intl, gettext) |
181 | LDFLAGS="$LDFLAGS -Wl,--export-all-symbols" | 181 | LDFLAGS="$LDFLAGS -Wl,--export-all-symbols" |
182 | LIBS="$LIBS -lws2_32 -lplibc -lgnurx -lole32" | 182 | LIBS="$LIBS -lws2_32 -lgnurx -lole32" |
183 | CFLAGS="-mms-bitfields $CFLAGS" | 183 | CFLAGS="-mms-bitfields $CFLAGS" |
184 | CPPFLAGS="-D_WIN32_WINNT=0x0501 -DHAVE_STAT64=1 -D__USE_MINGW_ANSI_STDIO=1 $CPPFLAGS" | 184 | CPPFLAGS="-D_WIN32_WINNT=0x0501 -DHAVE_STAT64=1 -D__USE_MINGW_ANSI_STDIO=1 $CPPFLAGS" |
185 | build_target="mingw" | 185 | build_target="mingw" |
@@ -353,11 +353,7 @@ AM_CONDITIONAL(HAVE_GETADDRINFO_A, | |||
353 | 353 | ||
354 | # tests only run on Windows | 354 | # tests only run on Windows |
355 | AS_IF([test "x$build_target" = "xmingw"], | 355 | AS_IF([test "x$build_target" = "xmingw"], |
356 | [AC_CHECK_LIB(plibc, | 356 | [AC_CHECK_LIB(gnurx, |
357 | plibc_init, | ||
358 | [], | ||
359 | [AC_MSG_ERROR([GNUnet requires PlibC on Windows])]) | ||
360 | AC_CHECK_LIB(gnurx, | ||
361 | regexec, | 357 | regexec, |
362 | [], | 358 | [], |
363 | [AC_MSG_ERROR([GNUnet requires libgnurx on Windows])])]) | 359 | [AC_MSG_ERROR([GNUnet requires libgnurx on Windows])])]) |