summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 9eff1281..ad642830 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -1,4 +1,7 @@
AC_INIT(pjproject,0.5.8)
+
+host_orig="$host"
+
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
@@ -24,7 +27,6 @@ fi
CXXFLAGS="$CFLAGS $CXXFLAGS"
-
AC_PROG_CC
AC_PROG_CXX
AC_LANG_C
@@ -446,7 +448,7 @@ AC_SUBST(ac_cross_compile)
if test "$build" = "$host"; then
ac_cross_compile=
else
- ac_cross_compile=${host}-
+ ac_cross_compile=${host_orig}-
fi
AC_SUBST(ac_linux_poll,select)
AC_SUBST(ac_host,unix)