aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2011-03-24 20:54:36 +0000
committerNils Durner <durner@gnunet.org>2011-03-24 20:54:36 +0000
commite73ad04f2d8e0bbd99431d4c412f3a2358f3e299 (patch)
tree0712945735d63b017e6fdaea56213b312166b614
parent77fefd17be94fe61bc95f37ffbd2bfd8d32d6c88 (diff)
downloadgnunet-e73ad04f2d8e0bbd99431d4c412f3a2358f3e299.tar.gz
gnunet-e73ad04f2d8e0bbd99431d4c412f3a2358f3e299.zip
cross-compiler changes
-rw-r--r--configure.ac6
-rw-r--r--src/include/winproc.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index b5b957212..3e45ddaa5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,7 @@ AC_CONFIG_HEADERS([gnunet_config.h])
29AH_TOP([#define _GNU_SOURCE 1]) 29AH_TOP([#define _GNU_SOURCE 1])
30 30
31# Checks for programs. 31# Checks for programs.
32AC_CANONICAL_HOST 32AC_CANONICAL_SYSTEM
33AC_PROG_AWK 33AC_PROG_AWK
34AC_PROG_CC 34AC_PROG_CC
35gl_EARLY 35gl_EARLY
@@ -193,6 +193,8 @@ then
193 AC_MSG_ERROR([GNUnet needs libgcrypt]) 193 AC_MSG_ERROR([GNUnet needs libgcrypt])
194fi 194fi
195 195
196if test $build = $target
197then
196AC_MSG_CHECKING([for working HMAC]) 198AC_MSG_CHECKING([for working HMAC])
197AC_LANG_PUSH(C) 199AC_LANG_PUSH(C)
198LIBS="$LIBS $LIBGCRYPT_LIBS" 200LIBS="$LIBS $LIBGCRYPT_LIBS"
@@ -247,6 +249,8 @@ LIBCURL_CHECK_CONFIG(,7.20.1,,AC_MSG_ERROR([GNUnet requires libcurl >= 7.20.1]))
247# restore LIBS 249# restore LIBS
248LIBS=$SAVE_LIBS 250LIBS=$SAVE_LIBS
249 251
252fi # $build = $target
253
250# glpk 254# glpk
251#AC_CHECK_HEADERS(glpk.h, glpk=true) 255#AC_CHECK_HEADERS(glpk.h, glpk=true)
252#AM_CONDITIONAL(HAVE_GLPK, test x$glpk = xtrue) 256#AM_CONDITIONAL(HAVE_GLPK, test x$glpk = xtrue)
diff --git a/src/include/winproc.h b/src/include/winproc.h
index 595180a96..a29130e66 100644
--- a/src/include/winproc.h
+++ b/src/include/winproc.h
@@ -42,9 +42,9 @@
42#include <shlobj.h> 42#include <shlobj.h>
43#include <objbase.h> 43#include <objbase.h>
44#include <sys/param.h> /* #define BYTE_ORDER */ 44#include <sys/param.h> /* #define BYTE_ORDER */
45#include <Ntsecapi.h> 45#include <ntsecapi.h>
46#include <lm.h> 46#include <lm.h>
47#include <Aclapi.h> 47#include <aclapi.h>
48 48
49 49
50#ifdef __cplusplus 50#ifdef __cplusplus