diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-02-03 20:12:12 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-02-03 20:12:12 +0200 |
commit | ae0d3255ddd792402650ad0caaf611dcc3ada091 (patch) | |
tree | 29e84a70d30630de638752bdf64be6ca1a1656fc /configure | |
parent | e893d68460908a358a3a0cfbb08c177610955eaf (diff) | |
download | egawk-ae0d3255ddd792402650ad0caaf611dcc3ada091.tar.gz egawk-ae0d3255ddd792402650ad0caaf611dcc3ada091.tar.bz2 egawk-ae0d3255ddd792402650ad0caaf611dcc3ada091.zip |
Additional changes for cross-compiling.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -638,6 +638,8 @@ LTLIBSIGSEGV LIBSIGSEGV HAVE_LIBSIGSEGV LIBOBJS +TEST_CROSS_COMPILE_FALSE +TEST_CROSS_COMPILE_TRUE POSUB LTLIBINTL LIBINTL @@ -8375,6 +8377,15 @@ done fi + if test "x$build_alias" != "x$host_alias"; then + TEST_CROSS_COMPILE_TRUE= + TEST_CROSS_COMPILE_FALSE='#' +else + TEST_CROSS_COMPILE_TRUE='#' + TEST_CROSS_COMPILE_FALSE= +fi + + ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" if test "x$ac_cv_type_pid_t" = xyes; then : @@ -11021,6 +11032,10 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${TEST_CROSS_COMPILE_TRUE}" && test -z "${TEST_CROSS_COMPILE_FALSE}"; then + as_fn_error $? "conditional \"TEST_CROSS_COMPILE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 |