Changeset 9ec96478 in rtems


Ignore:
Timestamp:
Mar 19, 1999, 9:54:36 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e619c28
Parents:
af020036
Message:

Towards automake VIII patch from Ralf Corsepius <corsepiu@…>:

OK, I 've made up my mind to cut a big chunk of my automake-patches (:-).

Below you can find a drop-in replacement of the aclocal directory. It
contains a lot of new macro files, most of them are directly cut from rtems
top-level configure script, some are new some are identical to former
versions. The motivation behind these files is to reuse parts from rtems
current top-level configure.in script in up-coming subdirectory configure.in
scripts.

I'd like to ask you to untar the archive ontop of the source tree and to
add/commit these files to CVS. Adding these files should not have any
influence on RTEMS momentary configuration (except of you are required to
run aclocal -I aclocal && autoconf afterwards), because most of them
currently are not used at all.

---------

BTW: Please upgrade to autoconf-2.13 and automake-2.4, if you havn't done
this already (egcs/CVS require them, too). My upcoming automake files
require automake-2.4 which requires autoconf-2.13 or later.

Files:
16 added
2 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    raf020036 r9ec96478  
    1 dnl aclocal.m4 generated automatically by aclocal 1.2
     1dnl aclocal.m4 generated automatically by aclocal 1.4
     2
     3dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     4dnl This file is free software; the Free Software Foundation
     5dnl gives unlimited permission to copy and/or distribute it,
     6dnl with or without modifications, as long as this notice is preserved.
     7
     8dnl This program is distributed in the hope that it will be useful,
     9dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     10dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     11dnl PARTICULAR PURPOSE.
     12
     13dnl $Id$
     14
     15AC_DEFUN(RTEMS_PATH_PERL,
     16[
     17AC_PATH_PROG(PERL,perl)
     18if test -z "$PERL" ; then
     19AC_MSG_WARN(
     20[***]
     21[   perl was not found]
     22[   Note: Some tools will not be built.])
     23fi
     24])
    225
    326dnl
     
    4366
    4467
    45 dnl
    46 dnl $Id$
    47 dnl
    48 
    49 dnl canonicalize target name
     68dnl $Id$
     69
     70AC_DEFUN(RTEMS_PATH_KSH,
     71[
     72dnl NOTE: prefer bash over ksh over sh
     73AC_PATH_PROGS(KSH,bash ksh sh)
     74if test -z "$KSH"; then
     75dnl NOTE: This cannot happen -- /bin/sh must always exist
     76AC_MSG_ERROR(
     77[***]
     78[    Cannot determine a usable shell bash/ksh/sh]
     79[    Please contact your system administrator] );
     80fi
     81])
     82
     83dnl
     84dnl $Id$
     85dnl
     86
     87dnl canonicalize target cpu
    5088dnl NOTE: Most rtems targets do not fullfil autoconf's
    5189dnl target naming conventions "processor-vendor-os"
     
    5492
    5593AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
    56 [AC_MSG_CHECKING(rtems target cpu)
    57 changequote(<<, >>)dnl
    58 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    59 changequote([, ])dnl
     94[
     95AC_REQUIRE([AC_CANONICAL_SYSTEM])
     96AC_MSG_CHECKING(rtems target cpu)
     97changequote(,)dnl
     98case "${target}" in
     99  # hpux unix port should go here
     100  i[3456]86-go32-rtems*)
     101        target_cpu=i386
     102        ;;
     103  i[3456]86-pc-linux*)          # unix "simulator" port
     104        target_cpu=unix
     105        ;;
     106  i[3456]86-*freebsd2*)         # unix "simulator" port
     107        target_cpu=unix
     108        ;;
     109  no_cpu-*rtems*)
     110        target_cpu=no_cpu
     111        ;;
     112  ppc*-*rtems*)
     113        target_cpu=powerpc
     114        ;;
     115  sparc-sun-solaris*)           # unix "simulator" port
     116        target_cpu=unix
     117        ;;
     118  *)
     119        target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
     120        ;;
     121esac
     122changequote([,])dnl
    60123AC_MSG_RESULT($target_cpu)
    61124])
  • configure

    raf020036 r9ec96478  
    3636
    3737# Guess values for system-dependent variables and create Makefiles.
    38 # Generated automatically using autoconf version 2.12
     38# Generated automatically using autoconf version 2.13
    3939# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    4040#
     
    128128subdirs=
    129129MFLAGS= MAKEFLAGS=
     130SHELL=${CONFIG_SHELL-/bin/sh}
    130131# Maximum number of lines to put in a shell here document.
    131132ac_max_here_lines=12
     
    411412
    412413  -version | --version | --versio | --versi | --vers)
    413     echo "configure generated by autoconf version 2.12"
     414    echo "configure generated by autoconf version 2.13"
    414415    exit 0 ;;
    415416
     
    581582ac_cpp='$CPP $CPPFLAGS'
    582583ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    583 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     584ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    584585cross_compiling=$ac_cv_prog_cc_cross
    585586
     587ac_exeext=
     588ac_objext=o
    586589if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    587590  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
     
    599602
    600603echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    601 echo "configure:602: checking whether ${MAKE-make} sets \${MAKE}" >&5
     604echo "configure:605: checking whether ${MAKE-make} sets \${MAKE}" >&5
    602605set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    603606if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    667670
    668671# Make sure we can run config.sub.
    669 if $ac_config_sub sun4 >/dev/null 2>&1; then :
     672if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
    670673else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
    671674fi
    672675
    673676echo $ac_n "checking host system type""... $ac_c" 1>&6
    674 echo "configure:675: checking host system type" >&5
     677echo "configure:678: checking host system type" >&5
    675678
    676679host_alias=$host
     
    679682  case $nonopt in
    680683  NONE)
    681     if host_alias=`$ac_config_guess`; then :
     684    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
    682685    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
    683686    fi ;;
     
    686689esac
    687690
    688 host=`$ac_config_sub $host_alias`
     691host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
    689692host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    690693host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     
    693696
    694697echo $ac_n "checking target system type""... $ac_c" 1>&6
    695 echo "configure:696: checking target system type" >&5
     698echo "configure:699: checking target system type" >&5
    696699
    697700target_alias=$target
     
    704707esac
    705708
    706 target=`$ac_config_sub $target_alias`
     709target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
    707710target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    708711target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     
    711714
    712715echo $ac_n "checking build system type""... $ac_c" 1>&6
    713 echo "configure:714: checking build system type" >&5
     716echo "configure:717: checking build system type" >&5
    714717
    715718build_alias=$build
     
    722725esac
    723726
    724 build=`$ac_config_sub $build_alias`
     727build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
    725728build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    726729build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     
    892895set dummy cat; ac_word=$2
    893896echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    894 echo "configure:895: checking for $ac_word" >&5
     897echo "configure:898: checking for $ac_word" >&5
    895898if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then
    896899  echo $ac_n "(cached) $ac_c" 1>&6
     
    900903  ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
    901904  ;;
     905  ?:/*)                 
     906  ac_cv_path_CAT="$CAT" # Let the user override the test with a dos path.
     907  ;;
    902908  *)
    903   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    904   for ac_dir in $PATH; do
     909  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     910  ac_dummy="$PATH"
     911  for ac_dir in $ac_dummy; do
    905912    test -z "$ac_dir" && ac_dir=.
    906913    if test -f $ac_dir/$ac_word; then
     
    923930set dummy rm; ac_word=$2
    924931echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    925 echo "configure:926: checking for $ac_word" >&5
     932echo "configure:933: checking for $ac_word" >&5
    926933if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
    927934  echo $ac_n "(cached) $ac_c" 1>&6
     
    931938  ac_cv_path_RM="$RM" # Let the user override the test with a path.
    932939  ;;
     940  ?:/*)                 
     941  ac_cv_path_RM="$RM" # Let the user override the test with a dos path.
     942  ;;
    933943  *)
    934   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    935   for ac_dir in $PATH; do
     944  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     945  ac_dummy="$PATH"
     946  for ac_dir in $ac_dummy; do
    936947    test -z "$ac_dir" && ac_dir=.
    937948    if test -f $ac_dir/$ac_word; then
     
    954965set dummy cp; ac_word=$2
    955966echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    956 echo "configure:957: checking for $ac_word" >&5
     967echo "configure:968: checking for $ac_word" >&5
    957968if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
    958969  echo $ac_n "(cached) $ac_c" 1>&6
     
    962973  ac_cv_path_CP="$CP" # Let the user override the test with a path.
    963974  ;;
     975  ?:/*)                 
     976  ac_cv_path_CP="$CP" # Let the user override the test with a dos path.
     977  ;;
    964978  *)
    965   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    966   for ac_dir in $PATH; do
     979  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     980  ac_dummy="$PATH"
     981  for ac_dir in $ac_dummy; do
    967982    test -z "$ac_dir" && ac_dir=.
    968983    if test -f $ac_dir/$ac_word; then
     
    9851000set dummy mv; ac_word=$2
    9861001echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    987 echo "configure:988: checking for $ac_word" >&5
     1002echo "configure:1003: checking for $ac_word" >&5
    9881003if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
    9891004  echo $ac_n "(cached) $ac_c" 1>&6
     
    9931008  ac_cv_path_MV="$MV" # Let the user override the test with a path.
    9941009  ;;
     1010  ?:/*)                 
     1011  ac_cv_path_MV="$MV" # Let the user override the test with a dos path.
     1012  ;;
    9951013  *)
    996   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    997   for ac_dir in $PATH; do
     1014  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1015  ac_dummy="$PATH"
     1016  for ac_dir in $ac_dummy; do
    9981017    test -z "$ac_dir" && ac_dir=.
    9991018    if test -f $ac_dir/$ac_word; then
     
    10161035set dummy ln; ac_word=$2
    10171036echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1018 echo "configure:1019: checking for $ac_word" >&5
     1037echo "configure:1038: checking for $ac_word" >&5
    10191038if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
    10201039  echo $ac_n "(cached) $ac_c" 1>&6
     
    10241043  ac_cv_path_LN="$LN" # Let the user override the test with a path.
    10251044  ;;
     1045  ?:/*)                 
     1046  ac_cv_path_LN="$LN" # Let the user override the test with a dos path.
     1047  ;;
    10261048  *)
    1027   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1028   for ac_dir in $PATH; do
     1049  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1050  ac_dummy="$PATH"
     1051  for ac_dir in $ac_dummy; do
    10291052    test -z "$ac_dir" && ac_dir=.
    10301053    if test -f $ac_dir/$ac_word; then
     
    10451068
    10461069echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1047 echo "configure:1048: checking whether ln -s works" >&5
     1070echo "configure:1071: checking whether ln -s works" >&5
    10481071if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    10491072  echo $ac_n "(cached) $ac_c" 1>&6
     
    10681091set dummy chmod; ac_word=$2
    10691092echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1070 echo "configure:1071: checking for $ac_word" >&5
     1093echo "configure:1094: checking for $ac_word" >&5
    10711094if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
    10721095  echo $ac_n "(cached) $ac_c" 1>&6
     
    10761099  ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
    10771100  ;;
     1101  ?:/*)                 
     1102  ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a dos path.
     1103  ;;
    10781104  *)
    1079   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1080   for ac_dir in $PATH; do
     1105  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1106  ac_dummy="$PATH"
     1107  for ac_dir in $ac_dummy; do
    10811108    test -z "$ac_dir" && ac_dir=.
    10821109    if test -f $ac_dir/$ac_word; then
     
    10991126set dummy sort; ac_word=$2
    11001127echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1101 echo "configure:1102: checking for $ac_word" >&5
     1128echo "configure:1129: checking for $ac_word" >&5
    11021129if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then
    11031130  echo $ac_n "(cached) $ac_c" 1>&6
     
    11071134  ac_cv_path_SORT="$SORT" # Let the user override the test with a path.
    11081135  ;;
     1136  ?:/*)                 
     1137  ac_cv_path_SORT="$SORT" # Let the user override the test with a dos path.
     1138  ;;
    11091139  *)
    1110   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1111   for ac_dir in $PATH; do
     1140  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1141  ac_dummy="$PATH"
     1142  for ac_dir in $ac_dummy; do
    11121143    test -z "$ac_dir" && ac_dir=.
    11131144    if test -f $ac_dir/$ac_word; then
     
    11341165# IRIX /sbin/install
    11351166# AIX /bin/install
     1167# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    11361168# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    11371169# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    11381170# ./install, which can be erroneously created by make from ./install.sh.
    11391171echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1140 echo "configure:1141: checking for a BSD compatible install" >&5
     1172echo "configure:1173: checking for a BSD compatible install" >&5
    11411173if test -z "$INSTALL"; then
    11421174if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    11431175  echo $ac_n "(cached) $ac_c" 1>&6
    11441176else
    1145     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
     1177    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
    11461178  for ac_dir in $PATH; do
    11471179    # Account for people who put trailing slashes in PATH elements.
     
    11501182    *)
    11511183      # OSF1 and SCO ODT 3.0 have their own names for install.
    1152       for ac_prog in ginstall installbsd scoinst install; do
     1184      # Don't use installbsd from OSF since it installs stuff as root
     1185      # by default.
     1186      for ac_prog in ginstall scoinst install; do
    11531187        if test -f $ac_dir/$ac_prog; then
    11541188          if test $ac_prog = install &&
    11551189            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    11561190            # AIX install.  It has an incompatible calling convention.
    1157             # OSF/1 installbsd also uses dspmsg, but is usable.
    11581191            :
    11591192          else
     
    11851218test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    11861219
     1220test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     1221
    11871222test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     1223
    11881224
    11891225# Extract the first word of "perl", so it can be a program name with args.
    11901226set dummy perl; ac_word=$2
    11911227echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1192 echo "configure:1193: checking for $ac_word" >&5
     1228echo "configure:1229: checking for $ac_word" >&5
    11931229if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
    11941230  echo $ac_n "(cached) $ac_c" 1>&6
     
    11981234  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
    11991235  ;;
     1236  ?:/*)                 
     1237  ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.
     1238  ;;
    12001239  *)
    1201   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1202   for ac_dir in $PATH; do
     1240  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1241  ac_dummy="$PATH"
     1242  for ac_dir in $ac_dummy; do
    12031243    test -z "$ac_dir" && ac_dir=.
    12041244    if test -f $ac_dir/$ac_word; then
     
    12241264fi
    12251265
     1266
    12261267# Extract the first word of "mkdir", so it can be a program name with args.
    12271268set dummy mkdir; ac_word=$2
    12281269echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1229 echo "configure:1230: checking for $ac_word" >&5
     1270echo "configure:1271: checking for $ac_word" >&5
    12301271if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
    12311272  echo $ac_n "(cached) $ac_c" 1>&6
     
    12351276  ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
    12361277  ;;
     1278  ?:/*)                 
     1279  ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a dos path.
     1280  ;;
    12371281  *)
    1238   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1239   for ac_dir in $PATH; do
     1282  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1283  ac_dummy="$PATH"
     1284  for ac_dir in $ac_dummy; do
    12401285    test -z "$ac_dir" && ac_dir=.
    12411286    if test -f $ac_dir/$ac_word; then
     
    12591304
    12601305echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6
    1261 echo "configure:1262: checking for working $MKDIR -m 0755" >&5
     1306echo "configure:1307: checking for working $MKDIR -m 0755" >&5
    12621307if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then
    12631308  echo $ac_n "(cached) $ac_c" 1>&6
     
    12761321
    12771322echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6
    1278 echo "configure:1279: checking for working $MKDIR -p" >&5
     1323echo "configure:1324: checking for working $MKDIR -p" >&5
    12791324if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then
    12801325  echo $ac_n "(cached) $ac_c" 1>&6
     
    12961341set dummy touch; ac_word=$2
    12971342echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1298 echo "configure:1299: checking for $ac_word" >&5
     1343echo "configure:1344: checking for $ac_word" >&5
    12991344if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then
    13001345  echo $ac_n "(cached) $ac_c" 1>&6
     
    13041349  ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
    13051350  ;;
     1351  ?:/*)                 
     1352  ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a dos path.
     1353  ;;
    13061354  *)
    1307   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1308   for ac_dir in $PATH; do
     1355  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1356  ac_dummy="$PATH"
     1357  for ac_dir in $ac_dummy; do
    13091358    test -z "$ac_dir" && ac_dir=.
    13101359    if test -f $ac_dir/$ac_word; then
     
    13271376set dummy cmp; ac_word=$2
    13281377echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1329 echo "configure:1330: checking for $ac_word" >&5
     1378echo "configure:1379: checking for $ac_word" >&5
    13301379if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
    13311380  echo $ac_n "(cached) $ac_c" 1>&6
     
    13351384  ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
    13361385  ;;
     1386  ?:/*)                 
     1387  ac_cv_path_CMP="$CMP" # Let the user override the test with a dos path.
     1388  ;;
    13371389  *)
    1338   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1339   for ac_dir in $PATH; do
     1390  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1391  ac_dummy="$PATH"
     1392  for ac_dir in $ac_dummy; do
    13401393    test -z "$ac_dir" && ac_dir=.
    13411394    if test -f $ac_dir/$ac_word; then
     
    13591412set dummy sed; ac_word=$2
    13601413echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1361 echo "configure:1362: checking for $ac_word" >&5
     1414echo "configure:1415: checking for $ac_word" >&5
    13621415if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
    13631416  echo $ac_n "(cached) $ac_c" 1>&6
     
    13671420  ac_cv_path_SED="$SED" # Let the user override the test with a path.
    13681421  ;;
     1422  ?:/*)                 
     1423  ac_cv_path_SED="$SED" # Let the user override the test with a dos path.
     1424  ;;
    13691425  *)
    1370   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1371   for ac_dir in $PATH; do
     1426  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1427  ac_dummy="$PATH"
     1428  for ac_dir in $ac_dummy; do
    13721429    test -z "$ac_dir" && ac_dir=.
    13731430    if test -f $ac_dir/$ac_word; then
     
    13921449set dummy $ac_prog; ac_word=$2
    13931450echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1394 echo "configure:1395: checking for $ac_word" >&5
     1451echo "configure:1452: checking for $ac_word" >&5
    13951452if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
    13961453  echo $ac_n "(cached) $ac_c" 1>&6
     
    14001457  ac_cv_path_M4="$M4" # Let the user override the test with a path.
    14011458  ;;
     1459  ?:/*)                 
     1460  ac_cv_path_M4="$M4" # Let the user override the test with a dos path.
     1461  ;;
    14021462  *)
    1403   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1404   for ac_dir in $PATH; do
     1463  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1464  ac_dummy="$PATH"
     1465  for ac_dir in $ac_dummy; do
    14051466    test -z "$ac_dir" && ac_dir=.
    14061467    if test -f $ac_dir/$ac_word; then
     
    14221483test -n "$M4" && break
    14231484done
     1485
    14241486
    14251487
     
    14291491set dummy $ac_prog; ac_word=$2
    14301492echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1431 echo "configure:1432: checking for $ac_word" >&5
     1493echo "configure:1494: checking for $ac_word" >&5
    14321494if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    14331495  echo $ac_n "(cached) $ac_c" 1>&6
     
    14371499  ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
    14381500  ;;
     1501  ?:/*)                 
     1502  ac_cv_path_KSH="$KSH" # Let the user override the test with a dos path.
     1503  ;;
    14391504  *)
    1440   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1441   for ac_dir in $PATH; do
     1505  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1506  ac_dummy="$PATH"
     1507  for ac_dir in $ac_dummy; do
    14421508    test -z "$ac_dir" && ac_dir=.
    14431509    if test -f $ac_dir/$ac_word; then
     
    14601526done
    14611527
    1462 
    14631528if test -z "$KSH"; then
    14641529{ echo "configure: error: ***
     
    14701535
    14711536
     1537
    14721538RTEMS_HOST=$host_os
    14731539
     1540
     1541
     1542echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
     1543echo "configure:1544: checking rtems target cpu" >&5
    14741544case "${target}" in
    14751545  # hpux unix port should go here
    14761546  i[3456]86-go32-rtems*)
    14771547        target_cpu=i386
     1548        ;;
     1549  i[3456]86-pc-linux*)          # unix "simulator" port
     1550        target_cpu=unix
     1551        ;;
     1552  i[3456]86-*freebsd2*)         # unix "simulator" port
     1553        target_cpu=unix
     1554        ;;
     1555  no_cpu-*rtems*)
     1556        target_cpu=no_cpu
     1557        ;;
     1558  ppc*-*rtems*)
     1559        target_cpu=powerpc
     1560        ;;
     1561  sparc-sun-solaris*)           # unix "simulator" port
     1562        target_cpu=unix
     1563        ;;
     1564  *)
     1565        target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
     1566        ;;
     1567esac
     1568echo "$ac_t""$target_cpu" 1>&6
     1569
     1570
     1571case "${target}" in
     1572  # hpux unix port should go here
     1573  i[3456]86-go32-rtems*)
    14781574        rtems_bsp="go32 go32_p5"
    14791575        skip_startfiles="yes"
     
    14811577        ;;
    14821578  i[3456]86-pc-linux*)         # unix "simulator" port
    1483         target_cpu=unix
    14841579        RTEMS_HOST=Linux
    14851580        # override these settings
     
    14871582        ;;
    14881583  i[3456]86-*freebsd2*) # unix "simulator" port
    1489         target_cpu=unix
    14901584        RTEMS_HOST=FreeBSD
    14911585        # override these settings
     
    14931587        ;;
    14941588  no_cpu-*rtems*)
    1495         target_cpu=no_cpu
    14961589        RTEMS_HAS_POSIX_API=no
    14971590        ;;
    1498   ppc*-*rtems*)
    1499         target_cpu=powerpc
    1500         ;;
    15011591  sparc-sun-solaris*)             # unix "simulator" port
    1502         target_cpu=unix
    15031592        RTEMS_HOST=Solaris
    15041593        # override these settings
     
    15061595        ;;
    15071596  *)
    1508         echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1509 echo "configure:1510: checking rtems target cpu" >&5
    1510 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    1511 echo "$ac_t""$target_cpu" 1>&6
    1512 
    15131597        ;;
    15141598esac
     1599
    15151600
    15161601# Override the set of BSPs to be built.
     
    15261611# Is this a supported CPU?
    15271612echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    1528 echo "configure:1529: checking if cpu $target_cpu is supported" >&5
     1613echo "configure:1614: checking if cpu $target_cpu is supported" >&5
    15291614if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then
    15301615  echo "$ac_t""yes" 1>&6
     
    15501635set dummy $ac_prog; ac_word=$2
    15511636echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1552 echo "configure:1553: checking for $ac_word" >&5
     1637echo "configure:1638: checking for $ac_word" >&5
    15531638if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then
    15541639  echo $ac_n "(cached) $ac_c" 1>&6
     
    15581643  ac_cv_path_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test with a path.
    15591644  ;;
     1645  ?:/*)                 
     1646  ac_cv_path_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test with a dos path.
     1647  ;;
    15601648  *)
    1561   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1562   for ac_dir in $PATH; do
     1649  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1650  ac_dummy="$PATH"
     1651  for ac_dir in $ac_dummy; do
    15631652    test -z "$ac_dir" && ac_dir=.
    15641653    if test -f $ac_dir/$ac_word; then
     
    15901679
    15911680echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1592 echo "configure:1593: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1681echo "configure:1682: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    15931682
    15941683ac_ext=c
     
    15961685ac_cpp='$CPP $CPPFLAGS'
    15971686ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    1598 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1687ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    15991688cross_compiling=$ac_cv_prog_cc_cross
    16001689
    1601 cat > conftest.$ac_ext <<EOF
    1602 #line 1603 "configure"
     1690cat > conftest.$ac_ext << EOF
     1691
     1692#line 1693 "configure"
    16031693#include "confdefs.h"
     1694
    16041695main(){return(0);}
    16051696EOF
    1606 if { (eval echo configure:1607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1697if { (eval echo configure:1698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16071698  ac_cv_prog_cc_works=yes
    16081699  # If we can't run a trivial program, we are probably using a cross compiler.
     
    16181709fi
    16191710rm -fr conftest*
     1711ac_ext=c
     1712# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1713ac_cpp='$CPP $CPPFLAGS'
     1714ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1715ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1716cross_compiling=$ac_cv_prog_cc_cross
    16201717
    16211718echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     
    16241721fi
    16251722echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1626 echo "configure:1627: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1723echo "configure:1724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    16271724echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    16281725cross_compiling=$ac_cv_prog_cc_cross
    16291726
    16301727echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1631 echo "configure:1632: checking whether we are using GNU C" >&5
     1728echo "configure:1729: checking whether we are using GNU C" >&5
    16321729if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    16331730  echo $ac_n "(cached) $ac_c" 1>&6
     
    16381735#endif
    16391736EOF
    1640 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1737if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    16411738  ac_cv_prog_gcc=yes
    16421739else
     
    16531750  CFLAGS=
    16541751  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1655 echo "configure:1656: checking whether ${CC-cc} accepts -g" >&5
     1752echo "configure:1753: checking whether ${CC-cc} accepts -g" >&5
    16561753if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    16571754  echo $ac_n "(cached) $ac_c" 1>&6
     
    16951792
    16961793echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6
    1697 echo "configure:1698: checking whether $CC_FOR_TARGET accepts -specs" >&5
     1794echo "configure:1795: checking whether $CC_FOR_TARGET accepts -specs" >&5
    16981795if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then
    16991796  echo $ac_n "(cached) $ac_c" 1>&6
     
    17161813
    17171814echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6
    1718 echo "configure:1719: checking whether $CC_FOR_TARGET accepts --pipe" >&5
     1815echo "configure:1816: checking whether $CC_FOR_TARGET accepts --pipe" >&5
    17191816if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then
    17201817  echo $ac_n "(cached) $ac_c" 1>&6
     
    17571854set dummy $ac_prog; ac_word=$2
    17581855echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1759 echo "configure:1760: checking for $ac_word" >&5
     1856echo "configure:1857: checking for $ac_word" >&5
    17601857if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then
    17611858  echo $ac_n "(cached) $ac_c" 1>&6
     
    17651862  ac_cv_path_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test with a path.
    17661863  ;;
     1864  ?:/*)                 
     1865  ac_cv_path_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test with a dos path.
     1866  ;;
    17671867  *)
    1768   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1769   for ac_dir in $PATH; do
     1868  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1869  ac_dummy="$PATH"
     1870  for ac_dir in $ac_dummy; do
    17701871    test -z "$ac_dir" && ac_dir=.
    17711872    if test -f $ac_dir/$ac_word; then
     
    17971898
    17981899echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1799 echo "configure:1800: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1900echo "configure:1901: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    18001901
    18011902ac_ext=C
     
    18031904ac_cpp='$CXXCPP $CPPFLAGS'
    18041905ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    1805 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1906ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    18061907cross_compiling=$ac_cv_prog_cxx_cross
    18071908
    1808 cat > conftest.$ac_ext <<EOF
    1809 #line 1810 "configure"
     1909cat > conftest.$ac_ext << EOF
     1910
     1911#line 1912 "configure"
    18101912#include "confdefs.h"
    1811 main(){return(0);}
     1913
     1914int main(){return(0);}
    18121915EOF
    1813 if { (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1916if { (eval echo configure:1917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18141917  ac_cv_prog_cxx_works=yes
    18151918  # If we can't run a trivial program, we are probably using a cross compiler.
     
    18291932ac_cpp='$CPP $CPPFLAGS'
    18301933ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    1831 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1934ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    18321935cross_compiling=$ac_cv_prog_cc_cross
    18331936
     
    18371940fi
    18381941echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1839 echo "configure:1840: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1942echo "configure:1943: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    18401943echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    18411944cross_compiling=$ac_cv_prog_cxx_cross
    18421945
    18431946echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1844 echo "configure:1845: checking whether we are using GNU C++" >&5
     1947echo "configure:1948: checking whether we are using GNU C++" >&5
    18451948if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    18461949  echo $ac_n "(cached) $ac_c" 1>&6
     
    18511954#endif
    18521955EOF
    1853 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1956if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    18541957  ac_cv_prog_gxx=yes
    18551958else
     
    18661969  CXXFLAGS=
    18671970  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1868 echo "configure:1869: checking whether ${CXX-g++} accepts -g" >&5
     1971echo "configure:1972: checking whether ${CXX-g++} accepts -g" >&5
    18691972if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    18701973  echo $ac_n "(cached) $ac_c" 1>&6
     
    19202023 
    19212024echo $ac_n "checking target's ar""... $ac_c" 1>&6
    1922 echo "configure:1923: checking target's ar" >&5
     2025echo "configure:2026: checking target's ar" >&5
    19232026if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    19242027  echo $ac_n "(cached) $ac_c" 1>&6
     
    19532056    # intends
    19542057    echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1955 echo "configure:1956: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
     2058echo "configure:2059: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
    19562059    case "$AR_FOR_TARGET" in
    19572060    /*) # valid
     
    19702073set dummy "$program_prefix"ar; ac_word=$2
    19712074echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1972 echo "configure:1973: checking for $ac_word" >&5
     2075echo "configure:2076: checking for $ac_word" >&5
    19732076if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    19742077  echo $ac_n "(cached) $ac_c" 1>&6
     
    19782081  ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
    19792082  ;;
     2083  ?:/*)                 
     2084  ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a dos path.
     2085  ;;
    19802086  *)
    1981   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1982   for ac_dir in $PATH; do
     2087  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2088  ac_dummy="$PATH"
     2089  for ac_dir in $ac_dummy; do
    19832090    test -z "$ac_dir" && ac_dir=.
    19842091    if test -f $ac_dir/$ac_word; then
     
    20032110 
    20042111echo $ac_n "checking target's as""... $ac_c" 1>&6
    2005 echo "configure:2006: checking target's as" >&5
     2112echo "configure:2113: checking target's as" >&5
    20062113if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    20072114  echo $ac_n "(cached) $ac_c" 1>&6
     
    20362143    # intends
    20372144    echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2038 echo "configure:2039: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
     2145echo "configure:2146: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
    20392146    case "$AS_FOR_TARGET" in
    20402147    /*) # valid
     
    20532160set dummy "$program_prefix"as; ac_word=$2
    20542161echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2055 echo "configure:2056: checking for $ac_word" >&5
     2162echo "configure:2163: checking for $ac_word" >&5
    20562163if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    20572164  echo $ac_n "(cached) $ac_c" 1>&6
     
    20612168  ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
    20622169  ;;
     2170  ?:/*)                 
     2171  ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a dos path.
     2172  ;;
    20632173  *)
    2064   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    2065   for ac_dir in $PATH; do
     2174  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2175  ac_dummy="$PATH"
     2176  for ac_dir in $ac_dummy; do
    20662177    test -z "$ac_dir" && ac_dir=.
    20672178    if test -f $ac_dir/$ac_word; then
     
    20862197 
    20872198echo $ac_n "checking target's ld""... $ac_c" 1>&6
    2088 echo "configure:2089: checking target's ld" >&5
     2199echo "configure:2200: checking target's ld" >&5
    20892200if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    20902201  echo $ac_n "(cached) $ac_c" 1>&6
     
    21192230    # intends
    21202231    echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2121 echo "configure:2122: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
     2232echo "configure:2233: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
    21222233    case "$LD_FOR_TARGET" in
    21232234    /*) # valid
     
    21362247set dummy "$program_prefix"ld; ac_word=$2
    21372248echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2138 echo "configure:2139: checking for $ac_word" >&5
     2249echo "configure:2250: checking for $ac_word" >&5
    21392250if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    21402251  echo $ac_n "(cached) $ac_c" 1>&6
     
    21442255  ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
    21452256  ;;
     2257  ?:/*)                 
     2258  ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a dos path.
     2259  ;;
    21462260  *)
    2147   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    2148   for ac_dir in $PATH; do
     2261  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2262  ac_dummy="$PATH"
     2263  for ac_dir in $ac_dummy; do
    21492264    test -z "$ac_dir" && ac_dir=.
    21502265    if test -f $ac_dir/$ac_word; then
     
    21692284 
    21702285echo $ac_n "checking target's nm""... $ac_c" 1>&6
    2171 echo "configure:2172: checking target's nm" >&5
     2286echo "configure:2287: checking target's nm" >&5
    21722287if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    21732288  echo $ac_n "(cached) $ac_c" 1>&6
     
    22022317    # intends
    22032318    echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2204 echo "configure:2205: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
     2319echo "configure:2320: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
    22052320    case "$NM_FOR_TARGET" in
    22062321    /*) # valid
     
    22192334set dummy "$program_prefix"nm; ac_word=$2
    22202335echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2221 echo "configure:2222: checking for $ac_word" >&5
     2336echo "configure:2337: checking for $ac_word" >&5
    22222337if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    22232338  echo $ac_n "(cached) $ac_c" 1>&6
     
    22272342  ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
    22282343  ;;
     2344  ?:/*)                 
     2345  ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a dos path.
     2346  ;;
    22292347  *)
    2230   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    2231   for ac_dir in $PATH; do
     2348  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2349  ac_dummy="$PATH"
     2350  for ac_dir in $ac_dummy; do
    22322351    test -z "$ac_dir" && ac_dir=.
    22332352    if test -f $ac_dir/$ac_word; then
     
    22532372 
    22542373echo $ac_n "checking target's ranlib""... $ac_c" 1>&6
    2255 echo "configure:2256: checking target's ranlib" >&5
     2374echo "configure:2375: checking target's ranlib" >&5
    22562375if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    22572376  echo $ac_n "(cached) $ac_c" 1>&6
     
    22862405    # intends
    22872406    echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2288 echo "configure:2289: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
     2407echo "configure:2408: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
    22892408    case "$RANLIB_FOR_TARGET" in
    22902409    /*) # valid
     
    23032422set dummy "$program_prefix"ranlib; ac_word=$2
    23042423echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2305 echo "configure:2306: checking for $ac_word" >&5
     2424echo "configure:2425: checking for $ac_word" >&5
    23062425if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    23072426  echo $ac_n "(cached) $ac_c" 1>&6
     
    23112430  ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
    23122431  ;;
     2432  ?:/*)                 
     2433  ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a dos path.
     2434  ;;
    23132435  *)
    2314   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    2315   for ac_dir in $PATH; do
     2436  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2437  ac_dummy="$PATH"
     2438  for ac_dir in $ac_dummy; do
    23162439    test -z "$ac_dir" && ac_dir=.
    23172440    if test -f $ac_dir/$ac_word; then
     
    23382461   
    23392462echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6
    2340 echo "configure:2341: checking whether $AR_FOR_TARGET -s works" >&5
     2463echo "configure:2464: checking whether $AR_FOR_TARGET -s works" >&5
    23412464if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then
    23422465  echo $ac_n "(cached) $ac_c" 1>&6
     
    23472470{ return b; }
    23482471EOF
    2349 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    2350   && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2472if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2473  && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    23512474  && test -s conftest.a ; \
    23522475then
     
    23732496 
    23742497echo $ac_n "checking target's objcopy""... $ac_c" 1>&6
    2375 echo "configure:2376: checking target's objcopy" >&5
     2498echo "configure:2499: checking target's objcopy" >&5
    23762499if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    23772500  echo $ac_n "(cached) $ac_c" 1>&6
     
    24062529    # intends
    24072530    echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2408 echo "configure:2409: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
     2531echo "configure:2532: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
    24092532    case "$OBJCOPY_FOR_TARGET" in
    24102533    /*) # valid
     
    24232546set dummy "$program_prefix"objcopy; ac_word=$2
    24242547echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2425 echo "configure:2426: checking for $ac_word" >&5
     2548echo "configure:2549: checking for $ac_word" >&5
    24262549if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    24272550  echo $ac_n "(cached) $ac_c" 1>&6
     
    24312554  ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
    24322555  ;;
     2556  ?:/*)                 
     2557  ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a dos path.
     2558  ;;
    24332559  *)
    2434   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    2435   for ac_dir in $PATH; do
     2560  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2561  ac_dummy="$PATH"
     2562  for ac_dir in $ac_dummy; do
    24362563    test -z "$ac_dir" && ac_dir=.
    24372564    if test -f $ac_dir/$ac_word; then
     
    24562583 
    24572584echo $ac_n "checking target's size""... $ac_c" 1>&6
    2458 echo "configure:2459: checking target's size" >&5
     2585echo "configure:2586: checking target's size" >&5
    24592586if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    24602587  echo $ac_n "(cached) $ac_c" 1>&6
     
    24892616    # intends
    24902617    echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2491 echo "configure:2492: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
     2618echo "configure:2619: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
    24922619    case "$SIZE_FOR_TARGET" in
    24932620    /*) # valid
     
    25062633set dummy "$program_prefix"size; ac_word=$2
    25072634echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2508 echo "configure:2509: checking for $ac_word" >&5
     2635echo "configure:2636: checking for $ac_word" >&5
    25092636if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    25102637  echo $ac_n "(cached) $ac_c" 1>&6
     
    25142641  ac_cv_path_SIZE_FOR_TARGET="$SIZE_FOR_TARGET" # Let the user override the test with a path.
    25152642  ;;
     2643  ?:/*)                 
     2644  ac_cv_path_SIZE_FOR_TARGET="$SIZE_FOR_TARGET" # Let the user override the test with a dos path.
     2645  ;;
    25162646  *)
    2517   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    2518   for ac_dir in $PATH; do
     2647  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2648  ac_dummy="$PATH"
     2649  for ac_dir in $ac_dummy; do
    25192650    test -z "$ac_dir" && ac_dir=.
    25202651    if test -f $ac_dir/$ac_word; then
     
    25392670 
    25402671echo $ac_n "checking target's strip""... $ac_c" 1>&6
    2541 echo "configure:2542: checking target's strip" >&5
     2672echo "configure:2673: checking target's strip" >&5
    25422673if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
    25432674  echo $ac_n "(cached) $ac_c" 1>&6
     
    25722703    # intends
    25732704    echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2574 echo "configure:2575: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5
     2705echo "configure:2706: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5
    25752706    case "$STRIP_FOR_TARGET" in
    25762707    /*) # valid
     
    25892720set dummy "$program_prefix"strip; ac_word=$2
    25902721echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2591 echo "configure:2592: checking for $ac_word" >&5
     2722echo "configure:2723: checking for $ac_word" >&5
    25922723if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
    25932724  echo $ac_n "(cached) $ac_c" 1>&6
     
    25972728  ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
    25982729  ;;
     2730  ?:/*)                 
     2731  ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a dos path.
     2732  ;;
    25992733  *)
    2600   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    2601   for ac_dir in $PATH; do
     2734  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2735  ac_dummy="$PATH"
     2736  for ac_dir in $ac_dummy; do
    26022737    test -z "$ac_dir" && ac_dir=.
    26032738    if test -f $ac_dir/$ac_word; then
     
    26242759if test "${target_cpu}" = "i386"; then
    26252760    echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6
    2626 echo "configure:2627: checking for 16 bit mode assembler support" >&5
     2761echo "configure:2762: checking for 16 bit mode assembler support" >&5
    26272762if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then
    26282763  echo $ac_n "(cached) $ac_c" 1>&6
     
    26342769         lgdt 0
    26352770EOF
    2636       if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
     2771      if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
    26372772        rtems_cv_prog_gas_code16=yes
    26382773      else
     
    26492784set dummy gcc; ac_word=$2
    26502785echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2651 echo "configure:2652: checking for $ac_word" >&5
     2786echo "configure:2787: checking for $ac_word" >&5
    26522787if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    26532788  echo $ac_n "(cached) $ac_c" 1>&6
     
    26562791  ac_cv_prog_CC="$CC" # Let the user override the test.
    26572792else
    2658   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    2659   for ac_dir in $PATH; do
     2793  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2794  ac_dummy="$PATH"
     2795  for ac_dir in $ac_dummy; do
    26602796    test -z "$ac_dir" && ac_dir=.
    26612797    if test -f $ac_dir/$ac_word; then
     
    26782814set dummy cc; ac_word=$2
    26792815echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2680 echo "configure:2681: checking for $ac_word" >&5
     2816echo "configure:2817: checking for $ac_word" >&5
    26812817if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    26822818  echo $ac_n "(cached) $ac_c" 1>&6
     
    26852821  ac_cv_prog_CC="$CC" # Let the user override the test.
    26862822else
    2687   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
     2823  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    26882824  ac_prog_rejected=no
    2689   for ac_dir in $PATH; do
     2825  ac_dummy="$PATH"
     2826  for ac_dir in $ac_dummy; do
    26902827    test -z "$ac_dir" && ac_dir=.
    26912828    if test -f $ac_dir/$ac_word; then
     
    27222859fi
    27232860
     2861  if test -z "$CC"; then
     2862    case "`uname -s`" in
     2863    *win32* | *WIN32*)
     2864      # Extract the first word of "cl", so it can be a program name with args.
     2865set dummy cl; ac_word=$2
     2866echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     2867echo "configure:2868: checking for $ac_word" >&5
     2868if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     2869  echo $ac_n "(cached) $ac_c" 1>&6
     2870else
     2871  if test -n "$CC"; then
     2872  ac_cv_prog_CC="$CC" # Let the user override the test.
     2873else
     2874  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2875  ac_dummy="$PATH"
     2876  for ac_dir in $ac_dummy; do
     2877    test -z "$ac_dir" && ac_dir=.
     2878    if test -f $ac_dir/$ac_word; then
     2879      ac_cv_prog_CC="cl"
     2880      break
     2881    fi
     2882  done
     2883  IFS="$ac_save_ifs"
     2884fi
     2885fi
     2886CC="$ac_cv_prog_CC"
     2887if test -n "$CC"; then
     2888  echo "$ac_t""$CC" 1>&6
     2889else
     2890  echo "$ac_t""no" 1>&6
     2891fi
     2892 ;;
     2893    esac
     2894  fi
    27242895  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
    27252896fi
    27262897
    27272898echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2728 echo "configure:2729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2899echo "configure:2900: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    27292900
    27302901ac_ext=c
     
    27322903ac_cpp='$CPP $CPPFLAGS'
    27332904ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2734 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     2905ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    27352906cross_compiling=$ac_cv_prog_cc_cross
    27362907
    2737 cat > conftest.$ac_ext <<EOF
    2738 #line 2739 "configure"
     2908cat > conftest.$ac_ext << EOF
     2909
     2910#line 2911 "configure"
    27392911#include "confdefs.h"
     2912
    27402913main(){return(0);}
    27412914EOF
    2742 if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2915if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27432916  ac_cv_prog_cc_works=yes
    27442917  # If we can't run a trivial program, we are probably using a cross compiler.
     
    27542927fi
    27552928rm -fr conftest*
     2929ac_ext=c
     2930# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     2931ac_cpp='$CPP $CPPFLAGS'
     2932ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     2933ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     2934cross_compiling=$ac_cv_prog_cc_cross
    27562935
    27572936echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     
    27602939fi
    27612940echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2762 echo "configure:2763: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2941echo "configure:2942: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    27632942echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    27642943cross_compiling=$ac_cv_prog_cc_cross
    27652944
    27662945echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2767 echo "configure:2768: checking whether we are using GNU C" >&5
     2946echo "configure:2947: checking whether we are using GNU C" >&5
    27682947if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    27692948  echo $ac_n "(cached) $ac_c" 1>&6
     
    27742953#endif
    27752954EOF
    2776 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2955if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    27772956  ac_cv_prog_gcc=yes
    27782957else
     
    27852964if test $ac_cv_prog_gcc = yes; then
    27862965  GCC=yes
    2787   ac_test_CFLAGS="${CFLAGS+set}"
    2788   ac_save_CFLAGS="$CFLAGS"
    2789   CFLAGS=
    2790   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2791 echo "configure:2792: checking whether ${CC-cc} accepts -g" >&5
     2966else
     2967  GCC=
     2968fi
     2969
     2970ac_test_CFLAGS="${CFLAGS+set}"
     2971ac_save_CFLAGS="$CFLAGS"
     2972CFLAGS=
     2973echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     2974echo "configure:2975: checking whether ${CC-cc} accepts -g" >&5
    27922975if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    27932976  echo $ac_n "(cached) $ac_c" 1>&6
     
    28042987
    28052988echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
    2806   if test "$ac_test_CFLAGS" = set; then
    2807     CFLAGS="$ac_save_CFLAGS"
    2808   elif test $ac_cv_prog_cc_g = yes; then
     2989if test "$ac_test_CFLAGS" = set; then
     2990  CFLAGS="$ac_save_CFLAGS"
     2991elif test $ac_cv_prog_cc_g = yes; then
     2992  if test "$GCC" = yes; then
    28092993    CFLAGS="-g -O2"
    28102994  else
     2995    CFLAGS="-g"
     2996  fi
     2997else
     2998  if test "$GCC" = yes; then
    28112999    CFLAGS="-O2"
     3000  else
     3001    CFLAGS=
    28123002  fi
    2813 else
    2814   GCC=
    2815   test "${CFLAGS+set}" = set || CFLAGS="-g"
    28163003fi
    28173004
    28183005
    28193006echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
    2820 echo "configure:2821: checking for Cygwin32 environment" >&5
     3007echo "configure:3008: checking for Cygwin32 environment" >&5
    28213008if eval "test \"`echo '$''{'rtems_cv_cygwin32'+set}'`\" = set"; then
    28223009  echo $ac_n "(cached) $ac_c" 1>&6
    28233010else
    28243011  cat > conftest.$ac_ext <<EOF
    2825 #line 2826 "configure"
     3012#line 3013 "configure"
    28263013#include "confdefs.h"
    28273014
     
    28303017; return 0; }
    28313018EOF
    2832 if { (eval echo configure:2833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3019if { (eval echo configure:3020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28333020  rm -rf conftest*
    28343021  rtems_cv_cygwin32=yes
     
    28483035
    28493036echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2850 echo "configure:2851: checking for executable suffix" >&5
     3037echo "configure:3038: checking for executable suffix" >&5
    28513038if eval "test \"`echo '$''{'rtems_cv_exeext'+set}'`\" = set"; then
    28523039  echo $ac_n "(cached) $ac_c" 1>&6
     
    28893076do
    28903077echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2891 echo "configure:2892: checking for $ac_func" >&5
     3078echo "configure:3079: checking for $ac_func" >&5
    28923079if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28933080  echo $ac_n "(cached) $ac_c" 1>&6
    28943081else
    28953082  cat > conftest.$ac_ext <<EOF
    2896 #line 2897 "configure"
     3083#line 3084 "configure"
    28973084#include "confdefs.h"
    28983085/* System header to define __stub macros and hopefully few prototypes,
     
    29173104; return 0; }
    29183105EOF
    2919 if { (eval echo configure:2920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3106if { (eval echo configure:3107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29203107  rm -rf conftest*
    29213108  eval "ac_cv_func_$ac_func=yes"
     
    29463133
    29473134echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6
    2948 echo "configure:2949: checking whether $RTEMS_HOST supports System V semaphores" >&5
     3135echo "configure:3136: checking whether $RTEMS_HOST supports System V semaphores" >&5
    29493136if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then
    29503137  echo $ac_n "(cached) $ac_c" 1>&6
     
    29553142else
    29563143  cat > conftest.$ac_ext <<EOF
    2957 #line 2958 "configure"
     3144#line 3145 "configure"
    29583145#include "confdefs.h"
    29593146
     
    29813168
    29823169EOF
    2983 if { (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3170if { (eval echo configure:3171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29843171then
    29853172  rtems_cv_sysv_sem="yes"
     
    30043191
    30053192echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6
    3006 echo "configure:3007: checking whether $RTEMS_HOST supports System V shared memory" >&5
     3193echo "configure:3194: checking whether $RTEMS_HOST supports System V shared memory" >&5
    30073194if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then
    30083195  echo $ac_n "(cached) $ac_c" 1>&6
     
    30133200else
    30143201  cat > conftest.$ac_ext <<EOF
    3015 #line 3016 "configure"
     3202#line 3203 "configure"
    30163203#include "confdefs.h"
    30173204
     
    30293216
    30303217EOF
    3031 if { (eval echo configure:3032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3218if { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30323219then
    30333220  rtems_cv_sysv_shm="yes"
     
    30523239
    30533240echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6
    3054 echo "configure:3055: checking whether $RTEMS_HOST supports System V messages" >&5
     3241echo "configure:3242: checking whether $RTEMS_HOST supports System V messages" >&5
    30553242if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then
    30563243  echo $ac_n "(cached) $ac_c" 1>&6
     
    30613248else
    30623249  cat > conftest.$ac_ext <<EOF
    3063 #line 3064 "configure"
     3250#line 3251 "configure"
    30643251#include "confdefs.h"
    30653252
     
    30773264
    30783265EOF
    3079 if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3266if { (eval echo configure:3267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30803267then
    30813268  rtems_cv_sysv_msg="yes"
     
    31023289
    31033290echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6
    3104 echo "configure:3105: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
     3291echo "configure:3292: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
    31053292if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then
    31063293  rtems_av_save_dir=`pwd`;
     
    31173304
    31183305echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6
    3119 echo "configure:3120: checking for Makefile.in in c/src/exec/rtems" >&5
     3306echo "configure:3307: checking for Makefile.in in c/src/exec/rtems" >&5
    31203307if test -d $srcdir/c/src/exec/rtems; then
    31213308  rtems_av_save_dir=`pwd`;
     
    31323319
    31333320echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6
    3134 echo "configure:3135: checking for Makefile.in in c/src/exec/sapi" >&5
     3321echo "configure:3322: checking for Makefile.in in c/src/exec/sapi" >&5
    31353322if test -d $srcdir/c/src/exec/sapi; then
    31363323  rtems_av_save_dir=`pwd`;
     
    31473334
    31483335echo $ac_n "checking for Makefile.in in c/src/exec/score/cpu/$target_cpu""... $ac_c" 1>&6
    3149 echo "configure:3150: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&5
     3336echo "configure:3337: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&5
    31503337if test -d $srcdir/c/src/exec/score/cpu/$target_cpu; then
    31513338  rtems_av_save_dir=`pwd`;
     
    31643351 
    31653352echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
    3166 echo "configure:3167: checking for Makefile.in in c/src/exec/posix" >&5
     3353echo "configure:3354: checking for Makefile.in in c/src/exec/posix" >&5
    31673354if test -d $srcdir/c/src/exec/posix; then
    31683355  rtems_av_save_dir=`pwd`;
     
    31863373  if test -z "$rtems_bsp"; then
    31873374    echo $ac_n "checking for bsps""... $ac_c" 1>&6
    3188 echo "configure:3189: checking for bsps" >&5
     3375echo "configure:3376: checking for bsps" >&5
    31893376    files=`ls $srcdir/c/src/lib/libbsp/$target_cpu`
    31903377    for file in $files; do
     
    32513438       
    32523439echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6
    3253 echo "configure:3254: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
     3440echo "configure:3441: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
    32543441if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then
    32553442  rtems_av_save_dir=`pwd`;
     
    32663453       
    32673454echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6
    3268 echo "configure:3269: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
     3455echo "configure:3456: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
    32693456if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then
    32703457  rtems_av_save_dir=`pwd`;
     
    32893476
    32903477echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    3291 echo "configure:3292: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     3478echo "configure:3479: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    32923479if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    32933480  rtems_av_save_dir=`pwd`;
     
    33063493 
    33073494echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    3308 echo "configure:3309: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     3495echo "configure:3496: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    33093496if test -d $srcdir/c/src/lib/start/$target_cpu; then
    33103497  rtems_av_save_dir=`pwd`;
     
    33383525# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
    33393526echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6
    3340 echo "configure:3341: checking if networking is enabled? " >&5
     3527echo "configure:3528: checking if networking is enabled? " >&5
    33413528echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6
    33423529if test "$RTEMS_HAS_NETWORKING" = "yes"; then
    33433530 
    33443531echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6
    3345 echo "configure:3346: checking for Makefile.in in c/src/lib/libnetworking" >&5
     3532echo "configure:3533: checking for Makefile.in in c/src/lib/libnetworking" >&5
    33463533if test -d $srcdir/c/src/lib/libnetworking; then
    33473534  rtems_av_save_dir=`pwd`;
     
    33583545 
    33593546echo $ac_n "checking for Makefile.in in c/src/lib/librpc""... $ac_c" 1>&6
    3360 echo "configure:3361: checking for Makefile.in in c/src/lib/librpc" >&5
     3547echo "configure:3548: checking for Makefile.in in c/src/lib/librpc" >&5
    33613548if test -d $srcdir/c/src/lib/librpc; then
    33623549  rtems_av_save_dir=`pwd`;
     
    33743561   
    33753562echo $ac_n "checking for Makefile.in in c/src/lib/librdbg""... $ac_c" 1>&6
    3376 echo "configure:3377: checking for Makefile.in in c/src/lib/librdbg" >&5
     3563echo "configure:3564: checking for Makefile.in in c/src/lib/librdbg" >&5
    33773564if test -d $srcdir/c/src/lib/librdbg; then
    33783565  rtems_av_save_dir=`pwd`;
     
    33973584# If the tests are enabled, then find all the test suite Makefiles
    33983585echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6
    3399 echo "configure:3400: checking if the test suites are enabled? " >&5
     3586echo "configure:3587: checking if the test suites are enabled? " >&5
    34003587tests_enabled=no
    34013588# Check whether --enable-tests or --disable-tests was given.
     
    34163603
    34173604echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
    3418 echo "configure:3419: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     3605echo "configure:3606: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
    34193606if test -d $srcdir/c/src/tests/tools/$target_cpu; then
    34203607  rtems_av_save_dir=`pwd`;
     
    34333620   
    34343621echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    3435 echo "configure:3436: checking for Makefile.in in c/src/tests/libtests" >&5
     3622echo "configure:3623: checking for Makefile.in in c/src/tests/libtests" >&5
    34363623if test -d $srcdir/c/src/tests/libtests; then
    34373624  rtems_av_save_dir=`pwd`;
     
    34483635   
    34493636echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    3450 echo "configure:3451: checking for Makefile.in in c/src/tests/sptests" >&5
     3637echo "configure:3638: checking for Makefile.in in c/src/tests/sptests" >&5
    34513638if test -d $srcdir/c/src/tests/sptests; then
    34523639  rtems_av_save_dir=`pwd`;
     
    34633650   
    34643651echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    3465 echo "configure:3466: checking for Makefile.in in c/src/tests/tmtests" >&5
     3652echo "configure:3653: checking for Makefile.in in c/src/tests/tmtests" >&5
    34663653if test -d $srcdir/c/src/tests/tmtests; then
    34673654  rtems_av_save_dir=`pwd`;
     
    34793666       
    34803667echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    3481 echo "configure:3482: checking for Makefile.in in c/src/tests/mptests" >&5
     3668echo "configure:3669: checking for Makefile.in in c/src/tests/mptests" >&5
    34823669if test -d $srcdir/c/src/tests/mptests; then
    34833670  rtems_av_save_dir=`pwd`;
     
    34963683     
    34973684echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    3498 echo "configure:3499: checking for Makefile.in in c/src/tests/psxtests" >&5
     3685echo "configure:3686: checking for Makefile.in in c/src/tests/psxtests" >&5
    34993686if test -d $srcdir/c/src/tests/psxtests; then
    35003687  rtems_av_save_dir=`pwd`;
     
    35143701# If the HWAPI is enabled, the find the HWAPI Makefiles
    35153702echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6
    3516 echo "configure:3517: checking if the HWAPI is enabled? " >&5
     3703echo "configure:3704: checking if the HWAPI is enabled? " >&5
    35173704# Check whether --enable-hwapi or --disable-hwapi was given.
    35183705if test "${enable_hwapi+set}" = set; then
     
    35253712           
    35263713echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6
    3527 echo "configure:3528: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
     3714echo "configure:3715: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
    35283715if test -d $srcdir/c/src/lib/libhwapi/analog; then
    35293716  rtems_av_save_dir=`pwd`;
     
    35403727           
    35413728echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6
    3542 echo "configure:3543: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
     3729echo "configure:3730: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
    35433730if test -d $srcdir/c/src/lib/libhwapi/discrete; then
    35443731  rtems_av_save_dir=`pwd`;
     
    35553742           
    35563743echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6
    3557 echo "configure:3558: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
     3744echo "configure:3745: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
    35583745if test -d $srcdir/c/src/lib/libhwapi/drivers; then
    35593746  rtems_av_save_dir=`pwd`;
     
    35703757           
    35713758echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6
    3572 echo "configure:3573: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
     3759echo "configure:3760: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
    35733760if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then
    35743761  rtems_av_save_dir=`pwd`;
     
    35853772           
    35863773echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6
    3587 echo "configure:3588: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
     3774echo "configure:3775: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
    35883775if test -d $srcdir/c/src/lib/libhwapi/serial; then
    35893776  rtems_av_save_dir=`pwd`;
     
    36003787           
    36013788echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6
    3602 echo "configure:3603: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
     3789echo "configure:3790: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
    36033790if test -d $srcdir/c/src/lib/libhwapi/support; then
    36043791  rtems_av_save_dir=`pwd`;
     
    36153802           
    36163803echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6
    3617 echo "configure:3618: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
     3804echo "configure:3805: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
    36183805if test -d $srcdir/c/src/lib/libhwapi/wrapup; then
    36193806  rtems_av_save_dir=`pwd`;
     
    36663853
    36673854echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6
    3668 echo "configure:3669: checking for Makefile.in in c/build-tools" >&5
     3855echo "configure:3856: checking for Makefile.in in c/build-tools" >&5
    36693856if test -d $srcdir/c/build-tools; then
    36703857  rtems_av_save_dir=`pwd`;
     
    36813868
    36823869echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6
    3683 echo "configure:3684: checking for Makefile.in in make" >&5
     3870echo "configure:3871: checking for Makefile.in in make" >&5
    36843871if test -d $srcdir/make; then
    36853872  rtems_av_save_dir=`pwd`;
     
    36963883
    36973884echo $ac_n "checking for Makefile.in in c/src/lib/libchip""... $ac_c" 1>&6
    3698 echo "configure:3699: checking for Makefile.in in c/src/lib/libchip" >&5
     3885echo "configure:3886: checking for Makefile.in in c/src/lib/libchip" >&5
    36993886if test -d $srcdir/c/src/lib/libchip; then
    37003887  rtems_av_save_dir=`pwd`;
     
    37113898
    37123899echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    3713 echo "configure:3714: checking for Makefile.in in c/src/lib/libmisc" >&5
     3900echo "configure:3901: checking for Makefile.in in c/src/lib/libmisc" >&5
    37143901if test -d $srcdir/c/src/lib/libmisc; then
    37153902  rtems_av_save_dir=`pwd`;
     
    37263913
    37273914echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    3728 echo "configure:3729: checking for Makefile.in in c/src/tests/samples" >&5
     3915echo "configure:3916: checking for Makefile.in in c/src/tests/samples" >&5
    37293916if test -d $srcdir/c/src/tests/samples; then
    37303917  rtems_av_save_dir=`pwd`;
     
    37663953# and sets the high bit in the cache file unless we assign to the vars.
    37673954(set) 2>&1 |
    3768   case `(ac_space=' '; set) 2>&1` in
     3955  case `(ac_space=' '; set | grep ac_space) 2>&1` in
    37693956  *ac_space=\ *)
    37703957    # `set' does not quote correctly, so add quotes (double-quote substitution
     
    38334020    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    38344021  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    3835     echo "$CONFIG_STATUS generated by autoconf version 2.12"
     4022    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    38364023    exit 0 ;;
    38374024  -help | --help | --hel | --he | --h)
     
    38914078$ac_vpsub
    38924079$extrasub
     4080s%@SHELL@%$SHELL%g
    38934081s%@CFLAGS@%$CFLAGS%g
    38944082s%@CPPFLAGS@%$CPPFLAGS%g
    38954083s%@CXXFLAGS@%$CXXFLAGS%g
     4084s%@FFLAGS@%$FFLAGS%g
    38964085s%@DEFS@%$DEFS%g
    38974086s%@LDFLAGS@%$LDFLAGS%g
     
    39374126s%@SORT@%$SORT%g
    39384127s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
     4128s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
    39394129s%@INSTALL_DATA@%$INSTALL_DATA%g
    39404130s%@PERL@%$PERL%g
Note: See TracChangeset for help on using the changeset viewer.