diff options
-rw-r--r-- | configure.ac | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index cefc48243..24915a14e 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -216,12 +216,11 @@ AC_CHECK_DECLS([_stati64]) | |||
216 | # will be more selective! | 216 | # will be more selective! |
217 | SAVE_LIBS=$LIBS | 217 | SAVE_LIBS=$LIBS |
218 | 218 | ||
219 | # libgnurx (regex library for W32) | 219 | # tests only run on Windows |
220 | gnurx=0 | 220 | if test "x$build_target" = "xmingw" |
221 | AC_CHECK_LIB(gnurx, regexec, gnurx=1) | ||
222 | if test "x$gnurx" = "x0" -a "x$build_target" = "xmingw" | ||
223 | then | 221 | then |
224 | AC_MSG_ERROR([on W32 GNUnet needs libgnurx]) | 222 | AC_CHECK_LIB(plibc, plibc_init, [], [AC_MSG_ERROR([GNUnet requires PlibC on Windows])]) |
223 | AC_CHECK_LIB(gnurx, regexec, [], [AC_MSG_ERROR([GNUnet requires libgnurx on Windows])]) | ||
225 | fi | 224 | fi |
226 | 225 | ||
227 | # libgcrypt | 226 | # libgcrypt |