You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2025/08/11 07:38:54 UTC

svn commit: r1927744 - apr/apr/trunk

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).