diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2018-08-30 03:00:09 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2018-08-30 03:00:09 +0000 |
commit | 9bac90373dfdc89fde95aa7a1331de98629aaeed (patch) | |
tree | f70daa7f76a46b494744f752e6c3889fa7844151 /configure.in | |
parent | 929ae45e01c8e6eb12d26a42bdf30f7fe76029d3 (diff) | |
download | apr-9bac90373dfdc89fde95aa7a1331de98629aaeed.tar.gz |
Submitted by: Hongxu Jia <hongxu.jia@windriver.com>
https://patch-diff.githubusercontent.com/raw/apache/apr/pull/8.patch
While cross-compiling, the tools/gen_test_char could not
be executed at build time, use AX_PROG_CC_FOR_BUILD to
build native tools/gen_test_char
Support explicit libtool by variable assigning before buildcheck.sh,
it is helpful for cross-compiling (such as libtool=aarch64-linux-libtool)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839627 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 58bd7983c..242b01654 100644 --- a/configure.in +++ b/configure.in @@ -196,6 +196,9 @@ dnl can only be used once within a configure script, so this prevents a dnl preload section from invoking the macro to get compiler info. AC_PROG_CC +dnl Check build CC for gen_test_char compiling which is executed at build time. +AX_PROG_CC_FOR_BUILD + dnl AC_PROG_SED is only avaliable in recent autoconf versions. dnl Use AC_CHECK_PROG instead if AC_PROG_SED is not present. ifdef([AC_PROG_SED], |