apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56866] New: [PATCH] build: Correctly use AC_(PATH|CHECK)_TOOL
Date Sun, 17 Aug 2014 23:59:36 GMT

            Bug ID: 56866
           Summary: [PATCH] build: Correctly use AC_(PATH|CHECK)_TOOL
           Product: APR
           Version: HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: timothygu99@gmail.com

Created attachment 31924
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31924&action=edit
Patch fixing the issue

AC_*_PROG is used for system programs like `sed` and `rm`; however it is not
for programs that are part of a toolchain, like `cpp`, `as`, and
`mysql_config`. When cross compiling the tools have the host triplet prefixed.

Right now, when cross-compiling to i686-w64-mingw32 configure shows:

checking for rm... rm
checking for as... as
checking for cpp... cpp
checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar

Notice how the `ar` check is correct, while the as and cpp ones are not.

With the patch, it shows:

checking for rm... rm
checking for i686-w64-mingw32-as... i686-w64-mingw32-as
checking for i686-w64-mingw32-cpp... i686-w64-mingw32-cpp
checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message