aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-12-23 18:20:22 +0000
committerNick Mathewson <nickm@torproject.org>2007-12-23 18:20:22 +0000
commit4606a8af03983b6a08e9fc05d49c710922242f3e (patch)
tree841cb380e16689cb529c1f47a4d2e58a08cff90f /acinclude.m4
parentb9fa18a1de45f5845ddf56ed4ecfdcb7197da423 (diff)
downloadtor-4606a8af03983b6a08e9fc05d49c710922242f3e.tar
tor-4606a8af03983b6a08e9fc05d49c710922242f3e.tar.gz
r15646@tombo: nickm | 2007-12-23 13:17:33 -0500
Handle cross-compilation more sanely: avoid most uses of the (never-defined!) CROSS_COMPILE variable; in the one place where we cannot help it, use the correct cross_compiling. svn:r12945
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 4872461c5..7f27afd5a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -150,7 +150,7 @@ fi
TOR_DEFINE_CODEPATH($tor_cv_library_$1_dir, $1)
-if test -z "$CROSS_COMPILE"; then
+if test "$cross_compiling" != yes; then
AC_CACHE_CHECK([whether we need extra options to link $1],
tor_cv_library_$1_linker_option, [
orig_LDFLAGS="$LDFLAGS"