svn commit: r1927744 - apr/apr/trunk
| Newsgroups | gmane.comp.apache.apr.cvs |
|---|---|
| Message-ID | <175489793455.1790578.9112532480090469959@svn02-us-east.apache.org> |
Author: jorton
Date: Mon Aug 11 07:38:54 2025
New Revision: 1927744
Log:
* configure.in: Fix cross-compilation detection when build_alias and
host_alias are set to the same non-empty value.
GitHub: pr #68
Modified:
apr/apr/trunk/configure.in
Modified: apr/apr/trunk/configure.in
==============================================================================
--- apr/apr/trunk/configure.in Mon Aug 11 07:37:55 2025 (r1927743)
+++ apr/apr/trunk/configure.in Mon Aug 11 07:38:54 2025 (r1927744)
@@ -156,12 +156,14 @@ if test "x$host_alias" != x; then
APR_CROSS_COMPILING=maybe
elif test "x$build_alias" != "x$host_alias"; then
APR_CROSS_COMPILING=yes
+ else
+ APR_CROSS_COMPILING=no
fi
else
APR_CROSS_COMPILING=no
fi
-
AC_SUBST(APR_CROSS_COMPILING)
+AC_MSG_NOTICE([cross-compilation detection: $APR_CROSS_COMPILING])
# Libtool might need this symbol -- it must point to the location of
# the generated libtool script (not necessarily the "top" build dir).