From 7962864983609683194acbddc577898242f3deab Mon Sep 17 00:00:00 2001 From: sonic Date: Sat, 17 Mar 2012 16:26:57 +0000 Subject: [PATCH] Recognize 'mingw32' output of -dumpmachine as i386 host. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@44420 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- configure | 3032 +++++++++------------------------------------------------- configure.in | 5 + 2 files changed, 465 insertions(+), 2572 deletions(-) diff --git a/configure b/configure index cb39a53b9a..274493f747 100755 --- a/configure +++ b/configure @@ -1,11 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68. +# Generated by GNU Autoconf 2.65. # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -89,7 +89,6 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -215,18 +214,11 @@ IFS=$as_save_IFS # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. - # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL - case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; - esac - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : @@ -324,7 +316,7 @@ $as_echo X"$as_dir" | test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" } # as_fn_mkdir_p @@ -364,19 +356,19 @@ else fi # as_fn_arith -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. +# script with status $?, using 1 if that was 0. as_fn_error () { - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 fi - $as_echo "$as_me: error: $2" >&2 + $as_echo "$as_me: error: $1" >&2 as_fn_exit $as_status } # as_fn_error @@ -538,7 +530,7 @@ test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` @@ -663,22 +655,30 @@ aros_compiler_libs aros_object_format aros_shared_ld aros_shared_default +aros_kernel_rescomp aros_target_nm aros_target_strip aros_target_objcopy aros_target_objdump aros_target_cc_path aros_target_cc_includes +aros_kernel_ld aros_target_ld orig_target_ld +aros_kernel_as aros_target_as orig_target_as +aros_kernel_cpp aros_target_cpp orig_target_cpp +aros_kernel_cxx aros_target_cxx orig_target_cxx +aros_kernel_cc aros_target_cc orig_target_cc +aros_kernel_ranlib +aros_kernel_ar aros_plain_ar aros_plain_nm aros_target_ranlib @@ -734,18 +734,6 @@ aros_target_detach_ldflags aros_target_nix_ldflags aros_target_nostartup_ldflags aros_target_nostdinc_cflags -aros_kernel_rescomp -aros_kernel_objdump -aros_kernel_objcopy -aros_kernel_strip -aros_kernel_nm -aros_kernel_ranlib -aros_kernel_ar -aros_kernel_as -aros_kernel_ld -aros_kernel_cxx -aros_kernel_cc -aros_kernel_cpp ant android_tool CCACHE @@ -969,9 +957,8 @@ do fi case $ac_option in - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *=) ac_optarg= ;; - *) ac_optarg=yes ;; + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. @@ -1016,7 +1003,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1042,7 +1029,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1246,7 +1233,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1262,7 +1249,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1292,8 +1279,8 @@ do | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) as_fn_error $? "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information" + -*) as_fn_error "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information." ;; *=*) @@ -1301,7 +1288,7 @@ Try \`$0 --help' for more information" # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + as_fn_error "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; @@ -1311,7 +1298,7 @@ Try \`$0 --help' for more information" $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac @@ -1319,13 +1306,13 @@ done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error $? "missing argument to $ac_option" + as_fn_error "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1348,7 +1335,7 @@ do [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' @@ -1362,8 +1349,8 @@ target=$target_alias if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used" >&2 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1378,9 +1365,9 @@ test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error $? "working directory cannot be determined" + as_fn_error "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error $? "pwd does not report name of working directory" + as_fn_error "pwd does not report name of working directory" # Find the source files, if location was not specified. @@ -1419,11 +1406,11 @@ else fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then @@ -1463,7 +1450,7 @@ Configuration: --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking ...' messages + -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files @@ -1681,9 +1668,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF configure -generated by GNU Autoconf 2.68 +generated by GNU Autoconf 2.65 -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2009 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1727,7 +1714,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_compile @@ -1765,7 +1752,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_cxx_try_compile @@ -1791,7 +1778,7 @@ $as_echo "$ac_try_echo"; } >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } > conftest.i && { + test $ac_status = 0; } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : @@ -1802,7 +1789,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_cpp @@ -1815,10 +1802,10 @@ fi ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 @@ -1854,7 +1841,7 @@ if ac_fn_c_try_cpp "$LINENO"; then : else ac_header_preproc=no fi -rm -f conftest.err conftest.i conftest.$ac_ext +rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } @@ -1881,7 +1868,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" @@ -1890,7 +1877,7 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_header_mongrel @@ -1931,7 +1918,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_run @@ -1945,7 +1932,7 @@ ac_fn_c_check_header_compile () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -1963,7 +1950,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_header_compile @@ -2008,7 +1995,7 @@ fi # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_link @@ -2022,7 +2009,7 @@ ac_fn_c_check_member () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 $as_echo_n "checking for $2.$3... " >&6; } -if eval \${$4+:} false; then : +if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2066,22 +2053,19 @@ fi eval ac_res=\$$4 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_member -# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -# --------------------------------------------- -# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -# accordingly. +# ac_fn_c_check_decl LINENO SYMBOL VAR +# ------------------------------------ +# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. ac_fn_c_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - as_decl_name=`echo $2|sed 's/ *(.*//'` - as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 +$as_echo_n "checking whether $2 is declared... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2090,12 +2074,8 @@ $4 int main () { -#ifndef $as_decl_name -#ifdef __cplusplus - (void) $as_decl_use; -#else - (void) $as_decl_name; -#endif +#ifndef $2 + (void) $2; #endif ; @@ -2112,7 +2092,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_decl @@ -2125,7 +2105,7 @@ ac_fn_c_check_type () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else eval "$3=no" @@ -2166,7 +2146,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_type @@ -2178,7 +2158,7 @@ ac_fn_c_check_func () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2233,7 +2213,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_func cat >config.log <<_ACEOF @@ -2241,7 +2221,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.68. Invocation command line was +generated by GNU Autoconf 2.65. Invocation command line was $ $0 $@ @@ -2351,9 +2331,11 @@ trap 'exit_status=$? { echo - $as_echo "## ---------------- ## + cat <<\_ASBOX +## ---------------- ## ## Cache variables. ## -## ---------------- ##" +## ---------------- ## +_ASBOX echo # The following way of writing the cache mishandles newlines in values, ( @@ -2387,9 +2369,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ) echo - $as_echo "## ----------------- ## + cat <<\_ASBOX +## ----------------- ## ## Output variables. ## -## ----------------- ##" +## ----------------- ## +_ASBOX echo for ac_var in $ac_subst_vars do @@ -2402,9 +2386,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; echo if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## + cat <<\_ASBOX +## ------------------- ## ## File substitutions. ## -## ------------------- ##" +## ------------------- ## +_ASBOX echo for ac_var in $ac_subst_files do @@ -2418,9 +2404,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; fi if test -s confdefs.h; then - $as_echo "## ----------- ## + cat <<\_ASBOX +## ----------- ## ## confdefs.h. ## -## ----------- ##" +## ----------- ## +_ASBOX echo cat confdefs.h echo @@ -2475,12 +2463,7 @@ _ACEOF ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=./$CONFIG_SITE;; - */*) ac_site_file1=$CONFIG_SITE;; - *) ac_site_file1=./$CONFIG_SITE;; - esac + ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site @@ -2495,11 +2478,7 @@ do { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5; } + . "$ac_site_file" fi done @@ -2578,7 +2557,7 @@ if $ac_cache_corrupted; then $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -2594,22 +2573,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi + for ac_t in install-sh install.sh shtool; do + if test -f "$ac_dir/$ac_t"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/$ac_t -c" + break 2 + fi + done done if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5 + as_fn_error "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5 fi # These three variables are undocumented and unsupported, @@ -2627,27 +2600,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Note that what we call a target, Autoconf calls a host. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : +if test "${ac_cv_build+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' @@ -2665,14 +2638,14 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : +if test "${ac_cv_host+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi @@ -2680,7 +2653,7 @@ fi $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' @@ -2759,7 +2732,7 @@ if test -n "$ac_tool_prefix"; then set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -2799,7 +2772,7 @@ if test -z "$ac_cv_prog_CC"; then set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -2852,7 +2825,7 @@ if test -z "$CC"; then set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -2892,7 +2865,7 @@ if test -z "$CC"; then set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -2951,7 +2924,7 @@ if test -z "$CC"; then set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -2995,7 +2968,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3049,8 +3022,8 @@ fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 @@ -3164,8 +3137,9 @@ sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5; } +{ as_fn_set_status 77 +as_fn_error "C compiler cannot create executables +See \`config.log' for more details." "$LINENO" 5; }; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } @@ -3207,8 +3181,8 @@ done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5; } +as_fn_error "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 @@ -3265,9 +3239,9 @@ $as_echo "$ac_try_echo"; } >&5 else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run C compiled programs. +as_fn_error "cannot run C compiled programs. If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details." "$LINENO" 5; } fi fi fi @@ -3278,7 +3252,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : +if test "${ac_cv_objext+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3318,8 +3292,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5; } +as_fn_error "cannot compute suffix of object files: cannot compile +See \`config.log' for more details." "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi @@ -3329,7 +3303,7 @@ OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : +if test "${ac_cv_c_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3366,7 +3340,7 @@ ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : +if test "${ac_cv_prog_cc_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag @@ -3444,7 +3418,7 @@ else fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : +if test "${ac_cv_prog_cc_c89+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no @@ -3545,7 +3519,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu *) : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } -if ${ac_cv_prog_cc_c99+:} false; then : +if test "${ac_cv_prog_cc_c99+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c99=no @@ -3720,7 +3694,7 @@ if test "x$ac_cv_prog_cc_c99" != xno; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : +if test "${ac_cv_prog_cc_c89+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no @@ -3816,7 +3790,7 @@ fi esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } - if ${ac_cv_prog_cc_stdc+:} false; then : + if test "${ac_cv_prog_cc_stdc+set}" = set; then : $as_echo_n "(cached) " >&6 fi @@ -3848,7 +3822,7 @@ if test -z "$CXX"; then set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CXX+:} false; then : +if test "${ac_cv_prog_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then @@ -3892,7 +3866,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CXX+:} false; then : +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then @@ -3970,7 +3944,7 @@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if ${ac_cv_cxx_compiler_gnu+:} false; then : +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -4007,7 +3981,7 @@ ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } -if ${ac_cv_prog_cxx_g+:} false; then : +if test "${ac_cv_prog_cxx_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag @@ -4101,7 +4075,7 @@ if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : + if test "${ac_cv_prog_CPP+set}" = set; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded @@ -4131,7 +4105,7 @@ else # Broken: fails on valid input. continue fi -rm -f conftest.err conftest.i conftest.$ac_ext +rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. @@ -4147,11 +4121,11 @@ else ac_preproc_ok=: break fi -rm -f conftest.err conftest.i conftest.$ac_ext +rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext +rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi @@ -4190,7 +4164,7 @@ else # Broken: fails on valid input. continue fi -rm -f conftest.err conftest.i conftest.$ac_ext +rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. @@ -4206,18 +4180,18 @@ else ac_preproc_ok=: break fi -rm -f conftest.err conftest.i conftest.$ac_ext +rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext +rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } +as_fn_error "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." "$LINENO" 5; } fi ac_ext=c @@ -4234,7 +4208,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : +if test "${ac_cv_prog_AWK+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then @@ -4271,13 +4245,13 @@ fi done if test "$AWK" = ""; then - as_fn_error $? "gawk is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "gawk is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "mmake", so it can be a program name with args. set dummy mmake; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_MMAKE+:} false; then : +if test "${ac_cv_prog_MMAKE+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$MMAKE"; then @@ -4323,7 +4297,7 @@ if test "$GCC" = "yes"; then set dummy `basename $aros_gcc_ld`; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_host_ld+:} false; then : +if test "${ac_cv_path_aros_host_ld+set}" = set; then : $as_echo_n "(cached) " >&6 else case $aros_host_ld in @@ -4365,7 +4339,7 @@ if test "$aros_host_ld" = ""; then set dummy ld; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_host_ld+:} false; then : +if test "${ac_cv_path_aros_host_ld+set}" = set; then : $as_echo_n "(cached) " >&6 else case $aros_host_ld in @@ -4403,7 +4377,7 @@ fi fi if test "$aros_host_ld" = ""; then - as_fn_error $? "ld is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "ld is required to build AROS. Please install and run configure again." "$LINENO" 5 fi aros_host_make="make" aros_host_cflags=$CFLAGS @@ -4430,7 +4404,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_aros_host_aclocal+:} false; then : +if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$aros_host_aclocal"; then @@ -4472,7 +4446,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_aros_host_autoconf+:} false; then : +if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$aros_host_autoconf"; then @@ -4514,7 +4488,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_aros_host_autoheader+:} false; then : +if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$aros_host_autoheader"; then @@ -4556,7 +4530,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_aros_host_automake+:} false; then : +if test "${ac_cv_prog_aros_host_automake+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$aros_host_automake"; then @@ -4594,10 +4568,10 @@ done if test "$aros_host_aclocal" = ""; then - as_fn_error $? "aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5 fi if test "$aros_host_automake" = ""; then - as_fn_error $? "automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5 fi case "$aros_host_cc" in @@ -4865,6 +4839,10 @@ $as_echo "$host_cpu" >&6; } aros_host_cpu="i386" ;; + mingw32*) + aros_host_cpu="i386" + ;; + *x86_64*) aros_host_cpu="x86_64" aros_host_cflags="$aros_host_cflags -isystem /mingw/include" @@ -4878,7 +4856,7 @@ $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;} esac ;; *) - as_fn_error $? "Unsupported host architecture $host" "$LINENO" 5 + as_fn_error "Unsupported host architecture $host" "$LINENO" 5 ;; esac @@ -4886,7 +4864,7 @@ esac set dummy ar; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_aros_host_ar+:} false; then : +if test "${ac_cv_prog_aros_host_ar+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$aros_host_ar"; then @@ -4920,13 +4898,13 @@ fi if test "$aros_host_ar" = ""; then - as_fn_error $? "ar is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "ar is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_aros_host_ranlib+:} false; then : +if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$aros_host_ranlib"; then @@ -4960,13 +4938,13 @@ fi if test "$aros_host_ranlib" = ""; then - as_fn_error $? "ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_aros_host_strip+:} false; then : +if test "${ac_cv_prog_aros_host_strip+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$aros_host_strip"; then @@ -5000,14 +4978,14 @@ fi if test "$aros_host_strip" = ""; then - as_fn_error $? "strip is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "strip is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "rm", so it can be a program name with args. set dummy rm; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RM+:} false; then : +if test "${ac_cv_prog_RM+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$RM"; then @@ -5041,13 +5019,13 @@ fi if test "$RM" = ""; then - as_fn_error $? "rm is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "rm is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "cp", so it can be a program name with args. set dummy cp; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CP+:} false; then : +if test "${ac_cv_prog_CP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CP"; then @@ -5081,13 +5059,13 @@ fi if test "$CP" = ""; then - as_fn_error $? "cp is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "cp is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "mv", so it can be a program name with args. set dummy mv; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_MV+:} false; then : +if test "${ac_cv_prog_MV+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$MV"; then @@ -5121,13 +5099,13 @@ fi if test "$MV" = ""; then - as_fn_error $? "mv is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "mv is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "echo", so it can be a program name with args. set dummy echo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ECHO+:} false; then : +if test "${ac_cv_prog_ECHO+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ECHO"; then @@ -5161,13 +5139,13 @@ fi if test "$ECHO" = ""; then - as_fn_error $? "echo is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "echo is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "mkdir", so it can be a program name with args. set dummy mkdir; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_MKDIR+:} false; then : +if test "${ac_cv_prog_MKDIR+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$MKDIR"; then @@ -5201,13 +5179,13 @@ fi if test "$MKDIR" = ""; then - as_fn_error $? "mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "touch", so it can be a program name with args. set dummy touch; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_TOUCH+:} false; then : +if test "${ac_cv_prog_TOUCH+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$TOUCH"; then @@ -5241,13 +5219,13 @@ fi if test "$TOUCH" = ""; then - as_fn_error $? "touch is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "touch is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "sort", so it can be a program name with args. set dummy sort; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_SORT+:} false; then : +if test "${ac_cv_prog_SORT+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$SORT"; then @@ -5281,13 +5259,13 @@ fi if test "$SORT" = ""; then - as_fn_error $? "sort is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "sort is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "uniq", so it can be a program name with args. set dummy uniq; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_UNIQ+:} false; then : +if test "${ac_cv_prog_UNIQ+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$UNIQ"; then @@ -5321,13 +5299,13 @@ fi if test "$UNIQ" = ""; then - as_fn_error $? "uniq is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "uniq is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "true", so it can be a program name with args. set dummy true; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_NOP+:} false; then : +if test "${ac_cv_prog_NOP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$NOP"; then @@ -5361,13 +5339,13 @@ fi if test "$NOP" = ""; then - as_fn_error $? "true is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "true is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "cat", so it can be a program name with args. set dummy cat; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CAT+:} false; then : +if test "${ac_cv_prog_CAT+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CAT"; then @@ -5401,13 +5379,13 @@ fi if test "$CAT" = ""; then - as_fn_error $? "cat is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "cat is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "bison", so it can be a program name with args. set dummy bison; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_BISON+:} false; then : +if test "${ac_cv_prog_BISON+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$BISON"; then @@ -5441,13 +5419,13 @@ fi if test "$BISON" = ""; then - as_fn_error $? "bison is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "bison is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_FLEX+:} false; then : +if test "${ac_cv_prog_FLEX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$FLEX"; then @@ -5481,13 +5459,13 @@ fi if test "$FLEX" = ""; then - as_fn_error $? "flex is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "flex is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "pngtopnm", so it can be a program name with args. set dummy pngtopnm; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PNGTOPNM+:} false; then : +if test "${ac_cv_prog_PNGTOPNM+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$PNGTOPNM"; then @@ -5521,13 +5499,13 @@ fi if test "$PNGTOPNM" = ""; then - as_fn_error $? "pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "ppmtoilbm", so it can be a program name with args. set dummy ppmtoilbm; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PPMTOILBM+:} false; then : +if test "${ac_cv_prog_PPMTOILBM+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$PPMTOILBM"; then @@ -5561,13 +5539,13 @@ fi if test "$PPMTOILBM" = ""; then - as_fn_error $? "ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "sed", so it can be a program name with args. set dummy sed; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_SED+:} false; then : +if test "${ac_cv_prog_SED+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$SED"; then @@ -5601,13 +5579,13 @@ fi if test "$SED" = ""; then - as_fn_error $? "sed is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "sed is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "chmod", so it can be a program name with args. set dummy chmod; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CHMOD+:} false; then : +if test "${ac_cv_prog_CHMOD+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CHMOD"; then @@ -5641,13 +5619,13 @@ fi if test "$CHMOD" = ""; then - as_fn_error $? "chmod is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "chmod is required to build AROS. Please install and run configure again." "$LINENO" 5 fi # Extract the first word of "patch", so it can be a program name with args. set dummy patch; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PATCH+:} false; then : +if test "${ac_cv_prog_PATCH+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$PATCH"; then @@ -5681,7 +5659,7 @@ fi if test "$PATCH" = ""; then - as_fn_error $? "patch is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "patch is required to build AROS. Please install and run configure again." "$LINENO" 5 fi @@ -5707,7 +5685,7 @@ sys.exit(sys.hexversion < minverhex)" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else - as_fn_error $? "too old" "$LINENO" 5 + as_fn_error "too old" "$LINENO" 5 fi am_display_PYTHON=$PYTHON else @@ -5715,7 +5693,7 @@ fi # VERSION. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; } -if ${am_cv_pathless_PYTHON+:} false; then : +if test "${am_cv_pathless_PYTHON+set}" = set; then : $as_echo_n "(cached) " >&6 else @@ -5747,7 +5725,7 @@ $as_echo "$am_cv_pathless_PYTHON" >&6; } set dummy $am_cv_pathless_PYTHON; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PYTHON+:} false; then : +if test "${ac_cv_path_PYTHON+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PYTHON in @@ -5789,13 +5767,13 @@ fi if test "$PYTHON" = :; then - as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 + as_fn_error "no suitable Python interpreter found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 $as_echo_n "checking for $am_display_PYTHON version... " >&6; } -if ${am_cv_python_version+:} false; then : +if test "${am_cv_python_version+set}" = set; then : $as_echo_n "(cached) " >&6 else am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` @@ -5814,7 +5792,7 @@ $as_echo "$am_cv_python_version" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; } -if ${am_cv_python_platform+:} false; then : +if test "${am_cv_python_platform+set}" = set; then : $as_echo_n "(cached) " >&6 else am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` @@ -5828,7 +5806,7 @@ $as_echo "$am_cv_python_platform" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } -if ${am_cv_python_pythondir+:} false; then : +if test "${am_cv_python_pythondir+set}" = set; then : $as_echo_n "(cached) " >&6 else am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || @@ -5845,7 +5823,7 @@ $as_echo "$am_cv_python_pythondir" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } -if ${am_cv_python_pyexecdir+:} false; then : +if test "${am_cv_python_pyexecdir+set}" = set; then : $as_echo_n "(cached) " >&6 else am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || @@ -5880,7 +5858,7 @@ CMP=cmp { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : +if test "${ac_cv_path_GREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then @@ -5929,7 +5907,7 @@ esac done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP @@ -5943,7 +5921,7 @@ $as_echo "$ac_cv_path_GREP" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : +if test "${ac_cv_path_EGREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -5995,7 +5973,7 @@ esac done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP @@ -6010,7 +5988,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : +if test "${ac_cv_header_stdc+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6127,7 +6105,8 @@ do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF @@ -6144,7 +6123,8 @@ for ac_header in sys/ipc.h sys/shm.h \ do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF @@ -6158,7 +6138,7 @@ for ac_header in sys/mount.h do : ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include " -if test "x$ac_cv_header_sys_mount_h" = xyes; then : +if test "x$ac_cv_header_sys_mount_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SYS_MOUNT_H 1 _ACEOF @@ -6173,7 +6153,7 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } -if eval \${$as_ac_Header+:} false; then : +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6200,7 +6180,8 @@ fi eval ac_res=\$$as_ac_Header { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 _ACEOF @@ -6213,7 +6194,7 @@ done if test $ac_header_dirent = dirent.h; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } -if ${ac_cv_search_opendir+:} false; then : +if test "${ac_cv_search_opendir+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -6247,11 +6228,11 @@ for ac_lib in '' dir; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_opendir+:} false; then : + if test "${ac_cv_search_opendir+set}" = set; then : break fi done -if ${ac_cv_search_opendir+:} false; then : +if test "${ac_cv_search_opendir+set}" = set; then : else ac_cv_search_opendir=no @@ -6270,7 +6251,7 @@ fi else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } -if ${ac_cv_search_opendir+:} false; then : +if test "${ac_cv_search_opendir+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -6304,11 +6285,11 @@ for ac_lib in '' x; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_opendir+:} false; then : + if test "${ac_cv_search_opendir+set}" = set; then : break fi done -if ${ac_cv_search_opendir+:} false; then : +if test "${ac_cv_search_opendir+set}" = set; then : else ac_cv_search_opendir=no @@ -6328,7 +6309,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; } -if ${ac_cv_header_stat_broken+:} false; then : +if test "${ac_cv_header_stat_broken+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6370,7 +6351,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : +if test "${ac_cv_header_stdc+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6482,7 +6463,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } -if ${ac_cv_header_sys_wait_h+:} false; then : +if test "${ac_cv_header_sys_wait_h+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6523,7 +6504,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } -if ${ac_cv_header_time+:} false; then : +if test "${ac_cv_header_time+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6557,7 +6538,7 @@ $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h fi ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : +if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 @@ -6570,7 +6551,7 @@ fi ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then : +if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BLOCKS 1 @@ -6590,7 +6571,7 @@ fi ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : +if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_RDEV 1 @@ -6604,7 +6585,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } -if ${ac_cv_struct_tm+:} false; then : +if test "${ac_cv_struct_tm+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6641,7 +6622,7 @@ ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_ #include <$ac_cv_struct_tm> " -if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : +if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_TM_TM_ZONE 1 @@ -6657,7 +6638,7 @@ $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h else ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include " -if test "x$ac_cv_have_decl_tzname" = xyes; then : +if test "x$ac_cv_have_decl_tzname" = x""yes; then : ac_have_decl=1 else ac_have_decl=0 @@ -6669,7 +6650,7 @@ _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 $as_echo_n "checking for tzname... " >&6; } -if ${ac_cv_var_tzname+:} false; then : +if test "${ac_cv_var_tzname+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6705,7 +6686,7 @@ $as_echo "#define HAVE_TZNAME 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" -if test "x$ac_cv_type_off_t" = xyes; then : +if test "x$ac_cv_type_off_t" = x""yes; then : else @@ -6716,7 +6697,7 @@ _ACEOF 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 : +if test "x$ac_cv_type_pid_t" = x""yes; then : else @@ -6727,7 +6708,7 @@ _ACEOF fi ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = xyes; then : +if test "x$ac_cv_type_size_t" = x""yes; then : else @@ -6739,7 +6720,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } -if ${ac_cv_type_uid_t+:} false; then : +if test "${ac_cv_type_uid_t+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6769,7 +6750,7 @@ fi ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default" -if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then : +if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_TM_TM_GMTOFF 1 @@ -6786,7 +6767,8 @@ for ac_func in getpagesize kqueue statfs statvfs \ do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF @@ -6803,7 +6785,8 @@ do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF @@ -6822,7 +6805,7 @@ done for ac_func in getpagesize do : ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" -if test "x$ac_cv_func_getpagesize" = xyes; then : +if test "x$ac_cv_func_getpagesize" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETPAGESIZE 1 _ACEOF @@ -6832,7 +6815,7 @@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 $as_echo_n "checking for working mmap... " >&6; } -if ${ac_cv_func_mmap_fixed_mapped+:} false; then : +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -6909,7 +6892,6 @@ int main () { char *data, *data2, *data3; - const char *cdata2; int i, pagesize; int fd, fd2; @@ -6934,10 +6916,10 @@ main () fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); if (fd2 < 0) return 4; - cdata2 = ""; - if (write (fd2, cdata2, 1) != 1) + data2 = ""; + if (write (fd2, data2, 1) != 1) return 5; - data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); + data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); if (data2 == MAP_FAILED) return 6; for (i = 0; i < pagesize; ++i) @@ -7224,7 +7206,7 @@ if test "$debug" != "none"; then fi done if test "$found" = "0"; then - as_fn_error $? "unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5 + as_fn_error "unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5 fi export aros_${d}_debug="1" done @@ -7284,7 +7266,7 @@ if test "$distcc" != "" -a "$distcc" != "no"; then set dummy distcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_DISTCC+:} false; then : +if test "${ac_cv_path_DISTCC+set}" = set; then : $as_echo_n "(cached) " >&6 else case $DISTCC in @@ -7341,7 +7323,7 @@ if test "$ccache" != "" -a "$ccache" != "no"; then set dummy ccache; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CCACHE+:} false; then : +if test "${ac_cv_prog_CCACHE+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CCACHE"; then @@ -7569,7 +7551,7 @@ $as_echo "$aros_ndk_version" >&6; } set dummy $android_tool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_android_tool+:} false; then : +if test "${ac_cv_path_android_tool+set}" = set; then : $as_echo_n "(cached) " >&6 else case $android_tool in @@ -7606,7 +7588,7 @@ fi if test "$android_tool" = ""; then - as_fn_error $? "android is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "android is required to build AROS. Please install and run configure again." "$LINENO" 5 fi aros_android_level=android-$aros_sdk_version @@ -7615,14 +7597,14 @@ fi echo "Use --with-sdk-version= to select another platform version" echo "You can check what plaform versions are installed in your SDK" echo "by examining contents of $aros_android_sdk/platforms directory" - as_fn_error $? "Android platform $aros_android_level is not installed" "$LINENO" 5 + as_fn_error "Android platform $aros_android_level is not installed" "$LINENO" 5 fi # Extract the first word of "ant", so it can be a program name with args. set dummy ant; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ant+:} false; then : +if test "${ac_cv_path_ant+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ant in @@ -7750,14 +7732,14 @@ case "$target_os" in fi ;; *) - as_fn_error $? "\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5 ;; esac case "$aros_target_variant" in android) if test "$android_ndk_arch" = ""; then - as_fn_error $? "\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5 fi aros_default_wbwidth=320 @@ -7821,7 +7803,7 @@ case "$target_os" in aros_default_wbheight=480 ;; *) - as_fn_error $? "\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5 ;; esac ;; @@ -7913,7 +7895,7 @@ case "$target_os" in export PATH="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH" ;; *) - as_fn_error $? "\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5 ;; esac case "$aros_target_variant" in @@ -7954,7 +7936,7 @@ case "$target_os" in aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__" ;; *) - as_fn_error $? "\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5 ;; esac ;; @@ -7979,7 +7961,7 @@ case "$target_os" in gcc_target_cpu="i386" ;; *) - as_fn_error $? "\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5 ;; esac aros_target_genmap="-Wl,-M -Xlinker >" @@ -7999,7 +7981,7 @@ case "$target_os" in gcc_target_cpu="i386" ;; *) - as_fn_error $? "\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5 ;; esac aros_target_genmap="-Wl,-M -Xlinker >" @@ -8026,7 +8008,7 @@ case "$target_os" in gcc_target_cpu="sparc" ;; *) - as_fn_error $? "\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5 ;; esac aros_config_cflags="$aros_config_cflags -D$aros_target_cpu" @@ -8130,7 +8112,7 @@ fi gcc_target_cpu="ppc" ;; *) - as_fn_error $? "\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5 ;; esac ;; @@ -8173,7 +8155,7 @@ fi aros_default_wbheight=160 ;; *) - as_fn_error $? "\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5 ;; esac if test $host_os = "cygwin"; then @@ -8208,7 +8190,7 @@ fi ignore_undefined_symbols="-ius" ;; *) - as_fn_error $? "\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5 ;; esac ;; @@ -8241,13 +8223,13 @@ fi ignore_undefined_symbols="-ius" ;; *) - as_fn_error $? "\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5 + as_fn_error "\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5 ;; esac ;; *) - as_fn_error $? "Unsupported target architecture $target" "$LINENO" 5 + as_fn_error "Unsupported target architecture $target" "$LINENO" 5 ;; esac @@ -8537,7 +8519,7 @@ if test "$kernel_tool_prefix" = "none" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; }; if test "$crosstools" != "yes"; then - as_fn_error $? "--disable-crosstools requires --with-kernel-tool-prefix= for this arch" "$LINENO" 5 + as_fn_error "--disable-crosstools requires --with-kernel-tool-prefix= for this arch" "$LINENO" 5 fi # We are building AROS crosstools, and no kernel # tools specified - assume target tools == kernel tools @@ -8560,2026 +8542,134 @@ $as_echo "yes" >&6; }; # Note that 'normally', aros_kernel_* overrides will # empty, unless specified in the per-arch sections above. - -if test "$aros_kernel_cpp" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args. -set dummy ${kernel_tool_prefix}cpp; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cpp+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cpp in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cpp="$aros_kernel_cpp" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cpp="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac + AROS_TOOL_KERNEL(aros_kernel_cpp,cpp,$aros_kernel_cpp) + if test "$aros_kernel_cpp" = ""; then + as_fn_error "cpp is required to build AROS. Please install and run configure again." "$LINENO" 5 fi -aros_kernel_cpp=$ac_cv_path_aros_kernel_cpp -if test -n "$aros_kernel_cpp"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5 -$as_echo "$aros_kernel_cpp" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + if test "x$aros_kernel_cc" = "x"; then + aros_kernel_cc=${kernel_tool_prefix}gcc + fi + AROS_TOOL_KERNEL(aros_kernel_cc,cc,$aros_kernel_cc${aros_gcc_version}) + if test "$aros_kernel_cc" = ""; then + as_fn_error "cc is required to build AROS. Please install and run configure again." "$LINENO" 5 fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_cpp=`$CC -print-prog-name=cpp` - # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args. -set dummy `basename $aros_gcc_cpp`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cpp+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cpp in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cpp="$aros_kernel_cpp" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_cpp` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cpp="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac + if test "x$aros_kernel_cxx" = "x"; then + aros_kernel_cxx=${kernel_tool_prefix}g++ + fi + AROS_TOOL_KERNEL(aros_kernel_cxx,cxx,$aros_kernel_cxx${aros_gcc_version}) + # If it's set, make sure it's really there + if test "x$aros_kernel_cxx" != "x" ; then + if test "$aros_kernel_cxx" = ""; then + as_fn_error "cxx is required to build AROS. Please install and run configure again." "$LINENO" 5 fi -aros_kernel_cpp=$ac_cv_path_aros_kernel_cpp -if test -n "$aros_kernel_cpp"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5 -$as_echo "$aros_kernel_cpp" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + fi + AROS_TOOL_KERNEL(aros_kernel_ld,ld,$aros_kernel_ld) + if test "$aros_kernel_ld" = ""; then + as_fn_error "ld is required to build AROS. Please install and run configure again." "$LINENO" 5 fi - - + AROS_TOOL_KERNEL(aros_kernel_as,as,$aros_kernel_as) + if test "$aros_kernel_as" = ""; then + as_fn_error "as is required to build AROS. Please install and run configure again." "$LINENO" 5 fi -if test "$aros_kernel_cpp" = ""; then - # Extract the first word of "cpp", so it can be a program name with args. -set dummy cpp; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cpp+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cpp in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cpp="$aros_kernel_cpp" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cpp="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac + AROS_TOOL_KERNEL(aros_kernel_ar,ar,$aros_kernel_ar) + if test "$aros_kernel_ar" = ""; then + as_fn_error "ar is required to build AROS. Please install and run configure again." "$LINENO" 5 fi -aros_kernel_cpp=$ac_cv_path_aros_kernel_cpp -if test -n "$aros_kernel_cpp"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5 -$as_echo "$aros_kernel_cpp" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + AROS_TOOL_KERNEL(aros_kernel_ranlib,ranlib,$aros_kernel_ranlib) + if test "$aros_kernel_ranlib" = ""; then + as_fn_error "ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5 +fi + AROS_TOOL_KERNEL(aros_kernel_nm,nm,$aros_kernel_nm) + if test "$aros_kernel_nm" = ""; then + as_fn_error "nm is required to build AROS. Please install and run configure again." "$LINENO" 5 +fi + AROS_TOOL_KERNEL(aros_kernel_strip,strip,$aros_kernel_strip) + if test "$aros_kernel_strip" = ""; then + as_fn_error "strip is required to build AROS. Please install and run configure again." "$LINENO" 5 fi - + # Objcopy and objdump are not required for the kernel + # toolchain on many architectures. + # So we'll look for them, but not make them strictly required. + AROS_TOOL_KERNEL(aros_kernel_objcopy,objcopy,$aros_kernel_objcopy) + AROS_TOOL_KERNEL(aros_kernel_objdump,objdump,$aros_kernel_objdump) + if test "x${crosstools}" != "xyes" ; then + if test "$aros_kernel_objcopy" = ""; then + as_fn_error "objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5 +fi + if test "$aros_kernel_objdump" = ""; then + as_fn_error "objdump is required to build AROS. Please install and run configure again." "$LINENO" 5 fi fi -else - # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args. -set dummy $aros_kernel_cpp; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cpp+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cpp in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cpp="$aros_kernel_cpp" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cpp="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac fi -aros_kernel_cpp=$ac_cv_path_aros_kernel_cpp -if test -n "$aros_kernel_cpp"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5 -$as_echo "$aros_kernel_cpp" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools" >&5 +$as_echo_n "checking which target tools... " >&6; } +if test "$crosstools" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5 +$as_echo "$target_tool_prefix" >&6; } + # We are are building AROS crosstools + tmp_tool_prefix="$AROS_CROSSTOOLSDIR/${target_tool_prefix}" + orig_target_cc="${tmp_tool_prefix}gcc${aros_gcc_version}" + orig_target_cxx="${tmp_tool_prefix}g++${aros_gcc_version}" + orig_target_cpp="${tmp_tool_prefix}cpp" + orig_target_ld="${tmp_tool_prefix}ld" + orig_target_as="${tmp_tool_prefix}as" + orig_target_ar="${tmp_tool_prefix}ar" + orig_target_ranlib="${tmp_tool_prefix}ranlib" + orig_target_nm="${tmp_tool_prefix}nm" + orig_target_strip="${tmp_tool_prefix}strip" + orig_target_objcopy="${tmp_tool_prefix}objcopy" + orig_target_objdump="${tmp_tool_prefix}objdump" else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5 +$as_echo "$kernel_tool_prefix" >&6; } + # We are *not* building AROS crosstools - use the kernel tools + orig_target_cpp="${aros_kernel_cpp}" + if test "$orig_target_cpp" = ""; then + as_fn_error "cpp is required to build AROS. Please install and run configure again." "$LINENO" 5 fi - - + orig_target_cc="${aros_kernel_cc}" + if test "$orig_target_cc" = ""; then + as_fn_error "cc is required to build AROS. Please install and run configure again." "$LINENO" 5 fi - - if test "$aros_kernel_cpp" = ""; then - as_fn_error $? "cpp is required to build AROS. Please install and run configure again." "$LINENO" 5 + orig_target_cxx="${aros_kernel_cxx}" + if test "x$orig_target_cxx" != "x" ; then + if test "$orig_target_cxx" = ""; then + as_fn_error "cxx is required to build AROS. Please install and run configure again." "$LINENO" 5 fi - if test "x$aros_kernel_cc" = "x"; then - aros_kernel_cc=${kernel_tool_prefix}gcc fi - -if test "$aros_kernel_cc${aros_gcc_version}" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args. -set dummy ${kernel_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cc+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cc in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac + orig_target_ld="${aros_kernel_ld}" + if test "$orig_target_ld" = ""; then + as_fn_error "ld is required to build AROS. Please install and run configure again." "$LINENO" 5 fi -aros_kernel_cc=$ac_cv_path_aros_kernel_cc -if test -n "$aros_kernel_cc"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5 -$as_echo "$aros_kernel_cc" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_cc=`$CC -print-prog-name=cc` - # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args. -set dummy `basename $aros_gcc_cc`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cc+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cc in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_cc` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_cc=$ac_cv_path_aros_kernel_cc -if test -n "$aros_kernel_cc"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5 -$as_echo "$aros_kernel_cc" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_cc" = ""; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cc+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cc in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_cc=$ac_cv_path_aros_kernel_cc -if test -n "$aros_kernel_cc"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5 -$as_echo "$aros_kernel_cc" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args. -set dummy $aros_kernel_cc${aros_gcc_version}; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cc+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cc in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_cc=$ac_cv_path_aros_kernel_cc -if test -n "$aros_kernel_cc"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5 -$as_echo "$aros_kernel_cc" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - if test "$aros_kernel_cc" = ""; then - as_fn_error $? "cc is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - if test "x$aros_kernel_cxx" = "x"; then - aros_kernel_cxx=${kernel_tool_prefix}g++ - fi - -if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args. -set dummy ${kernel_tool_prefix}cxx; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cxx+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cxx in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cxx="$aros_kernel_cxx" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cxx="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_cxx=$ac_cv_path_aros_kernel_cxx -if test -n "$aros_kernel_cxx"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5 -$as_echo "$aros_kernel_cxx" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_cxx=`$CC -print-prog-name=cxx` - # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args. -set dummy `basename $aros_gcc_cxx`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cxx+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cxx in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cxx="$aros_kernel_cxx" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_cxx` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cxx="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_cxx=$ac_cv_path_aros_kernel_cxx -if test -n "$aros_kernel_cxx"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5 -$as_echo "$aros_kernel_cxx" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_cxx" = ""; then - # Extract the first word of "cxx", so it can be a program name with args. -set dummy cxx; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cxx+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cxx in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cxx="$aros_kernel_cxx" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cxx="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_cxx=$ac_cv_path_aros_kernel_cxx -if test -n "$aros_kernel_cxx"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5 -$as_echo "$aros_kernel_cxx" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args. -set dummy $aros_kernel_cxx${aros_gcc_version}; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_cxx+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_cxx in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_cxx="$aros_kernel_cxx" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_cxx="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_cxx=$ac_cv_path_aros_kernel_cxx -if test -n "$aros_kernel_cxx"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5 -$as_echo "$aros_kernel_cxx" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - # If it's set, make sure it's really there - if test "x$aros_kernel_cxx" != "x" ; then - if test "$aros_kernel_cxx" = ""; then - as_fn_error $? "cxx is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - fi - -if test "$aros_kernel_ld" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args. -set dummy ${kernel_tool_prefix}ld; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ld in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ld=$ac_cv_path_aros_kernel_ld -if test -n "$aros_kernel_ld"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5 -$as_echo "$aros_kernel_ld" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_ld=`$CC -print-prog-name=ld` - # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args. -set dummy `basename $aros_gcc_ld`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ld in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_ld` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ld=$ac_cv_path_aros_kernel_ld -if test -n "$aros_kernel_ld"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5 -$as_echo "$aros_kernel_ld" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_ld" = ""; then - # Extract the first word of "ld", so it can be a program name with args. -set dummy ld; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ld in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ld=$ac_cv_path_aros_kernel_ld -if test -n "$aros_kernel_ld"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5 -$as_echo "$aros_kernel_ld" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_ld", so it can be a program name with args. -set dummy $aros_kernel_ld; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ld in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ld=$ac_cv_path_aros_kernel_ld -if test -n "$aros_kernel_ld"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5 -$as_echo "$aros_kernel_ld" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - if test "$aros_kernel_ld" = ""; then - as_fn_error $? "ld is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - -if test "$aros_kernel_as" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args. -set dummy ${kernel_tool_prefix}as; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_as+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_as in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_as="$aros_kernel_as" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_as="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_as=$ac_cv_path_aros_kernel_as -if test -n "$aros_kernel_as"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5 -$as_echo "$aros_kernel_as" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_as=`$CC -print-prog-name=as` - # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args. -set dummy `basename $aros_gcc_as`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_as+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_as in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_as="$aros_kernel_as" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_as` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_as="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_as=$ac_cv_path_aros_kernel_as -if test -n "$aros_kernel_as"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5 -$as_echo "$aros_kernel_as" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_as" = ""; then - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_as+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_as in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_as="$aros_kernel_as" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_as="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_as=$ac_cv_path_aros_kernel_as -if test -n "$aros_kernel_as"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5 -$as_echo "$aros_kernel_as" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_as", so it can be a program name with args. -set dummy $aros_kernel_as; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_as+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_as in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_as="$aros_kernel_as" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_as="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_as=$ac_cv_path_aros_kernel_as -if test -n "$aros_kernel_as"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5 -$as_echo "$aros_kernel_as" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - if test "$aros_kernel_as" = ""; then - as_fn_error $? "as is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - -if test "$aros_kernel_ar" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args. -set dummy ${kernel_tool_prefix}ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ar+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ar in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ar="$aros_kernel_ar" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ar="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ar=$ac_cv_path_aros_kernel_ar -if test -n "$aros_kernel_ar"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5 -$as_echo "$aros_kernel_ar" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_ar=`$CC -print-prog-name=ar` - # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args. -set dummy `basename $aros_gcc_ar`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ar+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ar in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ar="$aros_kernel_ar" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_ar` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ar="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ar=$ac_cv_path_aros_kernel_ar -if test -n "$aros_kernel_ar"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5 -$as_echo "$aros_kernel_ar" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_ar" = ""; then - # Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ar+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ar in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ar="$aros_kernel_ar" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ar="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ar=$ac_cv_path_aros_kernel_ar -if test -n "$aros_kernel_ar"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5 -$as_echo "$aros_kernel_ar" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_ar", so it can be a program name with args. -set dummy $aros_kernel_ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ar+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ar in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ar="$aros_kernel_ar" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ar="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ar=$ac_cv_path_aros_kernel_ar -if test -n "$aros_kernel_ar"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5 -$as_echo "$aros_kernel_ar" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - if test "$aros_kernel_ar" = ""; then - as_fn_error $? "ar is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - -if test "$aros_kernel_ranlib" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${kernel_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ranlib+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ranlib in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ranlib="$aros_kernel_ranlib" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ranlib="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ranlib=$ac_cv_path_aros_kernel_ranlib -if test -n "$aros_kernel_ranlib"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5 -$as_echo "$aros_kernel_ranlib" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_ranlib=`$CC -print-prog-name=ranlib` - # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args. -set dummy `basename $aros_gcc_ranlib`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ranlib+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ranlib in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ranlib="$aros_kernel_ranlib" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_ranlib` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ranlib="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ranlib=$ac_cv_path_aros_kernel_ranlib -if test -n "$aros_kernel_ranlib"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5 -$as_echo "$aros_kernel_ranlib" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_ranlib" = ""; then - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ranlib+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ranlib in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ranlib="$aros_kernel_ranlib" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ranlib="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ranlib=$ac_cv_path_aros_kernel_ranlib -if test -n "$aros_kernel_ranlib"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5 -$as_echo "$aros_kernel_ranlib" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args. -set dummy $aros_kernel_ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_ranlib+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_ranlib in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_ranlib="$aros_kernel_ranlib" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_ranlib="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_ranlib=$ac_cv_path_aros_kernel_ranlib -if test -n "$aros_kernel_ranlib"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5 -$as_echo "$aros_kernel_ranlib" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - if test "$aros_kernel_ranlib" = ""; then - as_fn_error $? "ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - -if test "$aros_kernel_nm" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args. -set dummy ${kernel_tool_prefix}nm; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_nm+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_nm in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_nm="$aros_kernel_nm" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_nm="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_nm=$ac_cv_path_aros_kernel_nm -if test -n "$aros_kernel_nm"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5 -$as_echo "$aros_kernel_nm" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_nm=`$CC -print-prog-name=nm` - # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args. -set dummy `basename $aros_gcc_nm`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_nm+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_nm in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_nm="$aros_kernel_nm" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_nm` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_nm="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_nm=$ac_cv_path_aros_kernel_nm -if test -n "$aros_kernel_nm"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5 -$as_echo "$aros_kernel_nm" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_nm" = ""; then - # Extract the first word of "nm", so it can be a program name with args. -set dummy nm; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_nm+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_nm in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_nm="$aros_kernel_nm" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_nm="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_nm=$ac_cv_path_aros_kernel_nm -if test -n "$aros_kernel_nm"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5 -$as_echo "$aros_kernel_nm" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_nm", so it can be a program name with args. -set dummy $aros_kernel_nm; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_nm+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_nm in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_nm="$aros_kernel_nm" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_nm="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_nm=$ac_cv_path_aros_kernel_nm -if test -n "$aros_kernel_nm"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5 -$as_echo "$aros_kernel_nm" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - if test "$aros_kernel_nm" = ""; then - as_fn_error $? "nm is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - -if test "$aros_kernel_strip" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args. -set dummy ${kernel_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_strip+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_strip in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_strip="$aros_kernel_strip" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_strip="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_strip=$ac_cv_path_aros_kernel_strip -if test -n "$aros_kernel_strip"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5 -$as_echo "$aros_kernel_strip" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_strip=`$CC -print-prog-name=strip` - # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args. -set dummy `basename $aros_gcc_strip`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_strip+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_strip in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_strip="$aros_kernel_strip" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_strip` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_strip="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_strip=$ac_cv_path_aros_kernel_strip -if test -n "$aros_kernel_strip"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5 -$as_echo "$aros_kernel_strip" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_strip" = ""; then - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_strip+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_strip in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_strip="$aros_kernel_strip" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_strip="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_strip=$ac_cv_path_aros_kernel_strip -if test -n "$aros_kernel_strip"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5 -$as_echo "$aros_kernel_strip" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_strip", so it can be a program name with args. -set dummy $aros_kernel_strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_strip+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_strip in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_strip="$aros_kernel_strip" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_strip="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_strip=$ac_cv_path_aros_kernel_strip -if test -n "$aros_kernel_strip"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5 -$as_echo "$aros_kernel_strip" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - if test "$aros_kernel_strip" = ""; then - as_fn_error $? "strip is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - - # Objcopy and objdump are not required for the kernel - # toolchain on many architectures. - # So we'll look for them, but not make them strictly required. - -if test "$aros_kernel_objcopy" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args. -set dummy ${kernel_tool_prefix}objcopy; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_objcopy+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_objcopy in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_objcopy="$aros_kernel_objcopy" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_objcopy="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_objcopy=$ac_cv_path_aros_kernel_objcopy -if test -n "$aros_kernel_objcopy"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5 -$as_echo "$aros_kernel_objcopy" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_objcopy=`$CC -print-prog-name=objcopy` - # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args. -set dummy `basename $aros_gcc_objcopy`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_objcopy+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_objcopy in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_objcopy="$aros_kernel_objcopy" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_objcopy` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_objcopy="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_objcopy=$ac_cv_path_aros_kernel_objcopy -if test -n "$aros_kernel_objcopy"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5 -$as_echo "$aros_kernel_objcopy" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_objcopy" = ""; then - # Extract the first word of "objcopy", so it can be a program name with args. -set dummy objcopy; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_objcopy+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_objcopy in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_objcopy="$aros_kernel_objcopy" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_objcopy="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_objcopy=$ac_cv_path_aros_kernel_objcopy -if test -n "$aros_kernel_objcopy"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5 -$as_echo "$aros_kernel_objcopy" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args. -set dummy $aros_kernel_objcopy; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_objcopy+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_objcopy in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_objcopy="$aros_kernel_objcopy" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_objcopy="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_objcopy=$ac_cv_path_aros_kernel_objcopy -if test -n "$aros_kernel_objcopy"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5 -$as_echo "$aros_kernel_objcopy" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - -if test "$aros_kernel_objdump" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args. -set dummy ${kernel_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_objdump+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_objdump in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_objdump="$aros_kernel_objdump" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_objdump="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_objdump=$ac_cv_path_aros_kernel_objdump -if test -n "$aros_kernel_objdump"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5 -$as_echo "$aros_kernel_objdump" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_objdump=`$CC -print-prog-name=objdump` - # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args. -set dummy `basename $aros_gcc_objdump`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_objdump+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_objdump in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_objdump="$aros_kernel_objdump" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_objdump` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_objdump="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_objdump=$ac_cv_path_aros_kernel_objdump -if test -n "$aros_kernel_objdump"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5 -$as_echo "$aros_kernel_objdump" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_objdump" = ""; then - # Extract the first word of "objdump", so it can be a program name with args. -set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_objdump+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_objdump in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_objdump="$aros_kernel_objdump" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_objdump="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_objdump=$ac_cv_path_aros_kernel_objdump -if test -n "$aros_kernel_objdump"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5 -$as_echo "$aros_kernel_objdump" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args. -set dummy $aros_kernel_objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_objdump+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_objdump in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_objdump="$aros_kernel_objdump" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_objdump="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_objdump=$ac_cv_path_aros_kernel_objdump -if test -n "$aros_kernel_objdump"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5 -$as_echo "$aros_kernel_objdump" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - - if test "x${crosstools}" != "xyes" ; then - if test "$aros_kernel_objcopy" = ""; then - as_fn_error $? "objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - if test "$aros_kernel_objdump" = ""; then - as_fn_error $? "objdump is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - fi -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools" >&5 -$as_echo_n "checking which target tools... " >&6; } -if test "$crosstools" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5 -$as_echo "$target_tool_prefix" >&6; } - # We are are building AROS crosstools - tmp_tool_prefix="$AROS_CROSSTOOLSDIR/${target_tool_prefix}" - orig_target_cc="${tmp_tool_prefix}gcc${aros_gcc_version}" - orig_target_cxx="${tmp_tool_prefix}g++${aros_gcc_version}" - orig_target_cpp="${tmp_tool_prefix}cpp" - orig_target_ld="${tmp_tool_prefix}ld" - orig_target_as="${tmp_tool_prefix}as" - orig_target_ar="${tmp_tool_prefix}ar" - orig_target_ranlib="${tmp_tool_prefix}ranlib" - orig_target_nm="${tmp_tool_prefix}nm" - orig_target_strip="${tmp_tool_prefix}strip" - orig_target_objcopy="${tmp_tool_prefix}objcopy" - orig_target_objdump="${tmp_tool_prefix}objdump" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5 -$as_echo "$kernel_tool_prefix" >&6; } - # We are *not* building AROS crosstools - use the kernel tools - orig_target_cpp="${aros_kernel_cpp}" - if test "$orig_target_cpp" = ""; then - as_fn_error $? "cpp is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - orig_target_cc="${aros_kernel_cc}" - if test "$orig_target_cc" = ""; then - as_fn_error $? "cc is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - orig_target_cxx="${aros_kernel_cxx}" - if test "x$orig_target_cxx" != "x" ; then - if test "$orig_target_cxx" = ""; then - as_fn_error $? "cxx is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - fi - orig_target_ld="${aros_kernel_ld}" - if test "$orig_target_ld" = ""; then - as_fn_error $? "ld is required to build AROS. Please install and run configure again." "$LINENO" 5 -fi - orig_target_as="${aros_kernel_as}" - if test "$orig_target_as" = ""; then - as_fn_error $? "as is required to build AROS. Please install and run configure again." "$LINENO" 5 + orig_target_as="${aros_kernel_as}" + if test "$orig_target_as" = ""; then + as_fn_error "as is required to build AROS. Please install and run configure again." "$LINENO" 5 fi orig_target_ar="${aros_kernel_ar}" if test "$orig_target_ar" = ""; then - as_fn_error $? "ar is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "ar is required to build AROS. Please install and run configure again." "$LINENO" 5 fi orig_target_ranlib="${aros_kernel_ranlib}" if test "$orig_target_ranlib" = ""; then - as_fn_error $? "ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5 fi orig_target_nm="${aros_kernel_nm}" if test "$orig_target_nm" = ""; then - as_fn_error $? "nm is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "nm is required to build AROS. Please install and run configure again." "$LINENO" 5 fi orig_target_strip="${aros_kernel_strip}" if test "$orig_target_strip" = ""; then - as_fn_error $? "strip is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "strip is required to build AROS. Please install and run configure again." "$LINENO" 5 fi orig_target_objcopy="${aros_kernel_objcopy}" if test "$orig_target_objcopy" = ""; then - as_fn_error $? "objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5 fi orig_target_objdump="${aros_kernel_objdump}" if test "$orig_target_objdump" = ""; then - as_fn_error $? "objdump is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "objdump is required to build AROS. Please install and run configure again." "$LINENO" 5 fi fi @@ -10645,181 +8735,9 @@ aros_target_mkdep="$aros_host_mkdep" # The default tools executables to be linked to. if test "$rescomp" != ""; then - -if test "" = ""; then - if test "$cross_compiling" = "yes" ; then - # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args. -set dummy ${kernel_tool_prefix}$rescomp; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_rescomp+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_rescomp in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp -if test -n "$aros_kernel_rescomp"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5 -$as_echo "$aros_kernel_rescomp" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - if test "$GCC" = "yes"; then - aros_gcc_$rescomp=`$CC -print-prog-name=$rescomp` - # Extract the first word of "`basename $aros_gcc_[$rescomp]`", so it can be a program name with args. -set dummy `basename $aros_gcc_$rescomp`; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_rescomp+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_rescomp in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in `dirname $aros_gcc_$rescomp` -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp -if test -n "$aros_kernel_rescomp"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5 -$as_echo "$aros_kernel_rescomp" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test "$aros_kernel_rescomp" = ""; then - # Extract the first word of "$rescomp", so it can be a program name with args. -set dummy $rescomp; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_rescomp+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_rescomp in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp -if test -n "$aros_kernel_rescomp"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5 -$as_echo "$aros_kernel_rescomp" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - fi -else - # Extract the first word of "", so it can be a program name with args. -set dummy ; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_aros_kernel_rescomp+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $aros_kernel_rescomp in - [\\/]* | ?:[\\/]*) - ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp -if test -n "$aros_kernel_rescomp"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5 -$as_echo "$aros_kernel_rescomp" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi - + AROS_TOOL_KERNEL(aros_kernel_rescomp,$rescomp) if test "$aros_kernel_rescomp" = ""; then - as_fn_error $? "$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5 + as_fn_error "$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5 fi fi @@ -11469,7 +9387,7 @@ if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" if test "x-$need_dlopen" != "x-no" ; then ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = xyes; then : +if test "x$ac_cv_func_dlopen" = x""yes; then : have_dl="yes" else have_dl="no" @@ -11478,7 +9396,7 @@ fi if test "x-$have_dl" = "x-no" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11512,7 +9430,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : have_dl="yes" aros_host_ldflags="$aros_host_ldflags -ldl" else @@ -11521,7 +9439,7 @@ fi fi if test "x-$have_dl" = "x-no" ; then - as_fn_error $? "dlopen() dynamic linker functions not available" "$LINENO" 5 + as_fn_error "dlopen() dynamic linker functions not available" "$LINENO" 5 fi fi @@ -11557,8 +9475,8 @@ if test "x$with_x" = xno; then have_x=disabled else case $x_includes,$x_libraries in #( - *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( - *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : + *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( + *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : $as_echo_n "(cached) " >&6 else # One or both of the vars are not set, and there is no cached value. @@ -11575,7 +9493,7 @@ libdir: @echo libdir='${LIBDIR}' _ACEOF if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then - # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. + # GNU make sometimes prints "make[1]: Entering...", which would confuse us. for ac_var in incroot usrlibdir libdir; do eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" done @@ -11661,7 +9579,7 @@ else fi done fi -rm -f conftest.err conftest.i conftest.$ac_ext +rm -f conftest.err conftest.$ac_ext fi # $ac_x_includes = no if test "$ac_x_libraries" = no; then @@ -11750,7 +9668,7 @@ fi if test "x-$no_x" = "x-yes" ; then if test "x-$x11_hidd" != "x-auto" ; then - as_fn_error $? "X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5 + as_fn_error "X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5 fi else @@ -11776,7 +9694,7 @@ fi for ac_header in sys/ipc.h do : ac_fn_c_check_header_mongrel "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_ipc_h" = xyes; then : +if test "x$ac_cv_header_sys_ipc_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SYS_IPC_H 1 _ACEOF @@ -11788,7 +9706,7 @@ done for ac_header in sys/shm.h do : ac_fn_c_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_shm_h" = xyes; then : +if test "x$ac_cv_header_sys_shm_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SYS_SHM_H 1 _ACEOF @@ -11804,7 +9722,7 @@ done CFLAGS="$CFLAGS $x_cflags" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; } -if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then : +if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11838,7 +9756,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; } -if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then : +if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x""yes; then : have_xshm=yes fi @@ -11849,7 +9767,7 @@ fi if test "x-$have_xshm" = "x-yes" ; then DO_XSHM_SUPPORT="1" elif test "x-$x11_hidd_shm" = "x-yes" ; then - as_fn_error $? "X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5 + as_fn_error "X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5 else DO_XSHM_SUPPORT="0" fi @@ -11875,7 +9793,7 @@ fi CFLAGS="$CFLAGS $x_cflags" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; } -if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then : +if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11909,7 +9827,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; } -if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then : +if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then : have_vidmode=yes fi @@ -11919,7 +9837,7 @@ fi if test "x-$have_vidmode" = "x-yes" ; then DO_VIDMODE_SUPPORT="1" elif test "x-$x11_hidd_vidmode" = "x-yes" ; then - as_fn_error $? "X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5 + as_fn_error "X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5 else DO_VIDMODE_SUPPORT="0" fi @@ -11988,7 +9906,7 @@ fi set dummy sdl-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_SDL_CONFIG+:} false; then : +if test "${ac_cv_path_SDL_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $SDL_CONFIG in @@ -12201,7 +10119,7 @@ rm -f core conftest.err conftest.$ac_objext \ if test "x-$have_sdl" != "x-yes" ; then if test "x-$sdl_hidd" != "x-auto" ; then - as_fn_error $? "SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5 + as_fn_error "SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5 fi else @@ -12212,7 +10130,7 @@ rm -f core conftest.err conftest.$ac_objext \ fi ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_soundcard_h" = xyes; then : +if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : fi @@ -12549,21 +10467,10 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then - if test "x$cache_file" != "x/dev/null"; then + test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} - if test ! -f "$cache_file" || test -h "$cache_file"; then - cat confcache >"$cache_file" - else - case $cache_file in #( - */* | ?:*) - mv -f confcache "$cache_file"$$ && - mv -f "$cache_file"$$ "$cache_file" ;; #( - *) - mv -f confcache "$cache_file" ;; - esac - fi - fi + cat confcache >$cache_file else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} @@ -12579,7 +10486,6 @@ DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= -U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' @@ -12595,7 +10501,7 @@ LTLIBOBJS=$ac_ltlibobjs -: "${CONFIG_STATUS=./config.status}" +: ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" @@ -12696,7 +10602,6 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -12742,19 +10647,19 @@ export LANGUAGE (unset CDPATH) >/dev/null 2>&1 && unset CDPATH -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. +# script with status $?, using 1 if that was 0. as_fn_error () { - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 fi - $as_echo "$as_me: error: $2" >&2 + $as_echo "$as_me: error: $1" >&2 as_fn_exit $as_status } # as_fn_error @@ -12950,7 +10855,7 @@ $as_echo X"$as_dir" | test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" } # as_fn_mkdir_p @@ -13004,7 +10909,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.68. Invocation command line was +generated by GNU Autoconf 2.65. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -13070,10 +10975,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status -configured by $0, generated by GNU Autoconf 2.68, +configured by $0, generated by GNU Autoconf 2.65, with options \\"\$ac_cs_config\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2009 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -13088,16 +10993,11 @@ ac_need_defaults=: while test $# != 0 do case $1 in - --*=?*) + --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; - --*=) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg= - ac_shift=: - ;; *) ac_option=$1 ac_optarg=$2 @@ -13119,7 +11019,6 @@ do $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; @@ -13132,7 +11031,7 @@ do ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - as_fn_error $? "ambiguous option: \`$1' + as_fn_error "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; @@ -13141,7 +11040,7 @@ Try \`$0 --help' for more information.";; ac_cs_silent=: ;; # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' + -*) as_fn_error "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" @@ -13234,7 +11133,7 @@ do "tools/collect-aros/env.h") CONFIG_FILES="$CONFIG_FILES tools/collect-aros/env.h" ;; "${aros_gendir}/arch/all-android/bootstrap/app/default.properties") CONFIG_FILES="$CONFIG_FILES ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -13257,10 +11156,9 @@ fi # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp= ac_tmp= + tmp= trap 'exit_status=$? - : "${ac_tmp:=$tmp}" - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } @@ -13268,13 +11166,12 @@ $debug || { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -d "$tmp" + test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -ac_tmp=$tmp +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -13291,12 +11188,12 @@ if test "x$ac_cr" = x; then fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' + ac_cs_awk_cr='\r' else ac_cs_awk_cr=$ac_cr fi -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF @@ -13305,18 +11202,18 @@ _ACEOF echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi @@ -13324,7 +11221,7 @@ done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h @@ -13372,7 +11269,7 @@ t delim rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK -cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && +cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" @@ -13404,29 +11301,21 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || as_fn_error "could not setup config files machinery" "$LINENO" 5 _ACEOF -# VPATH may cause trouble with some makes, so we remove sole $(srcdir), -# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ -h -s/// -s/^/:/ -s/[ ]*$/:/ -s/:\$(srcdir):/:/g -s/:\${srcdir}:/:/g -s/:@srcdir@:/:/g -s/^:*// + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ s/:*$// -x -s/\(=[ ]*\).*/\1/ -G -s/\n// s/^[^=]*=[ ]*$// }' fi @@ -13438,7 +11327,7 @@ fi # test -n "$CONFIG_FILES" # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then -cat >"$ac_tmp/defines.awk" <<\_ACAWK || +cat >"$tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF @@ -13450,11 +11339,11 @@ _ACEOF # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do - ac_tt=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_tt"; then + ac_t=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_t"; then break elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi @@ -13539,7 +11428,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 + as_fn_error "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" @@ -13552,7 +11441,7 @@ do esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -13571,7 +11460,7 @@ do for ac_f do case $ac_f in - -) ac_f="$ac_tmp/stdin";; + -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. @@ -13580,7 +11469,7 @@ do [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" @@ -13606,8 +11495,8 @@ $as_echo "$as_me: creating $ac_file" >&6;} esac case $ac_tag in - *:-:* | *:-) cat >"$ac_tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + *:-:* | *:-) cat >"$tmp/stdin" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -13732,24 +11621,23 @@ s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t $ac_datarootdir_hack " -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ - "$ac_tmp/out"`; test -z "$ac_out"; } && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&5 +which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&2;} +which seems to be undefined. Please make sure it is defined." >&2;} - rm -f "$ac_tmp/stdin" + rm -f "$tmp/stdin" case $ac_file in - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; :H) # @@ -13758,21 +11646,21 @@ which seems to be undefined. Please make sure it is defined" >&2;} if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" - } >"$ac_tmp/config.h" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" - mv "$ac_tmp/config.h" "$ac_file" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + mv "$tmp/config.h" "$ac_file" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error $? "could not create -" "$LINENO" 5 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error "could not create -" "$LINENO" 5 fi ;; @@ -13814,7 +11702,7 @@ _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || - as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. @@ -13835,7 +11723,7 @@ if test "$no_create" != yes; then exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit 1 + $ac_cs_success || as_fn_exit $? fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 diff --git a/configure.in b/configure.in index 63004e995b..7eee5ba300 100644 --- a/configure.in +++ b/configure.in @@ -383,6 +383,11 @@ case "$host_os" in aros_host_cpu="i386" ;; + mingw32*) + dnl Native i386 gcc for MinGW32 reports 'mingw32' with -dumpmachine switch + aros_host_cpu="i386" + ;; + *x86_64*) aros_host_cpu="x86_64" dnl Dragon's x86_64-w64-mingw32-gcc is a bit broken. It ignores standard $prefix/include -- 2.11.4.GIT