gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18014 - gnunet


From: gnunet
Subject: [GNUnet-SVN] r18014 - gnunet
Date: Sat, 5 Nov 2011 10:07:09 +0100

Author: grothoff
Date: 2011-11-05 10:07:09 +0100 (Sat, 05 Nov 2011)
New Revision: 18014

Modified:
   gnunet/configure.ac
Log:
LRN:  Compile against libgnurx (W32)

Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2011-11-05 09:06:32 UTC (rev 18013)
+++ gnunet/configure.ac 2011-11-05 09:07:09 UTC (rev 18014)
@@ -142,7 +142,7 @@
      AC_DEFINE_UNQUOTED(_WIN32,1,[This is a Windows system])
      AC_CHECK_LIB(intl, gettext)
      LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,--export-all-symbols"
-     LIBS="$LIBS -lws2_32 -lplibc"
+     LIBS="$LIBS -lws2_32 -lplibc -lgnurx"
      CFLAGS="-mms-bitfields $CFLAGS"
      CPPFLAGS="-D_WIN32_WINNT=0x0501 $CPPFLAGS"
      build_target="mingw"
@@ -183,6 +183,14 @@
 # will be more selective!
 SAVE_LIBS=$LIBS
 
+# libgnurx (regex library for W32)
+gnurx=0
+AC_CHECK_LIB(gnurx, regexec, gnurx=1)
+if test "x$gnurx" = "x0" -a "x$build_target" = "xmingw"
+then
+  AC_MSG_ERROR([on W32 GNUnet needs libgnurx])
+fi
+
 # libgcrypt
 gcrypt=0
 AM_PATH_LIBGCRYPT(1.2.0, gcrypt=1)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]