aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac9
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!
217SAVE_LIBS=$LIBS 217SAVE_LIBS=$LIBS
218 218
219# libgnurx (regex library for W32) 219# tests only run on Windows
220gnurx=0 220if test "x$build_target" = "xmingw"
221AC_CHECK_LIB(gnurx, regexec, gnurx=1)
222if test "x$gnurx" = "x0" -a "x$build_target" = "xmingw"
223then 221then
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])])
225fi 224fi
226 225
227# libgcrypt 226# libgcrypt