From: Simon Josefsson Date: Tue, 27 Jun 2006 13:19:25 +0000 (+0000) Subject: Move around, to make $cross_compile work. X-Git-Tag: gnutls_1_4_1~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bcda55571fd476db4b5f6fc567d344e2ce44e914;p=thirdparty%2Fgnutls.git Move around, to make $cross_compile work. --- diff --git a/configure.in b/configure.in index 0d47276e4b..defa59a7ce 100644 --- a/configure.in +++ b/configure.in @@ -81,21 +81,6 @@ AC_ARG_ENABLE(profile-mode, opt_profiler_mode=$enableval) AC_MSG_RESULT($opt_profiler_mode) -if test "$cross_compiling" != no; then - AC_CHECK_PROGS(VALGRIND, valgrind) -fi -if test -z "$VALGRIND"; then - opt_valgrind_tests=no -else - opt_valgrind_tests=yes -fi -AC_MSG_CHECKING([whether self tests are run under valgrind]) -AC_ARG_ENABLE(valgrind-tests, - AS_HELP_STRING([--enable-valgrind-tests], - [run self tests under valgrind]), - opt_valgrind_tests=$enableval) -AC_MSG_RESULT($opt_valgrind_tests) - AC_MSG_RESULT([*** *** Checking for compilation programs... ]) @@ -211,6 +196,21 @@ AC_MSG_RESULT([*** *** Detecting system's parameters... ]) +if test "$cross_compiling" != no; then + AC_CHECK_PROGS(VALGRIND, valgrind) +fi +if test -z "$VALGRIND"; then + opt_valgrind_tests=no +else + opt_valgrind_tests=yes +fi +AC_MSG_CHECKING([whether self tests are run under valgrind]) +AC_ARG_ENABLE(valgrind-tests, + AS_HELP_STRING([--enable-valgrind-tests], + [run self tests under valgrind]), + opt_valgrind_tests=$enableval) +AC_MSG_RESULT($opt_valgrind_tests) + # For minitasn1. AC_CHECK_SIZEOF(unsigned long, 4) AC_CHECK_SIZEOF(unsigned int, 4)