aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2014-08-16 10:18:16 +0000
committerNils Durner <durner@gnunet.org>2014-08-16 10:18:16 +0000
commit9d6fcf6964aa39a0b4d737b78bd9f5931cce25d4 (patch)
tree43528c031ace3ca75a2eb75af77e4c8d7cbd8510
parenta952bdf9866ced9e04c756e1b079dea6ddd1970b (diff)
downloadgnunet-9d6fcf6964aa39a0b4d737b78bd9f5931cce25d4.tar.gz
gnunet-9d6fcf6964aa39a0b4d737b78bd9f5931cce25d4.zip
fail if plibc is not available
-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