summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-11-05 11:26:18 +0000
committerChristian Grothoff <christian@grothoff.org>2010-11-05 11:26:18 +0000
commitbc83770144cc547a917fc27f0f572859ae203fce (patch)
treedd569a25e9832cdc91838af49f4ad76b4f9b83d1 /configure.ac
parent22d94c49ad387d3b7e373a955495ae39362b801a (diff)
LRN patch from Mantis #1615
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1176ff5fb..eddb10ff0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,7 @@
AC_PREREQ(2.61)
AC_INIT([gnunet], [0.9.0pre1],[bug-gnunet@gnu.org])
AM_INIT_AUTOMAKE([gnunet], [0.9.0pre1])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_HEADERS([gnunet_config.h])
AH_TOP([#define _GNU_SOURCE 1])
@@ -141,6 +142,7 @@ netbsd*)
LDFLAGS="$LDFLAGS -no-undefined -Wl,--export-all-symbols"
LIBS="$LIBS -lws2_32 -lplibc"
CFLAGS="-mms-bitfields $CFLAGS"
+ CPPFLAGS="-D_WIN32_WINNT=0x0501 $CPPFLAGS"
build_target="mingw"
AC_PROG_CXX
LIBPREFIX=lib