]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Move around, to make $cross_compile work.
authorSimon Josefsson <simon@josefsson.org>
Tue, 27 Jun 2006 13:19:25 +0000 (13:19 +0000)
committerSimon Josefsson <simon@josefsson.org>
Tue, 27 Jun 2006 13:19:25 +0000 (13:19 +0000)
configure.in

index 0d47276e4bf7e042e2aef660bb521e60c22b5708..defa59a7ce1a5ce164b382f574c042c44070eaf0 100644 (file)
@@ -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)