From e73ad04f2d8e0bbd99431d4c412f3a2358f3e299 Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Thu, 24 Mar 2011 20:54:36 +0000 Subject: cross-compiler changes --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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]) AH_TOP([#define _GNU_SOURCE 1]) # Checks for programs. -AC_CANONICAL_HOST +AC_CANONICAL_SYSTEM AC_PROG_AWK AC_PROG_CC gl_EARLY @@ -193,6 +193,8 @@ then AC_MSG_ERROR([GNUnet needs libgcrypt]) fi +if test $build = $target +then AC_MSG_CHECKING([for working HMAC]) AC_LANG_PUSH(C) LIBS="$LIBS $LIBGCRYPT_LIBS" @@ -247,6 +249,8 @@ LIBCURL_CHECK_CONFIG(,7.20.1,,AC_MSG_ERROR([GNUnet requires libcurl >= 7.20.1])) # restore LIBS LIBS=$SAVE_LIBS +fi # $build = $target + # glpk #AC_CHECK_HEADERS(glpk.h, glpk=true) #AM_CONDITIONAL(HAVE_GLPK, test x$glpk = xtrue) -- cgit v1.2.3