From 2f0bd9f3cacc40aaafc784788030c6f244588e3f Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sun, 17 Sep 2006 22:58:51 +0000 Subject: Fixed incorrect cross compilation settings with the autoconf script. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@726 74dad513-b988-da41-8d7b-12977e46ad98 --- aconfigure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'aconfigure.ac') 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) -- cgit v1.2.3