Skip to content

Commit 043fa02

Browse files
committed
* configure.in: Fix cross-compilation detection when build_alias and
host_alias are set to the same non-empty value. GitHub: pr #68 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1927744 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2fe65a7 commit 043fa02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,14 @@ if test "x$host_alias" != x; then
156156
APR_CROSS_COMPILING=maybe
157157
elif test "x$build_alias" != "x$host_alias"; then
158158
APR_CROSS_COMPILING=yes
159+
else
160+
APR_CROSS_COMPILING=no
159161
fi
160162
else
161163
APR_CROSS_COMPILING=no
162164
fi
163-
164165
AC_SUBST(APR_CROSS_COMPILING)
166+
AC_MSG_NOTICE([cross-compilation detection: $APR_CROSS_COMPILING])
165167

166168
# Libtool might need this symbol -- it must point to the location of
167169
# the generated libtool script (not necessarily the "top" build dir).

0 commit comments

Comments
 (0)