Changeset 2c3840b in rtems


Ignore:
Timestamp:
09/30/98 20:58:39 (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b8ea1c8e
Parents:
2405b767
Message:

Added new autoconf test for i386 code16/code32 support. The guts of the
test were suggested by Ian Taylor <ian@…> and Joel did the
hard part of putting it in aclocal and editting all the offending
Makefiles and source code which could use this feature.

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r2405b767 r2c3840b  
    11dnl aclocal.m4 generated automatically by aclocal 1.2
    22
    3 dnl $Id$
     3dnl
     4dnl $Id$
     5dnl
    46
    57dnl macro to detect mkdir
     
    4143
    4244
    43 dnl $Id$
     45dnl
     46dnl $Id$
     47dnl
    4448
    4549dnl canonicalize target name
     
    5761])
    5862
     63dnl
     64dnl  $Id$
     65dnl
    5966dnl Set program_prefix
    6067dnl
     
    260267])
    261268
     269dnl
    262270dnl $Id$
    263271dnl
     
    356364])
    357365
     366dnl
     367dnl $Id$
     368dnl
     369
    358370AC_DEFUN(RTEMS_AR_FOR_TARGET_S,
    359371[
     
    378390
    379391
     392dnl
     393dnl  $Id$
     394dnl
     395
     396dnl check for i386 gas supporting 16 bit mode
     397
     398AC_DEFUN(RTEMS_I386_GAS_CODE16,
     399  if test "${target_cpu}" = "i386"; then
     400    AC_CACHE_CHECK([for 16 bit mode assembler support],
     401      rtems_cv_prog_gas_code16,
     402      [cat > conftest.s << EOF
     403         .code16
     404         data32 addr32 lgdt 0
     405EOF
     406      if AC_TRY_COMMAND($AS_FOR_TARGET -o conftest.o conftest.s); then
     407        rtems_cv_prog_gas_code16=yes
     408      else
     409        rtems_cv_prog_gas_code16=no
     410      fi])
     411    RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
     412  fi
     413)
     414
     415
     416dnl
     417dnl  $Id$
     418dnl
    380419dnl Detect the Cygwin32 environment (unix under Win32)
    381420dnl
     
    397436
    398437
     438dnl
     439dnl  $Id$
     440dnl
    399441dnl Set the EXE extension
    400442dnl
     
    530572])
    531573
    532 dnl $Id$
     574dnl
     575dnl $Id$
     576dnl
    533577
    534578dnl RTEMS_CHECK_MAKEFILE(path)
     
    541585])
    542586
    543 dnl $Id$
     587dnl
     588dnl $Id$
     589dnl
    544590
    545591dnl RTEMS_CHECK_FILES_IN(path,file,var)
     
    547593dnl file .. name of the files to search for
    548594dnl var  .. shell variable to append files found
     595
    549596AC_DEFUN(RTEMS_CHECK_FILES_IN,
    550597[
  • aclocal/i386-gas-code16.m4

    r2405b767 r2c3840b  
    44
    55dnl check for i386 gas supporting 16 bit mode
     6dnl     - binutils 2.9.1.0.7 and higher
    67
    78AC_DEFUN(RTEMS_I386_GAS_CODE16,
     
    1819        rtems_cv_prog_gas_code16=no
    1920      fi])
    20     if test "$rtems_cv_prog_gas_code16" = "yes"; then
    21       AC_DEFINE(RTEMS_PROG_GAS_CODE16)
    22     fi
     21    RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
    2322  fi
    2423)
  • c/src/lib/libbsp/i386/i386ex/start/Makefile.in

    r2405b767 r2c3840b  
    88RTEMS_ROOT = @top_srcdir@
    99PROJECT_ROOT = @PROJECT_ROOT@
     10RTEMS_GAS_CODE16 = @RTEMS_GAS_CODE16@
    1011
    1112PGMS=${ARCH}/start.o
     
    3334#
    3435
    35 DEFINES  +=
     36ifeq ($(RTEMS_GAS_CODE16),yes)
     37DEFINES  += -DNEXT_GAS
     38endif
    3639CPPFLAGS +=
    3740CFLAGS   +=
  • c/src/lib/libbsp/i386/i386ex/start/start.s

    r2405b767 r2c3840b  
    4141
    4242/*
    43  * Needed for binutils 2.9.1.0.7 and higher
    44  * #define NEXT_GAS
     43 * NEXT_GAS Needed for binutils 2.9.1.0.7 and higher
    4544 */                     
    4645
    47 #define NEXT_GAS
    48        
    4946        EXTERN (boot_card)         /* exits to bspstart   */
    5047        EXTERN (stack_start)       /* defined in startup/linkcmds */
  • c/src/lib/libbsp/i386/i386ex/startup/Makefile.in

    r2405b767 r2c3840b  
    3838
    3939#DEFINES  += -DPRINTON
    40 DEFINES  += -I$(srcdir) 
     40DEFINES  += -I$(srcdir)
    4141CPPFLAGS +=
    4242CFLAGS   += -g
  • c/src/lib/libbsp/i386/pc386/start/Makefile.in

    r2405b767 r2c3840b  
    88RTEMS_ROOT = @top_srcdir@
    99PROJECT_ROOT = @PROJECT_ROOT@
     10RTEMS_GAS_CODE16 = @RTEMS_GAS_CODE16@
    1011
    1112PGMS=${ARCH}/start.o ${ARCH}/start16.bin
     
    3334#
    3435
    35 DEFINES  +=
     36ifeq ($(RTEMS_GAS_CODE16),yes)
     37DEFINES  += -DNEXT_GAS
     38endif
    3639CPPFLAGS +=
    3740CFLAGS   +=
  • configure

    r2405b767 r2c3840b  
    11#! /bin/sh
     2
     3
     4
     5
     6
     7# Check to see if we're running under Cygwin32, without using
     8# AC_CANONICAL_*.  If so, set output variable CYGWIN32 to "yes".
     9# Otherwise set it to "no".
     10
     11
     12
     13
     14
     15# Check to see if we're running under Win32, without using
     16# AC_CANONICAL_*.  If so, set output variable EXEEXT to ".exe".
     17# Otherwise set it to "".
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
    236
    337# Guess values for system-dependent variables and create Makefiles.
     
    559593
    560594echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    561 echo "configure:562: checking whether ${MAKE-make} sets \${MAKE}" >&5
     595echo "configure:596: checking whether ${MAKE-make} sets \${MAKE}" >&5
    562596set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    563597if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    632666
    633667echo $ac_n "checking host system type""... $ac_c" 1>&6
    634 echo "configure:635: checking host system type" >&5
     668echo "configure:669: checking host system type" >&5
    635669
    636670host_alias=$host
     
    653687
    654688echo $ac_n "checking target system type""... $ac_c" 1>&6
    655 echo "configure:656: checking target system type" >&5
     689echo "configure:690: checking target system type" >&5
    656690
    657691target_alias=$target
     
    671705
    672706echo $ac_n "checking build system type""... $ac_c" 1>&6
    673 echo "configure:674: checking build system type" >&5
     707echo "configure:708: checking build system type" >&5
    674708
    675709build_alias=$build
     
    824858set dummy cat; ac_word=$2
    825859echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    826 echo "configure:827: checking for $ac_word" >&5
     860echo "configure:861: checking for $ac_word" >&5
    827861if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then
    828862  echo $ac_n "(cached) $ac_c" 1>&6
     
    855889set dummy rm; ac_word=$2
    856890echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    857 echo "configure:858: checking for $ac_word" >&5
     891echo "configure:892: checking for $ac_word" >&5
    858892if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
    859893  echo $ac_n "(cached) $ac_c" 1>&6
     
    886920set dummy cp; ac_word=$2
    887921echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    888 echo "configure:889: checking for $ac_word" >&5
     922echo "configure:923: checking for $ac_word" >&5
    889923if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
    890924  echo $ac_n "(cached) $ac_c" 1>&6
     
    917951set dummy mv; ac_word=$2
    918952echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    919 echo "configure:920: checking for $ac_word" >&5
     953echo "configure:954: checking for $ac_word" >&5
    920954if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
    921955  echo $ac_n "(cached) $ac_c" 1>&6
     
    948982set dummy ln; ac_word=$2
    949983echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    950 echo "configure:951: checking for $ac_word" >&5
     984echo "configure:985: checking for $ac_word" >&5
    951985if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
    952986  echo $ac_n "(cached) $ac_c" 1>&6
     
    9771011
    9781012echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    979 echo "configure:980: checking whether ln -s works" >&5
     1013echo "configure:1014: checking whether ln -s works" >&5
    9801014if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    9811015  echo $ac_n "(cached) $ac_c" 1>&6
     
    10001034set dummy chmod; ac_word=$2
    10011035echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1002 echo "configure:1003: checking for $ac_word" >&5
     1036echo "configure:1037: checking for $ac_word" >&5
    10031037if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
    10041038  echo $ac_n "(cached) $ac_c" 1>&6
     
    10311065set dummy sort; ac_word=$2
    10321066echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1033 echo "configure:1034: checking for $ac_word" >&5
     1067echo "configure:1068: checking for $ac_word" >&5
    10341068if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then
    10351069  echo $ac_n "(cached) $ac_c" 1>&6
     
    10701104# ./install, which can be erroneously created by make from ./install.sh.
    10711105echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1072 echo "configure:1073: checking for a BSD compatible install" >&5
     1106echo "configure:1107: checking for a BSD compatible install" >&5
    10731107if test -z "$INSTALL"; then
    10741108if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    11231157set dummy mkdir; ac_word=$2
    11241158echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1125 echo "configure:1126: checking for $ac_word" >&5
     1159echo "configure:1160: checking for $ac_word" >&5
    11261160if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
    11271161  echo $ac_n "(cached) $ac_c" 1>&6
     
    11551189
    11561190echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6
    1157 echo "configure:1158: checking for working $MKDIR -m 0755" >&5
     1191echo "configure:1192: checking for working $MKDIR -m 0755" >&5
    11581192if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then
    11591193  echo $ac_n "(cached) $ac_c" 1>&6
     
    11721206
    11731207echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6
    1174 echo "configure:1175: checking for working $MKDIR -p" >&5
     1208echo "configure:1209: checking for working $MKDIR -p" >&5
    11751209if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then
    11761210  echo $ac_n "(cached) $ac_c" 1>&6
     
    11921226set dummy touch; ac_word=$2
    11931227echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1194 echo "configure:1195: checking for $ac_word" >&5
     1228echo "configure:1229: checking for $ac_word" >&5
    11951229if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then
    11961230  echo $ac_n "(cached) $ac_c" 1>&6
     
    12231257set dummy cmp; ac_word=$2
    12241258echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1225 echo "configure:1226: checking for $ac_word" >&5
     1259echo "configure:1260: checking for $ac_word" >&5
    12261260if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
    12271261  echo $ac_n "(cached) $ac_c" 1>&6
     
    12551289set dummy sed; ac_word=$2
    12561290echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1257 echo "configure:1258: checking for $ac_word" >&5
     1291echo "configure:1292: checking for $ac_word" >&5
    12581292if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
    12591293  echo $ac_n "(cached) $ac_c" 1>&6
     
    12881322set dummy $ac_prog; ac_word=$2
    12891323echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1290 echo "configure:1291: checking for $ac_word" >&5
     1324echo "configure:1325: checking for $ac_word" >&5
    12911325if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
    12921326  echo $ac_n "(cached) $ac_c" 1>&6
     
    13251359set dummy $ac_prog; ac_word=$2
    13261360echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1327 echo "configure:1328: checking for $ac_word" >&5
     1361echo "configure:1362: checking for $ac_word" >&5
    13281362if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    13291363  echo $ac_n "(cached) $ac_c" 1>&6
     
    14031437  *)
    14041438        echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1405 echo "configure:1406: checking rtems target cpu" >&5
     1439echo "configure:1440: checking rtems target cpu" >&5
    14061440target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    14071441echo "$ac_t""$target_cpu" 1>&6
     
    14221456# Is this a supported CPU?
    14231457echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    1424 echo "configure:1425: checking if cpu $target_cpu is supported" >&5
     1458echo "configure:1459: checking if cpu $target_cpu is supported" >&5
    14251459if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then
    14261460  echo "$ac_t""yes" 1>&6
     
    14471481set dummy $ac_prog; ac_word=$2
    14481482echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1449 echo "configure:1450: checking for $ac_word" >&5
     1483echo "configure:1484: checking for $ac_word" >&5
    14501484if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then
    14511485  echo $ac_n "(cached) $ac_c" 1>&6
     
    14871521
    14881522echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1489 echo "configure:1490: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1523echo "configure:1524: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    14901524
    14911525ac_ext=c
     
    14971531
    14981532cat > conftest.$ac_ext <<EOF
    1499 #line 1500 "configure"
     1533#line 1534 "configure"
    15001534#include "confdefs.h"
    15011535main(){return(0);}
    15021536EOF
    1503 if { (eval echo configure:1504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1537if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    15041538  ac_cv_prog_cc_works=yes
    15051539  # If we can't run a trivial program, we are probably using a cross compiler.
     
    15211555fi
    15221556echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1523 echo "configure:1524: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1557echo "configure:1558: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    15241558echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    15251559cross_compiling=$ac_cv_prog_cc_cross
    15261560
    15271561echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1528 echo "configure:1529: checking whether we are using GNU C" >&5
     1562echo "configure:1563: checking whether we are using GNU C" >&5
    15291563if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    15301564  echo $ac_n "(cached) $ac_c" 1>&6
     
    15351569#endif
    15361570EOF
    1537 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1571if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    15381572  ac_cv_prog_gcc=yes
    15391573else
     
    15501584  CFLAGS=
    15511585  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1552 echo "configure:1553: checking whether ${CC-cc} accepts -g" >&5
     1586echo "configure:1587: checking whether ${CC-cc} accepts -g" >&5
    15531587if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    15541588  echo $ac_n "(cached) $ac_c" 1>&6
     
    15921626
    15931627echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6
    1594 echo "configure:1595: checking whether $CC_FOR_TARGET accepts -specs" >&5
     1628echo "configure:1629: checking whether $CC_FOR_TARGET accepts -specs" >&5
    15951629if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then
    15961630  echo $ac_n "(cached) $ac_c" 1>&6
     
    16131647
    16141648echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6
    1615 echo "configure:1616: checking whether $CC_FOR_TARGET accepts --pipe" >&5
     1649echo "configure:1650: checking whether $CC_FOR_TARGET accepts --pipe" >&5
    16161650if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then
    16171651  echo $ac_n "(cached) $ac_c" 1>&6
     
    16541688set dummy $ac_prog; ac_word=$2
    16551689echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1656 echo "configure:1657: checking for $ac_word" >&5
     1690echo "configure:1691: checking for $ac_word" >&5
    16571691if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then
    16581692  echo $ac_n "(cached) $ac_c" 1>&6
     
    16941728
    16951729echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1696 echo "configure:1697: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1730echo "configure:1731: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    16971731
    16981732ac_ext=C
     
    17041738
    17051739cat > conftest.$ac_ext <<EOF
    1706 #line 1707 "configure"
     1740#line 1741 "configure"
    17071741#include "confdefs.h"
    17081742main(){return(0);}
    17091743EOF
    1710 if { (eval echo configure:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1744if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    17111745  ac_cv_prog_cxx_works=yes
    17121746  # If we can't run a trivial program, we are probably using a cross compiler.
     
    17341768fi
    17351769echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1736 echo "configure:1737: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1770echo "configure:1771: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    17371771echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    17381772cross_compiling=$ac_cv_prog_cxx_cross
    17391773
    17401774echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1741 echo "configure:1742: checking whether we are using GNU C++" >&5
     1775echo "configure:1776: checking whether we are using GNU C++" >&5
    17421776if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    17431777  echo $ac_n "(cached) $ac_c" 1>&6
     
    17481782#endif
    17491783EOF
    1750 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1784if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    17511785  ac_cv_prog_gxx=yes
    17521786else
     
    17631797  CXXFLAGS=
    17641798  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1765 echo "configure:1766: checking whether ${CXX-g++} accepts -g" >&5
     1799echo "configure:1800: checking whether ${CXX-g++} accepts -g" >&5
    17661800if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    17671801  echo $ac_n "(cached) $ac_c" 1>&6
     
    18171851 
    18181852echo $ac_n "checking target's ar""... $ac_c" 1>&6
    1819 echo "configure:1820: checking target's ar" >&5
     1853echo "configure:1854: checking target's ar" >&5
    18201854if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    18211855  echo $ac_n "(cached) $ac_c" 1>&6
     
    18501884    # intends
    18511885    echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1852 echo "configure:1853: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
     1886echo "configure:1887: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
    18531887    case "$AR_FOR_TARGET" in
    18541888    /*) # valid
     
    18671901set dummy "$program_prefix"ar; ac_word=$2
    18681902echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1869 echo "configure:1870: checking for $ac_word" >&5
     1903echo "configure:1904: checking for $ac_word" >&5
    18701904if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    18711905  echo $ac_n "(cached) $ac_c" 1>&6
     
    19001934 
    19011935echo $ac_n "checking target's as""... $ac_c" 1>&6
    1902 echo "configure:1903: checking target's as" >&5
     1936echo "configure:1937: checking target's as" >&5
    19031937if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    19041938  echo $ac_n "(cached) $ac_c" 1>&6
     
    19331967    # intends
    19341968    echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1935 echo "configure:1936: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
     1969echo "configure:1970: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
    19361970    case "$AS_FOR_TARGET" in
    19371971    /*) # valid
     
    19501984set dummy "$program_prefix"as; ac_word=$2
    19511985echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1952 echo "configure:1953: checking for $ac_word" >&5
     1986echo "configure:1987: checking for $ac_word" >&5
    19531987if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    19541988  echo $ac_n "(cached) $ac_c" 1>&6
     
    19832017 
    19842018echo $ac_n "checking target's ld""... $ac_c" 1>&6
    1985 echo "configure:1986: checking target's ld" >&5
     2019echo "configure:2020: checking target's ld" >&5
    19862020if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    19872021  echo $ac_n "(cached) $ac_c" 1>&6
     
    20162050    # intends
    20172051    echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2018 echo "configure:2019: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
     2052echo "configure:2053: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
    20192053    case "$LD_FOR_TARGET" in
    20202054    /*) # valid
     
    20332067set dummy "$program_prefix"ld; ac_word=$2
    20342068echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2035 echo "configure:2036: checking for $ac_word" >&5
     2069echo "configure:2070: checking for $ac_word" >&5
    20362070if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    20372071  echo $ac_n "(cached) $ac_c" 1>&6
     
    20662100 
    20672101echo $ac_n "checking target's nm""... $ac_c" 1>&6
    2068 echo "configure:2069: checking target's nm" >&5
     2102echo "configure:2103: checking target's nm" >&5
    20692103if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    20702104  echo $ac_n "(cached) $ac_c" 1>&6
     
    20992133    # intends
    21002134    echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2101 echo "configure:2102: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
     2135echo "configure:2136: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
    21022136    case "$NM_FOR_TARGET" in
    21032137    /*) # valid
     
    21162150set dummy "$program_prefix"nm; ac_word=$2
    21172151echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2118 echo "configure:2119: checking for $ac_word" >&5
     2152echo "configure:2153: checking for $ac_word" >&5
    21192153if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    21202154  echo $ac_n "(cached) $ac_c" 1>&6
     
    21502184 
    21512185echo $ac_n "checking target's ranlib""... $ac_c" 1>&6
    2152 echo "configure:2153: checking target's ranlib" >&5
     2186echo "configure:2187: checking target's ranlib" >&5
    21532187if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    21542188  echo $ac_n "(cached) $ac_c" 1>&6
     
    21832217    # intends
    21842218    echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2185 echo "configure:2186: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
     2219echo "configure:2220: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
    21862220    case "$RANLIB_FOR_TARGET" in
    21872221    /*) # valid
     
    22002234set dummy "$program_prefix"ranlib; ac_word=$2
    22012235echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2202 echo "configure:2203: checking for $ac_word" >&5
     2236echo "configure:2237: checking for $ac_word" >&5
    22032237if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    22042238  echo $ac_n "(cached) $ac_c" 1>&6
     
    22352269   
    22362270echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6
    2237 echo "configure:2238: checking whether $AR_FOR_TARGET -s works" >&5
     2271echo "configure:2272: checking whether $AR_FOR_TARGET -s works" >&5
    22382272if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then
    22392273  echo $ac_n "(cached) $ac_c" 1>&6
     
    22442278{ return b; }
    22452279EOF
    2246 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    2247   && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2280if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2281  && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    22482282  && test -s conftest.a ; \
    22492283then
     
    22702304 
    22712305echo $ac_n "checking target's objcopy""... $ac_c" 1>&6
    2272 echo "configure:2273: checking target's objcopy" >&5
     2306echo "configure:2307: checking target's objcopy" >&5
    22732307if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    22742308  echo $ac_n "(cached) $ac_c" 1>&6
     
    23032337    # intends
    23042338    echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2305 echo "configure:2306: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
     2339echo "configure:2340: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
    23062340    case "$OBJCOPY_FOR_TARGET" in
    23072341    /*) # valid
     
    23202354set dummy "$program_prefix"objcopy; ac_word=$2
    23212355echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2322 echo "configure:2323: checking for $ac_word" >&5
     2356echo "configure:2357: checking for $ac_word" >&5
    23232357if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    23242358  echo $ac_n "(cached) $ac_c" 1>&6
     
    23532387 
    23542388echo $ac_n "checking target's size""... $ac_c" 1>&6
    2355 echo "configure:2356: checking target's size" >&5
     2389echo "configure:2390: checking target's size" >&5
    23562390if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    23572391  echo $ac_n "(cached) $ac_c" 1>&6
     
    23862420    # intends
    23872421    echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2388 echo "configure:2389: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
     2422echo "configure:2423: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
    23892423    case "$SIZE_FOR_TARGET" in
    23902424    /*) # valid
     
    24032437set dummy "$program_prefix"size; ac_word=$2
    24042438echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2405 echo "configure:2406: checking for $ac_word" >&5
     2439echo "configure:2440: checking for $ac_word" >&5
    24062440if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    24072441  echo $ac_n "(cached) $ac_c" 1>&6
     
    24362470
    24372471
     2472if test "${target_cpu}" = "i386"; then
     2473    echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6
     2474echo "configure:2475: checking for 16 bit mode assembler support" >&5
     2475if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then
     2476  echo $ac_n "(cached) $ac_c" 1>&6
     2477else
     2478  cat > conftest.s << EOF
     2479         .code16
     2480         data32 addr32 lgdt 0
     2481EOF
     2482      if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
     2483        rtems_cv_prog_gas_code16=yes
     2484      else
     2485        rtems_cv_prog_gas_code16=no
     2486      fi
     2487fi
     2488
     2489echo "$ac_t""$rtems_cv_prog_gas_code16" 1>&6
     2490    RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
     2491  fi
     2492
     2493
    24382494# Extract the first word of "gcc", so it can be a program name with args.
    24392495set dummy gcc; ac_word=$2
    24402496echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2441 echo "configure:2442: checking for $ac_word" >&5
     2497echo "configure:2498: checking for $ac_word" >&5
    24422498if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24432499  echo $ac_n "(cached) $ac_c" 1>&6
     
    24682524set dummy cc; ac_word=$2
    24692525echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2470 echo "configure:2471: checking for $ac_word" >&5
     2526echo "configure:2527: checking for $ac_word" >&5
    24712527if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24722528  echo $ac_n "(cached) $ac_c" 1>&6
     
    25162572
    25172573echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2518 echo "configure:2519: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2574echo "configure:2575: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    25192575
    25202576ac_ext=c
     
    25262582
    25272583cat > conftest.$ac_ext <<EOF
    2528 #line 2529 "configure"
     2584#line 2585 "configure"
    25292585#include "confdefs.h"
    25302586main(){return(0);}
    25312587EOF
    2532 if { (eval echo configure:2533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2588if { (eval echo configure:2589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    25332589  ac_cv_prog_cc_works=yes
    25342590  # If we can't run a trivial program, we are probably using a cross compiler.
     
    25502606fi
    25512607echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2552 echo "configure:2553: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2608echo "configure:2609: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    25532609echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    25542610cross_compiling=$ac_cv_prog_cc_cross
    25552611
    25562612echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2557 echo "configure:2558: checking whether we are using GNU C" >&5
     2613echo "configure:2614: checking whether we are using GNU C" >&5
    25582614if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    25592615  echo $ac_n "(cached) $ac_c" 1>&6
     
    25642620#endif
    25652621EOF
    2566 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2622if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    25672623  ac_cv_prog_gcc=yes
    25682624else
     
    25792635  CFLAGS=
    25802636  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2581 echo "configure:2582: checking whether ${CC-cc} accepts -g" >&5
     2637echo "configure:2638: checking whether ${CC-cc} accepts -g" >&5
    25822638if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    25832639  echo $ac_n "(cached) $ac_c" 1>&6
     
    26082664
    26092665echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
    2610 echo "configure:2611: checking for Cygwin32 environment" >&5
     2666echo "configure:2667: checking for Cygwin32 environment" >&5
    26112667if eval "test \"`echo '$''{'rtems_cv_cygwin32'+set}'`\" = set"; then
    26122668  echo $ac_n "(cached) $ac_c" 1>&6
    26132669else
    26142670  cat > conftest.$ac_ext <<EOF
    2615 #line 2616 "configure"
     2671#line 2672 "configure"
    26162672#include "confdefs.h"
    26172673
     
    26202676; return 0; }
    26212677EOF
    2622 if { (eval echo configure:2623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2678if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26232679  rm -rf conftest*
    26242680  rtems_cv_cygwin32=yes
     
    26382694
    26392695echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2640 echo "configure:2641: checking for executable suffix" >&5
     2696echo "configure:2697: checking for executable suffix" >&5
    26412697if eval "test \"`echo '$''{'rtems_cv_exeext'+set}'`\" = set"; then
    26422698  echo $ac_n "(cached) $ac_c" 1>&6
     
    26742730do
    26752731echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2676 echo "configure:2677: checking for $ac_func" >&5
     2732echo "configure:2733: checking for $ac_func" >&5
    26772733if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26782734  echo $ac_n "(cached) $ac_c" 1>&6
    26792735else
    26802736  cat > conftest.$ac_ext <<EOF
    2681 #line 2682 "configure"
     2737#line 2738 "configure"
    26822738#include "confdefs.h"
    26832739/* System header to define __stub macros and hopefully few prototypes,
     
    27022758; return 0; }
    27032759EOF
    2704 if { (eval echo configure:2705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2760if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    27052761  rm -rf conftest*
    27062762  eval "ac_cv_func_$ac_func=yes"
     
    27312787
    27322788echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6
    2733 echo "configure:2734: checking whether $RTEMS_HOST supports System V semaphores" >&5
     2789echo "configure:2790: checking whether $RTEMS_HOST supports System V semaphores" >&5
    27342790if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then
    27352791  echo $ac_n "(cached) $ac_c" 1>&6
     
    27402796else
    27412797  cat > conftest.$ac_ext <<EOF
    2742 #line 2743 "configure"
     2798#line 2799 "configure"
    27432799#include "confdefs.h"
    27442800
     
    27662822
    27672823EOF
    2768 if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2824if { (eval echo configure:2825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    27692825then
    27702826  rtems_cv_sysv_sem="yes"
     
    27892845
    27902846echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6
    2791 echo "configure:2792: checking whether $RTEMS_HOST supports System V shared memory" >&5
     2847echo "configure:2848: checking whether $RTEMS_HOST supports System V shared memory" >&5
    27922848if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then
    27932849  echo $ac_n "(cached) $ac_c" 1>&6
     
    27982854else
    27992855  cat > conftest.$ac_ext <<EOF
    2800 #line 2801 "configure"
     2856#line 2857 "configure"
    28012857#include "confdefs.h"
    28022858
     
    28142870
    28152871EOF
    2816 if { (eval echo configure:2817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2872if { (eval echo configure:2873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    28172873then
    28182874  rtems_cv_sysv_shm="yes"
     
    28372893
    28382894echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6
    2839 echo "configure:2840: checking whether $RTEMS_HOST supports System V messages" >&5
     2895echo "configure:2896: checking whether $RTEMS_HOST supports System V messages" >&5
    28402896if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then
    28412897  echo $ac_n "(cached) $ac_c" 1>&6
     
    28462902else
    28472903  cat > conftest.$ac_ext <<EOF
    2848 #line 2849 "configure"
     2904#line 2905 "configure"
    28492905#include "confdefs.h"
    28502906
     
    28622918
    28632919EOF
    2864 if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2920if { (eval echo configure:2921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    28652921then
    28662922  rtems_cv_sysv_msg="yes"
     
    28872943
    28882944echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6
    2889 echo "configure:2890: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
     2945echo "configure:2946: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
    28902946if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then
    28912947  rtems_av_save_dir=`pwd`;
     
    29022958
    29032959echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6
    2904 echo "configure:2905: checking for Makefile.in in c/src/exec/rtems" >&5
     2960echo "configure:2961: checking for Makefile.in in c/src/exec/rtems" >&5
    29052961if test -d $srcdir/c/src/exec/rtems; then
    29062962  rtems_av_save_dir=`pwd`;
     
    29172973
    29182974echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6
    2919 echo "configure:2920: checking for Makefile.in in c/src/exec/sapi" >&5
     2975echo "configure:2976: checking for Makefile.in in c/src/exec/sapi" >&5
    29202976if test -d $srcdir/c/src/exec/sapi; then
    29212977  rtems_av_save_dir=`pwd`;
     
    29342990 
    29352991echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
    2936 echo "configure:2937: checking for Makefile.in in c/src/exec/posix" >&5
     2992echo "configure:2993: checking for Makefile.in in c/src/exec/posix" >&5
    29372993if test -d $srcdir/c/src/exec/posix; then
    29382994  rtems_av_save_dir=`pwd`;
     
    29563012  if test -z "$rtems_bsp"; then
    29573013    echo $ac_n "checking for bsps""... $ac_c" 1>&6
    2958 echo "configure:2959: checking for bsps" >&5
     3014echo "configure:3015: checking for bsps" >&5
    29593015    files=`ls $srcdir/c/src/lib/libbsp/$target_cpu`
    29603016    for file in $files; do
     
    30213077       
    30223078echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6
    3023 echo "configure:3024: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
     3079echo "configure:3080: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
    30243080if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then
    30253081  rtems_av_save_dir=`pwd`;
     
    30363092       
    30373093echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6
    3038 echo "configure:3039: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
     3094echo "configure:3095: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
    30393095if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then
    30403096  rtems_av_save_dir=`pwd`;
     
    30593115
    30603116echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    3061 echo "configure:3062: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     3117echo "configure:3118: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    30623118if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    30633119  rtems_av_save_dir=`pwd`;
     
    30763132 
    30773133echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    3078 echo "configure:3079: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     3134echo "configure:3135: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    30793135if test -d $srcdir/c/src/lib/start/$target_cpu; then
    30803136  rtems_av_save_dir=`pwd`;
     
    31083164# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
    31093165echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6
    3110 echo "configure:3111: checking if networking is enabled? " >&5
     3166echo "configure:3167: checking if networking is enabled? " >&5
    31113167echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6
    31123168if test "$RTEMS_HAS_NETWORKING" = "yes"; then
    31133169 
    31143170echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6
    3115 echo "configure:3116: checking for Makefile.in in c/src/lib/libnetworking" >&5
     3171echo "configure:3172: checking for Makefile.in in c/src/lib/libnetworking" >&5
    31163172if test -d $srcdir/c/src/lib/libnetworking; then
    31173173  rtems_av_save_dir=`pwd`;
     
    31353191# If the tests are enabled, then find all the test suite Makefiles
    31363192echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6
    3137 echo "configure:3138: checking if the test suites are enabled? " >&5
     3193echo "configure:3194: checking if the test suites are enabled? " >&5
    31383194tests_enabled=yes
    31393195# Check whether --enable-tests or --disable-tests was given.
     
    31543210
    31553211echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
    3156 echo "configure:3157: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     3212echo "configure:3213: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
    31573213if test -d $srcdir/c/src/tests/tools/$target_cpu; then
    31583214  rtems_av_save_dir=`pwd`;
     
    31713227   
    31723228echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    3173 echo "configure:3174: checking for Makefile.in in c/src/tests/libtests" >&5
     3229echo "configure:3230: checking for Makefile.in in c/src/tests/libtests" >&5
    31743230if test -d $srcdir/c/src/tests/libtests; then
    31753231  rtems_av_save_dir=`pwd`;
     
    31863242   
    31873243echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    3188 echo "configure:3189: checking for Makefile.in in c/src/tests/sptests" >&5
     3244echo "configure:3245: checking for Makefile.in in c/src/tests/sptests" >&5
    31893245if test -d $srcdir/c/src/tests/sptests; then
    31903246  rtems_av_save_dir=`pwd`;
     
    32013257   
    32023258echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    3203 echo "configure:3204: checking for Makefile.in in c/src/tests/tmtests" >&5
     3259echo "configure:3260: checking for Makefile.in in c/src/tests/tmtests" >&5
    32043260if test -d $srcdir/c/src/tests/tmtests; then
    32053261  rtems_av_save_dir=`pwd`;
     
    32163272   
    32173273echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    3218 echo "configure:3219: checking for Makefile.in in c/src/tests/mptests" >&5
     3274echo "configure:3275: checking for Makefile.in in c/src/tests/mptests" >&5
    32193275if test -d $srcdir/c/src/tests/mptests; then
    32203276  rtems_av_save_dir=`pwd`;
     
    32323288     
    32333289echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    3234 echo "configure:3235: checking for Makefile.in in c/src/tests/psxtests" >&5
     3290echo "configure:3291: checking for Makefile.in in c/src/tests/psxtests" >&5
    32353291if test -d $srcdir/c/src/tests/psxtests; then
    32363292  rtems_av_save_dir=`pwd`;
     
    32503306# If the HWAPI is enabled, the find the HWAPI Makefiles
    32513307echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6
    3252 echo "configure:3253: checking if the HWAPI is enabled? " >&5
     3308echo "configure:3309: checking if the HWAPI is enabled? " >&5
    32533309# Check whether --enable-hwapi or --disable-hwapi was given.
    32543310if test "${enable_hwapi+set}" = set; then
     
    32613317           
    32623318echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6
    3263 echo "configure:3264: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
     3319echo "configure:3320: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
    32643320if test -d $srcdir/c/src/lib/libhwapi/analog; then
    32653321  rtems_av_save_dir=`pwd`;
     
    32763332           
    32773333echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6
    3278 echo "configure:3279: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
     3334echo "configure:3335: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
    32793335if test -d $srcdir/c/src/lib/libhwapi/discrete; then
    32803336  rtems_av_save_dir=`pwd`;
     
    32913347           
    32923348echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6
    3293 echo "configure:3294: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
     3349echo "configure:3350: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
    32943350if test -d $srcdir/c/src/lib/libhwapi/drivers; then
    32953351  rtems_av_save_dir=`pwd`;
     
    33063362           
    33073363echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6
    3308 echo "configure:3309: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
     3364echo "configure:3365: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
    33093365if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then
    33103366  rtems_av_save_dir=`pwd`;
     
    33213377           
    33223378echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6
    3323 echo "configure:3324: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
     3379echo "configure:3380: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
    33243380if test -d $srcdir/c/src/lib/libhwapi/serial; then
    33253381  rtems_av_save_dir=`pwd`;
     
    33363392           
    33373393echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6
    3338 echo "configure:3339: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
     3394echo "configure:3395: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
    33393395if test -d $srcdir/c/src/lib/libhwapi/support; then
    33403396  rtems_av_save_dir=`pwd`;
     
    33513407           
    33523408echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6
    3353 echo "configure:3354: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
     3409echo "configure:3410: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
    33543410if test -d $srcdir/c/src/lib/libhwapi/wrapup; then
    33553411  rtems_av_save_dir=`pwd`;
     
    33953451
    33963452
     3453
    33973454# pick up all the Makefiles in required parts of the tree
    33983455
    33993456echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6
    3400 echo "configure:3401: checking for Makefile.in in c/build-tools" >&5
     3457echo "configure:3458: checking for Makefile.in in c/build-tools" >&5
    34013458if test -d $srcdir/c/build-tools; then
    34023459  rtems_av_save_dir=`pwd`;
     
    34133470
    34143471echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6
    3415 echo "configure:3416: checking for Makefile.in in make" >&5
     3472echo "configure:3473: checking for Makefile.in in make" >&5
    34163473if test -d $srcdir/make; then
    34173474  rtems_av_save_dir=`pwd`;
     
    34283485
    34293486echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    3430 echo "configure:3431: checking for Makefile.in in c/src/lib/libmisc" >&5
     3487echo "configure:3488: checking for Makefile.in in c/src/lib/libmisc" >&5
    34313488if test -d $srcdir/c/src/lib/libmisc; then
    34323489  rtems_av_save_dir=`pwd`;
     
    34433500
    34443501echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    3445 echo "configure:3446: checking for Makefile.in in c/src/tests/samples" >&5
     3502echo "configure:3503: checking for Makefile.in in c/src/tests/samples" >&5
    34463503if test -d $srcdir/c/src/tests/samples; then
    34473504  rtems_av_save_dir=`pwd`;
     
    36693726s%@EXEEXT@%$EXEEXT%g
    36703727s%@GCCSED@%$GCCSED%g
     3728s%@RTEMS_GAS_CODE16@%$RTEMS_GAS_CODE16%g
    36713729s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g
    36723730s%@RTEMS_BSP_LIST@%$RTEMS_BSP_LIST%g
  • configure.in

    r2405b767 r2c3840b  
    227227
    228228RTEMS_CANONICALIZE_TOOLS
     229
     230dnl if this is an i386, does gas have good code16 support?
     231RTEMS_I386_GAS_CODE16
    229232
    230233dnl check host cc
     
    440443)
    441444
     445AC_SUBST(RTEMS_GAS_CODE16)
    442446AC_SUBST(rtems_cv_prog_cc_cross)
    443447AC_SUBST(RTEMS_BSP_LIST)
Note: See TracChangeset for help on using the changeset viewer.