X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=configure;h=13f1960e4fd315711ae63b0d5ac8e0a71d9aa24b;hb=32866df75ece22ec1fd88e99e3c5effe9238e072;hp=6bdaf81c304a340d78c3fbd46b04d60b21aba821;hpb=92f01d6100e9f8bf2c4178dc34c1084119d6292d;p=deliverable%2Fbinutils-gdb.git diff --git a/configure b/configure index 6bdaf81c30..13f1960e4f 100755 --- a/configure +++ b/configure @@ -272,7 +272,7 @@ PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="move-if-change" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S TOPLEVEL_CONFIGURE_ARGUMENTS build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs CC_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES OBJCOPY OBJDUMP CFLAGS_FOR_BUILD CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir htmldir LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S TOPLEVEL_CONFIGURE_ARGUMENTS build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs CC_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES OBJCOPY OBJDUMP CFLAGS_FOR_BUILD CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS' ac_subst_files='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag' # Initialize some variables set by options. @@ -737,6 +737,110 @@ ac_env_CXXFLAGS_set=${CXXFLAGS+set} ac_env_CXXFLAGS_value=$CXXFLAGS ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} ac_cv_env_CXXFLAGS_value=$CXXFLAGS +ac_env_AR_set=${AR+set} +ac_env_AR_value=$AR +ac_cv_env_AR_set=${AR+set} +ac_cv_env_AR_value=$AR +ac_env_AS_set=${AS+set} +ac_env_AS_value=$AS +ac_cv_env_AS_set=${AS+set} +ac_cv_env_AS_value=$AS +ac_env_DLLTOOL_set=${DLLTOOL+set} +ac_env_DLLTOOL_value=$DLLTOOL +ac_cv_env_DLLTOOL_set=${DLLTOOL+set} +ac_cv_env_DLLTOOL_value=$DLLTOOL +ac_env_LD_set=${LD+set} +ac_env_LD_value=$LD +ac_cv_env_LD_set=${LD+set} +ac_cv_env_LD_value=$LD +ac_env_LIPO_set=${LIPO+set} +ac_env_LIPO_value=$LIPO +ac_cv_env_LIPO_set=${LIPO+set} +ac_cv_env_LIPO_value=$LIPO +ac_env_NM_set=${NM+set} +ac_env_NM_value=$NM +ac_cv_env_NM_set=${NM+set} +ac_cv_env_NM_value=$NM +ac_env_RANLIB_set=${RANLIB+set} +ac_env_RANLIB_value=$RANLIB +ac_cv_env_RANLIB_set=${RANLIB+set} +ac_cv_env_RANLIB_value=$RANLIB +ac_env_STRIP_set=${STRIP+set} +ac_env_STRIP_value=$STRIP +ac_cv_env_STRIP_set=${STRIP+set} +ac_cv_env_STRIP_value=$STRIP +ac_env_WINDRES_set=${WINDRES+set} +ac_env_WINDRES_value=$WINDRES +ac_cv_env_WINDRES_set=${WINDRES+set} +ac_cv_env_WINDRES_value=$WINDRES +ac_env_OBJCOPY_set=${OBJCOPY+set} +ac_env_OBJCOPY_value=$OBJCOPY +ac_cv_env_OBJCOPY_set=${OBJCOPY+set} +ac_cv_env_OBJCOPY_value=$OBJCOPY +ac_env_OBJDUMP_set=${OBJDUMP+set} +ac_env_OBJDUMP_value=$OBJDUMP +ac_cv_env_OBJDUMP_set=${OBJDUMP+set} +ac_cv_env_OBJDUMP_value=$OBJDUMP +ac_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set} +ac_env_CC_FOR_TARGET_value=$CC_FOR_TARGET +ac_cv_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set} +ac_cv_env_CC_FOR_TARGET_value=$CC_FOR_TARGET +ac_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set} +ac_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET +ac_cv_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set} +ac_cv_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET +ac_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set} +ac_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET +ac_cv_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set} +ac_cv_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET +ac_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set} +ac_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET +ac_cv_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set} +ac_cv_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET +ac_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set} +ac_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET +ac_cv_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set} +ac_cv_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET +ac_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set} +ac_env_AR_FOR_TARGET_value=$AR_FOR_TARGET +ac_cv_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set} +ac_cv_env_AR_FOR_TARGET_value=$AR_FOR_TARGET +ac_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set} +ac_env_AS_FOR_TARGET_value=$AS_FOR_TARGET +ac_cv_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set} +ac_cv_env_AS_FOR_TARGET_value=$AS_FOR_TARGET +ac_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set} +ac_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET +ac_cv_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set} +ac_cv_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET +ac_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set} +ac_env_LD_FOR_TARGET_value=$LD_FOR_TARGET +ac_cv_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set} +ac_cv_env_LD_FOR_TARGET_value=$LD_FOR_TARGET +ac_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set} +ac_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET +ac_cv_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set} +ac_cv_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET +ac_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set} +ac_env_NM_FOR_TARGET_value=$NM_FOR_TARGET +ac_cv_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set} +ac_cv_env_NM_FOR_TARGET_value=$NM_FOR_TARGET +ac_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set} +ac_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET +ac_cv_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set} +ac_cv_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET +ac_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set} +ac_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET +ac_cv_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set} +ac_cv_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET +ac_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set} +ac_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET +ac_cv_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set} +ac_cv_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET +ac_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set} +ac_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET +ac_cv_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set} +ac_cv_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET # # Report the --help message. @@ -857,6 +961,7 @@ Optional Packages: use given path to find target tools during the build --with-datarootdir Use datarootdir as the data root directory. --with-docdir Install documentation in this directory. + --with-pdfdir Install pdf in this directory. --with-htmldir Install html in this directory. Some influential environment variables: @@ -868,6 +973,47 @@ Some influential environment variables: headers in a nonstandard directory CXX C++ compiler command CXXFLAGS C++ compiler flags + AR AR for the host + AS AS for the host + DLLTOOL DLLTOOL for the host + LD LD for the host + LIPO LIPO for the host + NM NM for the host + RANLIB RANLIB for the host + STRIP STRIP for the host + WINDRES WINDRES for the host + OBJCOPY OBJCOPY for the host + OBJDUMP OBJDUMP for the host + CC_FOR_TARGET + CC for the target + CXX_FOR_TARGET + CXX for the target + GCC_FOR_TARGET + GCC for the target + GCJ_FOR_TARGET + GCJ for the target + GFORTRAN_FOR_TARGET + GFORTRAN for the target + AR_FOR_TARGET + AR for the target + AS_FOR_TARGET + AS for the target + DLLTOOL_FOR_TARGET + DLLTOOL for the target + LD_FOR_TARGET + LD for the target + LIPO_FOR_TARGET + LIPO for the target + NM_FOR_TARGET + NM for the target + OBJDUMP_FOR_TARGET + OBJDUMP for the target + RANLIB_FOR_TARGET + RANLIB for the target + STRIP_FOR_TARGET + STRIP for the target + WINDRES_FOR_TARGET + WINDRES for the target Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1619,9 +1765,10 @@ if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi # Quote arguments with shell meta charatcers. TOPLEVEL_CONFIGURE_ARGUMENTS= set -- "$progname" "$@" -for ac_arg; do +for ac_arg +do case "$ac_arg" in - *" "*|*" "*|*\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?*) + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` # if the argument is of the form -foo=baz, quote the baz part only ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;; @@ -1928,7 +2075,7 @@ esac # Disable libmudflap on some systems. if test x$enable_libmudflap = x ; then case "${target}" in - *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu) + *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-linux-uclibc* | *-*-uclinux*) # Enable libmudflap by default in GNU and friends. ;; *-*-freebsd*) @@ -2080,6 +2227,9 @@ case "${target}" in arm*-*-linux-gnueabi) noconfigdirs="$noconfigdirs target-libffi target-qthreads" noconfigdirs="$noconfigdirs target-libjava target-libobjc" + case ${with_newlib} in + no) noconfigdirs="$noconfigdirs target-newlib target-libgloss" + esac ;; arm*-*-symbianelf*) noconfigdirs="$noconfigdirs ${libgcj} target-libiberty" @@ -4330,9 +4480,11 @@ main () #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,0) choke me #endif - mpfr_t n; mpfr_init(n); - mpfr_t x; mpfr_init(x); + mpfr_t n; + mpfr_t x; int t; + mpfr_init (n); + mpfr_init (x); mpfr_atan2 (n, n, x, GMP_RNDN); mpfr_erfc (n, x, GMP_RNDN); mpfr_subnormalize (x, t, GMP_RNDN); @@ -4675,7 +4827,7 @@ Supported languages are: ${potential_languages}" >&2;} fi - ac_configure_args=`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[^ ]*//' -e 's/$/ --enable-languages='"$enable_languages"/ ` + ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" ` fi # Handle --disable- generically. @@ -6077,7 +6229,55 @@ test -n "$host_alias" && ncn_tool_prefix=$host_alias- ncn_target_tool_prefix= test -n "$target_alias" && ncn_target_tool_prefix=$target_alias- - for ncn_progname in ar; do + + +if test -n "$AR"; then + ac_cv_prog_AR=$AR +elif test -n "$ac_cv_prog_AR"; then + AR=$ac_cv_prog_AR +fi + +if test -n "$ac_cv_prog_AR"; then + for ncn_progname in ar; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in ar; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -6164,7 +6364,55 @@ if test -z "$ac_cv_prog_AR" ; then fi fi - for ncn_progname in as; do + + +if test -n "$AS"; then + ac_cv_prog_AS=$AS +elif test -n "$ac_cv_prog_AS"; then + AS=$ac_cv_prog_AS +fi + +if test -n "$ac_cv_prog_AS"; then + for ncn_progname in as; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_AS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AS"; then + ac_cv_prog_AS="$AS" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AS="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AS=$ac_cv_prog_AS +if test -n "$AS"; then + echo "$as_me:$LINENO: result: $AS" >&5 +echo "${ECHO_T}$AS" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in as; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -6251,7 +6499,55 @@ if test -z "$ac_cv_prog_AS" ; then fi fi - for ncn_progname in dlltool; do + + +if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL=$DLLTOOL +elif test -n "$ac_cv_prog_DLLTOOL"; then + DLLTOOL=$ac_cv_prog_DLLTOOL +fi + +if test -n "$ac_cv_prog_DLLTOOL"; then + for ncn_progname in dlltool; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_DLLTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DLLTOOL="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + echo "$as_me:$LINENO: result: $DLLTOOL" >&5 +echo "${ECHO_T}$DLLTOOL" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in dlltool; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -6338,7 +6634,55 @@ if test -z "$ac_cv_prog_DLLTOOL" ; then fi fi - for ncn_progname in ld; do + + +if test -n "$LD"; then + ac_cv_prog_LD=$LD +elif test -n "$ac_cv_prog_LD"; then + LD=$ac_cv_prog_LD +fi + +if test -n "$ac_cv_prog_LD"; then + for ncn_progname in ld; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$LD"; then + ac_cv_prog_LD="$LD" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LD="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +LD=$ac_cv_prog_LD +if test -n "$LD"; then + echo "$as_me:$LINENO: result: $LD" >&5 +echo "${ECHO_T}$LD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in ld; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -6425,7 +6769,55 @@ if test -z "$ac_cv_prog_LD" ; then fi fi - for ncn_progname in lipo; do + + +if test -n "$LIPO"; then + ac_cv_prog_LIPO=$LIPO +elif test -n "$ac_cv_prog_LIPO"; then + LIPO=$ac_cv_prog_LIPO +fi + +if test -n "$ac_cv_prog_LIPO"; then + for ncn_progname in lipo; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_LIPO+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$LIPO"; then + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LIPO="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +LIPO=$ac_cv_prog_LIPO +if test -n "$LIPO"; then + echo "$as_me:$LINENO: result: $LIPO" >&5 +echo "${ECHO_T}$LIPO" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in lipo; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -6512,10 +6904,18 @@ if test -z "$ac_cv_prog_LIPO" ; then fi fi - for ncn_progname in nm; do - if test -n "$ncn_tool_prefix"; then - # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. -set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 + + +if test -n "$NM"; then + ac_cv_prog_NM=$NM +elif test -n "$ac_cv_prog_NM"; then + NM=$ac_cv_prog_NM +fi + +if test -n "$ac_cv_prog_NM"; then + for ncn_progname in nm; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_NM+set}" = set; then @@ -6531,7 +6931,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}" + ac_cv_prog_NM="${ncn_progname}" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -6549,10 +6949,13 @@ else echo "${ECHO_T}no" >&6 fi - fi - if test -z "$ac_cv_prog_NM" && test $build = $host ; then - # Extract the first word of "${ncn_progname}", so it can be a program name with args. -set dummy ${ncn_progname}; ac_word=$2 + done +fi + +for ncn_progname in nm; do + if test -n "$ncn_tool_prefix"; then + # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_NM+set}" = set; then @@ -6568,7 +6971,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_NM="${ncn_progname}" + ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -6587,19 +6990,104 @@ echo "${ECHO_T}no" >&6 fi fi - test -n "$ac_cv_prog_NM" && break -done - -if test -z "$ac_cv_prog_NM" ; then - set dummy nm - if test $build = $host ; then + if test -z "$ac_cv_prog_NM" && test $build = $host ; then + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_NM+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$NM"; then + ac_cv_prog_NM="$NM" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NM="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +NM=$ac_cv_prog_NM +if test -n "$NM"; then + echo "$as_me:$LINENO: result: $NM" >&5 +echo "${ECHO_T}$NM" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + fi + test -n "$ac_cv_prog_NM" && break +done + +if test -z "$ac_cv_prog_NM" ; then + set dummy nm + if test $build = $host ; then NM="$2" else NM="${ncn_tool_prefix}$2" fi fi - for ncn_progname in ranlib; do + + +if test -n "$RANLIB"; then + ac_cv_prog_RANLIB=$RANLIB +elif test -n "$ac_cv_prog_RANLIB"; then + RANLIB=$ac_cv_prog_RANLIB +fi + +if test -n "$ac_cv_prog_RANLIB"; then + for ncn_progname in ranlib; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in ranlib; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -6681,7 +7169,55 @@ if test -z "$ac_cv_prog_RANLIB" ; then RANLIB=":" fi - for ncn_progname in strip; do + + +if test -n "$STRIP"; then + ac_cv_prog_STRIP=$STRIP +elif test -n "$ac_cv_prog_STRIP"; then + STRIP=$ac_cv_prog_STRIP +fi + +if test -n "$ac_cv_prog_STRIP"; then + for ncn_progname in strip; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in strip; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -6763,7 +7299,55 @@ if test -z "$ac_cv_prog_STRIP" ; then STRIP=":" fi - for ncn_progname in windres; do + + +if test -n "$WINDRES"; then + ac_cv_prog_WINDRES=$WINDRES +elif test -n "$ac_cv_prog_WINDRES"; then + WINDRES=$ac_cv_prog_WINDRES +fi + +if test -n "$ac_cv_prog_WINDRES"; then + for ncn_progname in windres; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_WINDRES+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$WINDRES"; then + ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_WINDRES="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +WINDRES=$ac_cv_prog_WINDRES +if test -n "$WINDRES"; then + echo "$as_me:$LINENO: result: $WINDRES" >&5 +echo "${ECHO_T}$WINDRES" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in windres; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -6850,7 +7434,55 @@ if test -z "$ac_cv_prog_WINDRES" ; then fi fi - for ncn_progname in objcopy; do + + +if test -n "$OBJCOPY"; then + ac_cv_prog_OBJCOPY=$OBJCOPY +elif test -n "$ac_cv_prog_OBJCOPY"; then + OBJCOPY=$ac_cv_prog_OBJCOPY +fi + +if test -n "$ac_cv_prog_OBJCOPY"; then + for ncn_progname in objcopy; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_OBJCOPY+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$OBJCOPY"; then + ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OBJCOPY="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +OBJCOPY=$ac_cv_prog_OBJCOPY +if test -n "$OBJCOPY"; then + echo "$as_me:$LINENO: result: $OBJCOPY" >&5 +echo "${ECHO_T}$OBJCOPY" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in objcopy; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -6937,7 +7569,55 @@ if test -z "$ac_cv_prog_OBJCOPY" ; then fi fi - for ncn_progname in objdump; do + + +if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP=$OBJDUMP +elif test -n "$ac_cv_prog_OBJDUMP"; then + OBJDUMP=$ac_cv_prog_OBJDUMP +fi + +if test -n "$ac_cv_prog_OBJDUMP"; then + for ncn_progname in objdump; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_OBJDUMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OBJDUMP="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + echo "$as_me:$LINENO: result: $OBJDUMP" >&5 +echo "${ECHO_T}$OBJDUMP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +for ncn_progname in objdump; do if test -n "$ncn_tool_prefix"; then # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 @@ -7047,7 +7727,55 @@ else with_build_time_tools= fi; - if test -n "$with_build_time_tools"; then + + +if test -n "$CC_FOR_TARGET"; then + ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET +elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then + CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET +fi + +if test -n "$ac_cv_prog_CC_FOR_TARGET"; then + for ncn_progname in cc gcc; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC_FOR_TARGET"; then + ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET +if test -n "$CC_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5 +echo "${ECHO_T}$CC_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in cc gcc; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -7150,9 +7878,59 @@ if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then else CC_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET" +fi + + + +if test -n "$CXX_FOR_TARGET"; then + ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET +elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then + CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET +fi + +if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then + for ncn_progname in c++ g++ cxx gxx; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CXX_FOR_TARGET"; then + ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET +if test -n "$CXX_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5 +echo "${ECHO_T}$CXX_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done fi - if test -n "$with_build_time_tools"; then +if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in c++ g++ cxx gxx; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -7255,9 +8033,59 @@ if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then else CXX_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET" +fi + + + +if test -n "$GCC_FOR_TARGET"; then + ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET +elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then + GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET +fi + +if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then + for ncn_progname in gcc; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$GCC_FOR_TARGET"; then + ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET +if test -n "$GCC_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5 +echo "${ECHO_T}$GCC_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done fi - if test -n "$with_build_time_tools"; then +if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in gcc; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -7355,9 +8183,59 @@ fi if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then GCC_FOR_TARGET="${CC_FOR_TARGET}" +else + GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET" +fi + + + +if test -n "$GCJ_FOR_TARGET"; then + ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET +elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then + GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET +fi + +if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then + for ncn_progname in gcj; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$GCJ_FOR_TARGET"; then + ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET +if test -n "$GCJ_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5 +echo "${ECHO_T}$GCJ_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - if test -n "$with_build_time_tools"; then + done +fi + +if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in gcj; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -7417,11 +8295,72 @@ fi set dummy ${ncn_progname}; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then +if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$GCJ_FOR_TARGET"; then + ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET +if test -n "$GCJ_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5 +echo "${ECHO_T}$GCJ_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + fi + test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break + done +fi + +if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then + set dummy gcj + if test $build = $target ; then + GCJ_FOR_TARGET="$2" + else + GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2" + fi +else + GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET" +fi + + + +if test -n "$GFORTRAN_FOR_TARGET"; then + ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET +elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then + GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET +fi + +if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then + for ncn_progname in gfortran; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test -n "$GCJ_FOR_TARGET"; then - ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test. + if test -n "$GFORTRAN_FOR_TARGET"; then + ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -7430,7 +8369,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}" + ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -7439,30 +8378,19 @@ done fi fi -GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET -if test -n "$GCJ_FOR_TARGET"; then - echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5 -echo "${ECHO_T}$GCJ_FOR_TARGET" >&6 +GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET +if test -n "$GFORTRAN_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5 +echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi - fi - test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break done fi -if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then - set dummy gcj - if test $build = $target ; then - GCJ_FOR_TARGET="$2" - else - GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2" - fi -fi - - if test -n "$with_build_time_tools"; then +if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in gfortran; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -7565,6 +8493,8 @@ if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then else GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET" fi @@ -7600,8 +8530,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar` - test $AR_FOR_TARGET=ar && AR_FOR_TARGET= - ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET + test $AR_FOR_TARGET = ar && AR_FOR_TARGET= + test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET fi fi if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -7646,7 +8576,55 @@ fi fi if test -z "$ac_cv_path_AR_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + + +if test -n "$AR_FOR_TARGET"; then + ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET +elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then + AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET +fi + +if test -n "$ac_cv_prog_AR_FOR_TARGET"; then + for ncn_progname in ar; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR_FOR_TARGET"; then + ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET +if test -n "$AR_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5 +echo "${ECHO_T}$AR_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in ar; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -7749,6 +8727,8 @@ if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then else AR_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET" fi else @@ -7773,8 +8753,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as` - test $AS_FOR_TARGET=as && AS_FOR_TARGET= - ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET + test $AS_FOR_TARGET = as && AS_FOR_TARGET= + test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET fi fi if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -7819,7 +8799,55 @@ fi fi if test -z "$ac_cv_path_AS_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + + +if test -n "$AS_FOR_TARGET"; then + ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET +elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then + AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET +fi + +if test -n "$ac_cv_prog_AS_FOR_TARGET"; then + for ncn_progname in as; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AS_FOR_TARGET"; then + ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AS_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET +if test -n "$AS_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5 +echo "${ECHO_T}$AS_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in as; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -7922,6 +8950,8 @@ if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then else AS_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET" fi else @@ -7946,8 +8976,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool` - test $DLLTOOL_FOR_TARGET=dlltool && DLLTOOL_FOR_TARGET= - ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET + test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET= + test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET fi fi if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -7992,7 +9022,55 @@ fi fi if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + + +if test -n "$DLLTOOL_FOR_TARGET"; then + ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET +elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then + DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET +fi + +if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then + for ncn_progname in dlltool; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$DLLTOOL_FOR_TARGET"; then + ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET +if test -n "$DLLTOOL_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5 +echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in dlltool; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -8095,6 +9173,8 @@ if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then else DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET" fi else @@ -8119,8 +9199,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld` - test $LD_FOR_TARGET=ld && LD_FOR_TARGET= - ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET + test $LD_FOR_TARGET = ld && LD_FOR_TARGET= + test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET fi fi if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -8165,7 +9245,55 @@ fi fi if test -z "$ac_cv_path_LD_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + + +if test -n "$LD_FOR_TARGET"; then + ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET +elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then + LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET +fi + +if test -n "$ac_cv_prog_LD_FOR_TARGET"; then + for ncn_progname in ld; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$LD_FOR_TARGET"; then + ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LD_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET +if test -n "$LD_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5 +echo "${ECHO_T}$LD_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in ld; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -8268,6 +9396,8 @@ if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then else LD_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET" fi else @@ -8292,8 +9422,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo` - test $LIPO_FOR_TARGET=lipo && LIPO_FOR_TARGET= - ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET + test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET= + test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET fi fi if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -8304,30 +9434,77 @@ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $LIPO_FOR_TARGET in - [\\/]* | ?:[\\/]*) - ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $gcc_cv_tool_dirs + case $LIPO_FOR_TARGET in + [\\/]* | ?:[\\/]*) + ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $gcc_cv_tool_dirs +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET + +if test -n "$LIPO_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5 +echo "${ECHO_T}$LIPO_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then + + +if test -n "$LIPO_FOR_TARGET"; then + ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET +elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then + LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET +fi + +if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then + for ncn_progname in lipo; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$LIPO_FOR_TARGET"; then + ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" + ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done - ;; -esac fi -LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET - +fi +LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET if test -n "$LIPO_FOR_TARGET"; then echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6 @@ -8336,9 +9513,10 @@ else echo "${ECHO_T}no" >&6 fi + done fi -if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + +if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in lipo; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -8441,6 +9619,8 @@ if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then else LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET" fi else @@ -8465,8 +9645,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm` - test $NM_FOR_TARGET=nm && NM_FOR_TARGET= - ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET + test $NM_FOR_TARGET = nm && NM_FOR_TARGET= + test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET fi fi if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -8511,7 +9691,55 @@ fi fi if test -z "$ac_cv_path_NM_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + + +if test -n "$NM_FOR_TARGET"; then + ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET +elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then + NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET +fi + +if test -n "$ac_cv_prog_NM_FOR_TARGET"; then + for ncn_progname in nm; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$NM_FOR_TARGET"; then + ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NM_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET +if test -n "$NM_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5 +echo "${ECHO_T}$NM_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in nm; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -8614,6 +9842,8 @@ if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then else NM_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET" fi else @@ -8638,8 +9868,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump` - test $OBJDUMP_FOR_TARGET=objdump && OBJDUMP_FOR_TARGET= - ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET + test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET= + test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET fi fi if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -8684,7 +9914,55 @@ fi fi if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + + +if test -n "$OBJDUMP_FOR_TARGET"; then + ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET +elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then + OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET +fi + +if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then + for ncn_progname in objdump; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$OBJDUMP_FOR_TARGET"; then + ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET +if test -n "$OBJDUMP_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5 +echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in objdump; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -8787,6 +10065,8 @@ if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then else OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET" fi else @@ -8811,8 +10091,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib` - test $RANLIB_FOR_TARGET=ranlib && RANLIB_FOR_TARGET= - ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET + test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET= + test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET fi fi if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -8857,7 +10137,55 @@ fi fi if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + + +if test -n "$RANLIB_FOR_TARGET"; then + ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET +elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then + RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET +fi + +if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then + for ncn_progname in ranlib; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB_FOR_TARGET"; then + ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET +if test -n "$RANLIB_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5 +echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in ranlib; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -8960,6 +10288,8 @@ if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then else RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET" fi else @@ -8984,8 +10314,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip` - test $STRIP_FOR_TARGET=strip && STRIP_FOR_TARGET= - ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET + test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET= + test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET fi fi if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -9030,7 +10360,55 @@ fi fi if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + + +if test -n "$STRIP_FOR_TARGET"; then + ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET +elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then + STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET +fi + +if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then + for ncn_progname in strip; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP_FOR_TARGET"; then + ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET +if test -n "$STRIP_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5 +echo "${ECHO_T}$STRIP_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in strip; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -9133,6 +10511,8 @@ if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then else STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET" fi else @@ -9157,8 +10537,8 @@ echo "${ECHO_T}no" >&6 fi elif test $build != $host && test $have_gcc_for_target = yes; then WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres` - test $WINDRES_FOR_TARGET=windres && WINDRES_FOR_TARGET= - ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET + test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET= + test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET fi fi if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then @@ -9203,7 +10583,55 @@ fi fi if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then - if test -n "$with_build_time_tools"; then + + +if test -n "$WINDRES_FOR_TARGET"; then + ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET +elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then + WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET +fi + +if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then + for ncn_progname in windres; do + # Extract the first word of "${ncn_progname}", so it can be a program name with args. +set dummy ${ncn_progname}; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$WINDRES_FOR_TARGET"; then + ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test. +else +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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET +if test -n "$WINDRES_FOR_TARGET"; then + echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5 +echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + done +fi + +if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then for ncn_progname in windres; do echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6 @@ -9306,6 +10734,8 @@ if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then else WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2" fi +else + WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET" fi else @@ -9320,8 +10750,9 @@ echo $ECHO_N "checking where to find the target ar... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $AR_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $AR_FOR_TARGET\`" >&6 + ac_dir=`dirname $AR_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9341,8 +10772,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $AR_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $AR_FOR_TARGET\`" >&6 + ac_dir=`dirname $AR_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool AR_FOR_TARGET='$(AR)' @@ -9360,8 +10792,9 @@ echo $ECHO_N "checking where to find the target as... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $AS_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $AS_FOR_TARGET\`" >&6 + ac_dir=`dirname $AS_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9381,8 +10814,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $AS_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $AS_FOR_TARGET\`" >&6 + ac_dir=`dirname $AS_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool AS_FOR_TARGET='$(AS)' @@ -9400,8 +10834,9 @@ echo $ECHO_N "checking where to find the target cc... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $CC_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $CC_FOR_TARGET\`" >&6 + ac_dir=`dirname $CC_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9421,8 +10856,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $CC_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $CC_FOR_TARGET\`" >&6 + ac_dir=`dirname $CC_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool CC_FOR_TARGET='$(CC)' @@ -9440,8 +10876,9 @@ echo $ECHO_N "checking where to find the target c++... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $CXX_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $CXX_FOR_TARGET\`" >&6 + ac_dir=`dirname $CXX_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9464,8 +10901,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $CXX_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $CXX_FOR_TARGET\`" >&6 + ac_dir=`dirname $CXX_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool CXX_FOR_TARGET='$(CXX)' @@ -9483,8 +10921,9 @@ echo $ECHO_N "checking where to find the target c++ for libstdc++... $ECHO_C" >& if test "x${build}" != "x${host}" ; then if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&6 + ac_dir=`dirname $RAW_CXX_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9507,8 +10946,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&6 + ac_dir=`dirname $RAW_CXX_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool RAW_CXX_FOR_TARGET='$(CXX)' @@ -9526,8 +10966,9 @@ echo $ECHO_N "checking where to find the target dlltool... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&6 + ac_dir=`dirname $DLLTOOL_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9547,8 +10988,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&6 + ac_dir=`dirname $DLLTOOL_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool DLLTOOL_FOR_TARGET='$(DLLTOOL)' @@ -9566,8 +11008,9 @@ echo $ECHO_N "checking where to find the target gcc... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCC_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $GCC_FOR_TARGET\`" >&6 + ac_dir=`dirname $GCC_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9587,8 +11030,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCC_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $GCC_FOR_TARGET\`" >&6 + ac_dir=`dirname $GCC_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool GCC_FOR_TARGET='$()' @@ -9606,8 +11050,9 @@ echo $ECHO_N "checking where to find the target gcj... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&6 + ac_dir=`dirname $GCJ_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9630,8 +11075,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&6 + ac_dir=`dirname $GCJ_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool GCJ_FOR_TARGET='$(GCJ)' @@ -9649,8 +11095,9 @@ echo $ECHO_N "checking where to find the target gfortran... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&6 + ac_dir=`dirname $GFORTRAN_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9673,8 +11120,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&6 + ac_dir=`dirname $GFORTRAN_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool GFORTRAN_FOR_TARGET='$(GFORTRAN)' @@ -9692,8 +11140,9 @@ echo $ECHO_N "checking where to find the target ld... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $LD_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $LD_FOR_TARGET\`" >&6 + ac_dir=`dirname $LD_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9713,8 +11162,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $LD_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $LD_FOR_TARGET\`" >&6 + ac_dir=`dirname $LD_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool LD_FOR_TARGET='$(LD)' @@ -9732,8 +11182,9 @@ echo $ECHO_N "checking where to find the target lipo... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&6 + ac_dir=`dirname $LIPO_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9742,8 +11193,9 @@ echo "${ECHO_T}pre-installed" >&6 else if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&6 + ac_dir=`dirname $LIPO_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool LIPO_FOR_TARGET='$(LIPO)' @@ -9761,8 +11213,9 @@ echo $ECHO_N "checking where to find the target nm... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $NM_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $NM_FOR_TARGET\`" >&6 + ac_dir=`dirname $NM_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9782,8 +11235,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $NM_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $NM_FOR_TARGET\`" >&6 + ac_dir=`dirname $NM_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool NM_FOR_TARGET='$(NM)' @@ -9801,8 +11255,9 @@ echo $ECHO_N "checking where to find the target objdump... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&6 + ac_dir=`dirname $OBJDUMP_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9822,8 +11277,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&6 + ac_dir=`dirname $OBJDUMP_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool OBJDUMP_FOR_TARGET='$(OBJDUMP)' @@ -9841,8 +11297,9 @@ echo $ECHO_N "checking where to find the target ranlib... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&6 + ac_dir=`dirname $RANLIB_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9862,8 +11319,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&6 + ac_dir=`dirname $RANLIB_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool RANLIB_FOR_TARGET='$(RANLIB)' @@ -9881,8 +11339,9 @@ echo $ECHO_N "checking where to find the target strip... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&6 + ac_dir=`dirname $STRIP_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9902,8 +11361,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&6 + ac_dir=`dirname $STRIP_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool STRIP_FOR_TARGET='$(STRIP)' @@ -9921,8 +11381,9 @@ echo $ECHO_N "checking where to find the target windres... $ECHO_C" >&6 if test "x${build}" != "x${host}" ; then if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&6 + ac_dir=`dirname $WINDRES_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 else # Canadian cross, just use what we found echo "$as_me:$LINENO: result: pre-installed" >&5 @@ -9942,8 +11403,9 @@ else echo "${ECHO_T}just compiled" >&6 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then # We already found the complete path - echo "$as_me:$LINENO: result: pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&5 -echo "${ECHO_T}pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&6 + ac_dir=`dirname $WINDRES_FOR_TARGET` + echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5 +echo "${ECHO_T}pre-installed in $ac_dir" >&6 elif test "x$target" = "x$host"; then # We can use an host tool WINDRES_FOR_TARGET='$(WINDRES)' @@ -10035,6 +11497,12 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#if (__GNUC__ < 3) \ + || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \ + || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1))) +#error http://gcc.gnu.org/PR29382 +#endif + int main () { @@ -10133,6 +11601,15 @@ else fi; +# Check whether --with-pdfdir or --without-pdfdir was given. +if test "${with_pdfdir+set}" = set; then + withval="$with_pdfdir" + pdfdir="\${prefix}/${withval}" +else + pdfdir="\${docdir}" +fi; + + # Check whether --with-htmldir or --without-htmldir was given. if test "${with_htmldir+set}" = set; then withval="$with_htmldir" @@ -10145,6 +11622,7 @@ fi; + ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -10886,6 +12364,7 @@ s,@stage1_checking@,$stage1_checking,;t t s,@stage2_werror_flag@,$stage2_werror_flag,;t t s,@datarootdir@,$datarootdir,;t t s,@docdir@,$docdir,;t t +s,@pdfdir@,$pdfdir,;t t s,@htmldir@,$htmldir,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t