Changeset 28e7d7fa in rtems


Ignore:
Timestamp:
Aug 20, 1998, 10:04:22 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a9cfa238
Parents:
96b39164
Message:

Patches from Eric Norum

Files:
60 edited

Legend:

Unmodified
Added
Removed
  • c/Makefile.in

    r96b39164 r28e7d7fa  
    2626SUB_DIRS=build-tools src
    2727
    28 # We only make the install point for the KA9Q header files if it is enabled.
    29 LIBKA9Q_yes_V = lib/include/ka9q
    30 LIBKA9Q = $(LIBKA9Q_$(HAS_KA9Q)_V)
    31 
    32 # We only make the install point for the KA9Q header files if it is enabled.
     28# We only make the install point for the networking header files if needed.
    3329LIBNETWORKING_yes_V = lib/include/networking lib/include/networking/sys \
    3430        lib/include/networking/machine lib/include/networking/rtems \
     
    4642    lib lib/include lib/include/sys lib/include/rtems \
    4743    lib/include/rtems/score lib/include/rtems/rtems lib/include/rtems/posix \
    48     lib/include/netinet lib/include/libc lib/include/libc/sys \
     44    lib/include/libc lib/include/libc/sys \
    4945    lib/include/motorola lib/include/zilog \
    50     $(LIBKA9Q) \
    5146    $(LIBNETWORKING) \
    5247    $(LIBRTEMSCPLUSPLUS) \
  • c/src/exec/libnetworking/arpa/inet.h

    r96b39164 r28e7d7fa  
    6666struct in_addr;
    6767
     68#if 0   /* RTEMS -- Why rename these? */
    6869/* XXX all new diversions!! argh!! */
    6970#define inet_addr       __inet_addr
     
    8182#define inet_nsap_addr  __inet_nsap_addr
    8283#define inet_nsap_ntoa  __inet_nsap_ntoa
     84#endif
    8385
    8486__BEGIN_DECLS
  • c/src/exec/libnetworking/rtems/rtems_syscall.c

    r96b39164 r28e7d7fa  
    618618}
    619619
    620 int
    621 getpeername (int s, struct sockaddr *name, int *namelen)
     620static int
     621getpeersockname (int s, struct sockaddr *name, int *namelen, int pflag)
    622622{
    623623        struct socket *so;
     
    637637                return -1;
    638638        }
    639         error = (*so->so_proto->pr_usrreqs->pru_peeraddr)(so, m);
     639        if (pflag)
     640                error = (*so->so_proto->pr_usrreqs->pru_peeraddr)(so, m);
     641        else
     642                error = (*so->so_proto->pr_usrreqs->pru_sockaddr)(so, m);
    640643        if (error) {
    641644                errno = error;
     
    651654        rtems_bsdnet_semaphore_release ();
    652655        return 0;
     656}
     657
     658int
     659getpeername (int s, struct sockaddr *name, int *namelen)
     660{
     661        return getpeersockname (s, name, namelen, 1);
     662}
     663int
     664getsockname (int s, struct sockaddr *name, int *namelen)
     665{
     666        return getpeersockname (s, name, namelen, 0);
    653667}
    654668
  • c/src/exec/score/cpu/i386/cpu.h

    r96b39164 r28e7d7fa  
    6565#define CPU_USE_DEFERRED_FP_SWITCH       TRUE
    6666
    67 #define CPU_PROVIDES_IDLE_THREAD_BODY    TRUE
    6867#define CPU_STACK_GROWS_UP               FALSE
    6968#define CPU_STRUCTURE_ALIGNMENT
     69
     70/*
     71 *  Does this port provide a CPU dependent IDLE task implementation?
     72 * 
     73 *  If TRUE, then the routine _CPU_Thread_Idle_body
     74 *  must be provided and is the default IDLE thread body instead of
     75 *  _CPU_Thread_Idle_body.
     76 *
     77 *  If FALSE, then use the generic IDLE thread body if the BSP does
     78 *  not provide one.
     79 */
     80 
     81#define CPU_PROVIDES_IDLE_THREAD_BODY    TRUE
    7082
    7183/*
     
    386398
    387399/*
     400 *  _CPU_Thread_Idle_body
     401 *
     402 *  Use the halt instruction of low power mode of a particular i386 model.
     403 */
     404
     405#if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE)
     406
     407void _CPU_Thread_Idle_body( void );
     408
     409#endif /* CPU_PROVIDES_IDLE_THREAD_BODY */
     410
     411/*
    388412 *  _CPU_Context_switch
    389413 *
  • c/src/exec/score/headers/Makefile.in

    r96b39164 r28e7d7fa  
    2424EXTERNAL_H_FILES=$(EXTERNAL_H_PIECES:%=$(srcdir)/%.h)
    2525
    26 NET_H_PIECES = in
    27 NET_H_FILES=$(NET_H_PIECES:%=$(srcdir)/%.h)
    28 
    2926SRCS=$(H_FILES) $(SAPI_H_FILES) $(EXTERNAL_H_FILES)
    3027
     
    4542        $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    4643        $(INSTALL) -m 444 ${SAPI_H_FILES} $(PROJECT_INCLUDE)/rtems/
    47         $(INSTALL) -m 444 ${NET_H_FILES} $(PROJECT_INCLUDE)/netinet
    4844#       $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
  • c/src/exec/score/include/rtems/score/Makefile.in

    r96b39164 r28e7d7fa  
    2424EXTERNAL_H_FILES=$(EXTERNAL_H_PIECES:%=$(srcdir)/%.h)
    2525
    26 NET_H_PIECES = in
    27 NET_H_FILES=$(NET_H_PIECES:%=$(srcdir)/%.h)
    28 
    2926SRCS=$(H_FILES) $(SAPI_H_FILES) $(EXTERNAL_H_FILES)
    3027
     
    4542        $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    4643        $(INSTALL) -m 444 ${SAPI_H_FILES} $(PROJECT_INCLUDE)/rtems/
    47         $(INSTALL) -m 444 ${NET_H_FILES} $(PROJECT_INCLUDE)/netinet
    4844#       $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
  • c/src/lib/Makefile.in

    r96b39164 r28e7d7fa  
    1111include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    1212include $(RTEMS_ROOT)/make/directory.cfg
    13 
    14 # We only build the KA9Q library if HAS_KA9Q was defined
    15 LIBKA9Q_yes_V = libka9q
    16 LIBKA9Q = $(LIBKA9Q_$(HAS_KA9Q)_V)
    1713
    1814# We only build the networking library if HAS_NETWORKING was defined
     
    3026
    3127SUB_DIRS=start include $(NETWORKING_INCLUDE) libmisc libc libcpu libbsp \
    32          $(LIBKA9Q) $(LIBNETWORKING) $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup
     28         $(LIBNETWORKING) $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup
  • c/src/lib/include/Makefile.in

    r96b39164 r28e7d7fa  
    1616SYS_H_FILES=$(SYS_H_PIECES:%=$(srcdir)/sys/%.h)
    1717
    18 KA9Q_H_PIECES= arp asy ax25 ax25mail bootp cmdparse commands config \
    19   daemon dialer domain enet ftp ftpcli global hardware icmp iface \
    20   internet ip kiss lapb lzw mailbox mbuf netuser nospc nr4 nr4mail \
    21   nrs ping pktdrvr ppp proc rip rtems_ka9q sb session slhc slip smtp \
    22   sockaddr SyslogDaemon syslog socket tcp telnet tftp timer tipmail \
    23   trace udp usock
    24 KA9Q_H_FILES=$(KA9Q_H_PIECES:%=$(srcdir)/ka9q/%.h)
    25 
    2618MOTOROLA_H_PIECES=mc68230 mc68681
    2719MOTOROLA_H_FILES=$(MOTOROLA_H_PIECES:%=$(srcdir)/motorola/%.h)
     
    3527
    3628SRCS=$(H_FILES) $(SYS_H_FILES) \
    37      $(KA9Q_H_FILES) $(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES)
     29     $(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES)
    3830
    3931include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     
    4840            $(PROJECT_INCLUDE)/motorola
    4941        $(INSTALL) -m 444 $(ZILOG_H_FILES) $(PROJECT_INCLUDE)/zilog
    50 ifeq ($(HAS_KA9Q),yes)
    51         $(INSTALL) -m 444 $(KA9Q_H_FILES) $(PROJECT_INCLUDE)/ka9q
    52 endif
    5342ifeq ($(HAS_CPLUSPLUS),yes)
    5443        $(INSTALL) -m 444 $(RTEMSCPLUSPLUS_H_FILES) $(PROJECT_INCLUDE)/rtems++
  • c/src/lib/libbsp/bare/README

    r96b39164 r28e7d7fa  
    8383#                          --disable-tests \
    8484#                          --disable-posix \
    85 #                          --enable-ka9q \
     85#                          --enable-networking \
    8686#                          --enable-bare-cpu-cflags=-mcpu32 \
    8787#                          --enable-bare-cpu-model=mcpu32 \
  • c/src/lib/libbsp/bare/do-bare-bsp-build

    r96b39164 r28e7d7fa  
    139139    ../${RTEMS}/configure --target=${TARGET} --prefix=${RTEMS_PREFIX} \
    140140      --enable-cxx --enable-gmake-print-directory \
    141       --disable-tests --disable-posix --enable-ka9q \
     141      --disable-tests --disable-posix --enable-networking \
    142142      --enable-bare-cpu-cflags=-m${rtems_target} \
    143143      --enable-bare-cpu-model=m${rtems_target} \
  • c/src/lib/libbsp/i386/pc386/Makefile.in

    r96b39164 r28e7d7fa  
    1212include $(RTEMS_ROOT)/make/directory.cfg
    1313
    14 # We only build the Network library if HAS_KA9Q was defined
     14# We only build the Network library if HAS_NETWORKING was defined
    1515NETWORK_yes_V = network
    16 NETWORK = $(NETWORK_$(HAS_KA9Q)_V)
     16NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
    1717
    1818# wrapup is the one that actually builds and installs the library
  • c/src/lib/libbsp/i386/pc386/include/Makefile.in

    r96b39164 r28e7d7fa  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 # We only install wd80x3.h if HAS_KA9Q was defined
    12 WD80X3_yes_V = $(srcdir)/wd80x3.h
    13 WD80X3 = $(WD80X3_$(HAS_KA9Q)_V)
     11# This driver needs to be reworked for the BSD stack.
     12# # We only install wd80x3.h if HAS_NETWORKING was defined
     13# WD80X3_yes_V = $(srcdir)/wd80x3.h
     14# WD80X3 = $(WD80X3_$(HAS_NETWORKING)_V)
    1415
    1516H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h  $(srcdir)/crt.h \
  • c/src/lib/libbsp/i386/pc386/network/network.c

    r96b39164 r28e7d7fa  
    11/*
     2 * XXX This driver needs to be reworked to support the new BSD stack
     3 *
    24 * RTEMS/KA9Q driver for WD8003 Ethernet Controller
    35 *
  • c/src/lib/libbsp/i386/pc386/wrapup/Makefile.in

    r96b39164 r28e7d7fa  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 # We only build the Network library if HAS_KA9Q was defined
     11# We only build the Network library if HAS_NETWORKING was defined
    1212NETWORK_yes_V = network
    13 NETWORK = $(NETWORK_$(HAS_KA9Q)_V)
     13NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
    1414
    1515BSP_PIECES=startup clock console timer pc386dev $(NETWORK)
  • c/src/lib/libbsp/m68k/gen68360/Makefile.in

    r96b39164 r28e7d7fa  
    1414SRCS=README
    1515
    16 # We only build the ka9q device driver if HAS_KA9Q was defined
    17 KA9Q_DRIVER_yes_V = ka9q_network
    18 KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)
    19 
    2016# We only build the networking device driver if HAS_NETWORKING was defined
    2117NETWORKING_DRIVER_yes_V = network
     
    2723#  from the individual .rel files built in other directories
    2824SUB_DIRS=include start360 startup clock console timer \
    29         $(KA9Q_DRIVER) $(NETWORKING_DRIVER) wrapup
     25        $(NETWORKING_DRIVER) wrapup
  • c/src/lib/libbsp/m68k/gen68360/README

    r96b39164 r28e7d7fa  
    3434# Decisions to be made a link-edit time are:
    3535#     - The size of the memory allocator heap.  The default value is
    36 #       64 kbytes.  If the KA9Q network package is used the heap
     36#       64 kbytes.  If the network package is used the heap
    3737#       should be at least 256 kbytes.  If your network is large, or
    3838#       busy, the heap should be even larger.
  • c/src/lib/libbsp/m68k/gen68360/include/bsp.h

    r96b39164 r28e7d7fa  
    3636#include <iosupp.h>
    3737#include <clockdrv.h>
     38
     39/*
     40 * Network driver configuration
     41 */
     42struct rtems_bsdnet_ifconfig;
     43extern int rtems_scc1_driver_attach (struct rtems_bsdnet_ifconfig *config);
     44#define RTEMS_BSP_NETWORK_DRIVER_NAME   "scc1"
     45#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_scc1_driver_attach
    3846
    3947/*
  • c/src/lib/libbsp/m68k/gen68360/wrapup/Makefile.in

    r96b39164 r28e7d7fa  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 # We only build the ka9q device driver if HAS_KA9Q was defined
    12 KA9Q_DRIVER_yes_V = ka9q_network
    13 KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)
    14 
    1511# We only build the networking device driver if HAS_NETWORKING was defined
    1612NETWORKING_DRIVER_yes_V = network
    1713NETWORKING_DRIVER = $(NETWORKING_DRIVER_$(HAS_NETWORKING)_V)
    1814
    19 BSP_PIECES=startup clock console timer $(KA9Q_DRIVER) $(NETWORKING_DRIVER)
     15BSP_PIECES=startup clock console timer $(NETWORKING_DRIVER)
    2016CPU_PIECES=
    2117GENERIC_PIECES=
  • c/src/lib/libnetworking/arpa/inet.h

    r96b39164 r28e7d7fa  
    6666struct in_addr;
    6767
     68#if 0   /* RTEMS -- Why rename these? */
    6869/* XXX all new diversions!! argh!! */
    6970#define inet_addr       __inet_addr
     
    8182#define inet_nsap_addr  __inet_nsap_addr
    8283#define inet_nsap_ntoa  __inet_nsap_ntoa
     84#endif
    8385
    8486__BEGIN_DECLS
  • c/src/lib/libnetworking/rtems/rtems_syscall.c

    r96b39164 r28e7d7fa  
    618618}
    619619
    620 int
    621 getpeername (int s, struct sockaddr *name, int *namelen)
     620static int
     621getpeersockname (int s, struct sockaddr *name, int *namelen, int pflag)
    622622{
    623623        struct socket *so;
     
    637637                return -1;
    638638        }
    639         error = (*so->so_proto->pr_usrreqs->pru_peeraddr)(so, m);
     639        if (pflag)
     640                error = (*so->so_proto->pr_usrreqs->pru_peeraddr)(so, m);
     641        else
     642                error = (*so->so_proto->pr_usrreqs->pru_sockaddr)(so, m);
    640643        if (error) {
    641644                errno = error;
     
    651654        rtems_bsdnet_semaphore_release ();
    652655        return 0;
     656}
     657
     658int
     659getpeername (int s, struct sockaddr *name, int *namelen)
     660{
     661        return getpeersockname (s, name, namelen, 1);
     662}
     663int
     664getsockname (int s, struct sockaddr *name, int *namelen)
     665{
     666        return getpeersockname (s, name, namelen, 0);
    653667}
    654668
  • c/src/lib/wrapup/Makefile.in

    r96b39164 r28e7d7fa  
    1919     $(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a \
    2020     $(wildcard $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a) \
    21      $(wildcard $(PROJECT_RELEASE)/lib/libka9q$(LIB_VARIANT).a) \
    2221     $(wildcard $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a) \
    2322     $(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \
  • c/src/libnetworking/arpa/inet.h

    r96b39164 r28e7d7fa  
    6666struct in_addr;
    6767
     68#if 0   /* RTEMS -- Why rename these? */
    6869/* XXX all new diversions!! argh!! */
    6970#define inet_addr       __inet_addr
     
    8182#define inet_nsap_addr  __inet_nsap_addr
    8283#define inet_nsap_ntoa  __inet_nsap_ntoa
     84#endif
    8385
    8486__BEGIN_DECLS
  • c/src/libnetworking/rtems/rtems_syscall.c

    r96b39164 r28e7d7fa  
    618618}
    619619
    620 int
    621 getpeername (int s, struct sockaddr *name, int *namelen)
     620static int
     621getpeersockname (int s, struct sockaddr *name, int *namelen, int pflag)
    622622{
    623623        struct socket *so;
     
    637637                return -1;
    638638        }
    639         error = (*so->so_proto->pr_usrreqs->pru_peeraddr)(so, m);
     639        if (pflag)
     640                error = (*so->so_proto->pr_usrreqs->pru_peeraddr)(so, m);
     641        else
     642                error = (*so->so_proto->pr_usrreqs->pru_sockaddr)(so, m);
    640643        if (error) {
    641644                errno = error;
     
    651654        rtems_bsdnet_semaphore_release ();
    652655        return 0;
     656}
     657
     658int
     659getpeername (int s, struct sockaddr *name, int *namelen)
     660{
     661        return getpeersockname (s, name, namelen, 1);
     662}
     663int
     664getsockname (int s, struct sockaddr *name, int *namelen)
     665{
     666        return getpeersockname (s, name, namelen, 0);
    653667}
    654668
  • c/src/make/compilers/gcc-target-default.cfg

    r96b39164 r28e7d7fa  
    1919# default flags
    2020
    21 # We only include the header files for KA9Q if it is enabled.
    22 INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q
    23 INCLUDE_KA9Q = $(INCLUDE_KA9Q_$(HAS_KA9Q)_V)
    24 
    2521# We only include the header files for networking if it is enabled.
    2622INCLUDE_NETWORKING_yes_V = -I$(PROJECT_INCLUDE)/networking
     
    3733CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
    3834  -I$(PROJECT_INCLUDE) \
    39   $(INCLUDE_KA9Q) \
    4035  $(INCLUDE_NETWORKING) \
    4136  $(RTEMS_LIBC_INCLUDES) $(DEFINES)
     
    5146CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
    5247  -nostdinc -I$(PROJECT_INCLUDE) \
    53   $(INCLUDE_KA9Q) \
    5448  $(INCLUDE_NETWORKING) \
    5549  -I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES)
     
    7266CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
    7367        -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
    74         $(INCLUDE_KA9Q) $(INCLUDE_NETWORKING) $(DEFINES)
     68        $(INCLUDE_NETWORKING) $(DEFINES)
    7569
    7670ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \
  • c/src/wrapup/Makefile.in

    r96b39164 r28e7d7fa  
    1919     $(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a \
    2020     $(wildcard $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a) \
    21      $(wildcard $(PROJECT_RELEASE)/lib/libka9q$(LIB_VARIANT).a) \
    2221     $(wildcard $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a) \
    2322     $(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \
  • configure

    r96b39164 r28e7d7fa  
    2020\
    2121  --enable-posix                    enable posix interface"
    22 ac_help="$ac_help
    23 \
    24   --enable-ka9q                enable KA9Q TCP/IP stack"
    2522ac_help="$ac_help
    2623\
     
    562559
    563560echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    564 echo "configure:565: checking whether ${MAKE-make} sets \${MAKE}" >&5
     561echo "configure:562: checking whether ${MAKE-make} sets \${MAKE}" >&5
    565562set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    566563if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    635632
    636633echo $ac_n "checking host system type""... $ac_c" 1>&6
    637 echo "configure:638: checking host system type" >&5
     634echo "configure:635: checking host system type" >&5
    638635
    639636host_alias=$host
     
    656653
    657654echo $ac_n "checking target system type""... $ac_c" 1>&6
    658 echo "configure:659: checking target system type" >&5
     655echo "configure:656: checking target system type" >&5
    659656
    660657target_alias=$target
     
    674671
    675672echo $ac_n "checking build system type""... $ac_c" 1>&6
    676 echo "configure:677: checking build system type" >&5
     673echo "configure:674: checking build system type" >&5
    677674
    678675build_alias=$build
     
    732729
    733730
    734 # Check whether --enable-ka9q or --disable-ka9q was given.
    735 if test "${enable_ka9q+set}" = set; then
    736   enableval="$enable_ka9q"
    737   \
    738 case "${enableval}" in
    739   yes) RTEMS_HAS_KA9Q=yes ;;
    740   no) RTEMS_HAS_KA9Q=no ;;
    741   *)  { echo "configure: error: bad value ${enableval} for enable-ka9q option" 1>&2; exit 1; } ;;
    742 esac
    743 else
    744   RTEMS_HAS_KA9Q=no
    745 fi
    746 
    747 
    748731# Check whether --enable-networking or --disable-networking was given.
    749732if test "${enable_networking+set}" = set; then
     
    841824set dummy cat; ac_word=$2
    842825echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    843 echo "configure:844: checking for $ac_word" >&5
     826echo "configure:827: checking for $ac_word" >&5
    844827if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then
    845828  echo $ac_n "(cached) $ac_c" 1>&6
     
    872855set dummy rm; ac_word=$2
    873856echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    874 echo "configure:875: checking for $ac_word" >&5
     857echo "configure:858: checking for $ac_word" >&5
    875858if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
    876859  echo $ac_n "(cached) $ac_c" 1>&6
     
    903886set dummy cp; ac_word=$2
    904887echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    905 echo "configure:906: checking for $ac_word" >&5
     888echo "configure:889: checking for $ac_word" >&5
    906889if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
    907890  echo $ac_n "(cached) $ac_c" 1>&6
     
    934917set dummy mv; ac_word=$2
    935918echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    936 echo "configure:937: checking for $ac_word" >&5
     919echo "configure:920: checking for $ac_word" >&5
    937920if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
    938921  echo $ac_n "(cached) $ac_c" 1>&6
     
    965948set dummy ln; ac_word=$2
    966949echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    967 echo "configure:968: checking for $ac_word" >&5
     950echo "configure:951: checking for $ac_word" >&5
    968951if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
    969952  echo $ac_n "(cached) $ac_c" 1>&6
     
    994977
    995978echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    996 echo "configure:997: checking whether ln -s works" >&5
     979echo "configure:980: checking whether ln -s works" >&5
    997980if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    998981  echo $ac_n "(cached) $ac_c" 1>&6
     
    10171000set dummy chmod; ac_word=$2
    10181001echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1019 echo "configure:1020: checking for $ac_word" >&5
     1002echo "configure:1003: checking for $ac_word" >&5
    10201003if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
    10211004  echo $ac_n "(cached) $ac_c" 1>&6
     
    10481031set dummy sort; ac_word=$2
    10491032echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1050 echo "configure:1051: checking for $ac_word" >&5
     1033echo "configure:1034: checking for $ac_word" >&5
    10511034if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then
    10521035  echo $ac_n "(cached) $ac_c" 1>&6
     
    10871070# ./install, which can be erroneously created by make from ./install.sh.
    10881071echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1089 echo "configure:1090: checking for a BSD compatible install" >&5
     1072echo "configure:1073: checking for a BSD compatible install" >&5
    10901073if test -z "$INSTALL"; then
    10911074if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    11401123set dummy mkdir; ac_word=$2
    11411124echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1142 echo "configure:1143: checking for $ac_word" >&5
     1125echo "configure:1126: checking for $ac_word" >&5
    11431126if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
    11441127  echo $ac_n "(cached) $ac_c" 1>&6
     
    11721155
    11731156echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6
    1174 echo "configure:1175: checking for working $MKDIR -m 0755" >&5
     1157echo "configure:1158: checking for working $MKDIR -m 0755" >&5
    11751158if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then
    11761159  echo $ac_n "(cached) $ac_c" 1>&6
     
    11891172
    11901173echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6
    1191 echo "configure:1192: checking for working $MKDIR -p" >&5
     1174echo "configure:1175: checking for working $MKDIR -p" >&5
    11921175if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then
    11931176  echo $ac_n "(cached) $ac_c" 1>&6
     
    12091192set dummy touch; ac_word=$2
    12101193echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1211 echo "configure:1212: checking for $ac_word" >&5
     1194echo "configure:1195: checking for $ac_word" >&5
    12121195if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then
    12131196  echo $ac_n "(cached) $ac_c" 1>&6
     
    12401223set dummy cmp; ac_word=$2
    12411224echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1242 echo "configure:1243: checking for $ac_word" >&5
     1225echo "configure:1226: checking for $ac_word" >&5
    12431226if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
    12441227  echo $ac_n "(cached) $ac_c" 1>&6
     
    12721255set dummy sed; ac_word=$2
    12731256echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1274 echo "configure:1275: checking for $ac_word" >&5
     1257echo "configure:1258: checking for $ac_word" >&5
    12751258if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
    12761259  echo $ac_n "(cached) $ac_c" 1>&6
     
    13051288set dummy $ac_prog; ac_word=$2
    13061289echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1307 echo "configure:1308: checking for $ac_word" >&5
     1290echo "configure:1291: checking for $ac_word" >&5
    13081291if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
    13091292  echo $ac_n "(cached) $ac_c" 1>&6
     
    13421325set dummy $ac_prog; ac_word=$2
    13431326echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1344 echo "configure:1345: checking for $ac_word" >&5
     1327echo "configure:1328: checking for $ac_word" >&5
    13451328if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    13461329  echo $ac_n "(cached) $ac_c" 1>&6
     
    14201403  *)
    14211404        echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1422 echo "configure:1423: checking rtems target cpu" >&5
     1405echo "configure:1406: checking rtems target cpu" >&5
    14231406target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    14241407echo "$ac_t""$target_cpu" 1>&6
     
    14391422# Is this a supported CPU?
    14401423echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    1441 echo "configure:1442: checking if cpu $target_cpu is supported" >&5
     1424echo "configure:1425: checking if cpu $target_cpu is supported" >&5
    14421425if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then
    14431426  echo "$ac_t""yes" 1>&6
     
    14641447set dummy $ac_prog; ac_word=$2
    14651448echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1466 echo "configure:1467: checking for $ac_word" >&5
     1449echo "configure:1450: checking for $ac_word" >&5
    14671450if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then
    14681451  echo $ac_n "(cached) $ac_c" 1>&6
     
    15041487
    15051488echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1506 echo "configure:1507: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1489echo "configure:1490: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    15071490
    15081491ac_ext=c
     
    15141497
    15151498cat > conftest.$ac_ext <<EOF
    1516 #line 1517 "configure"
     1499#line 1500 "configure"
    15171500#include "confdefs.h"
    15181501main(){return(0);}
    15191502EOF
    1520 if { (eval echo configure:1521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1503if { (eval echo configure:1504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    15211504  ac_cv_prog_cc_works=yes
    15221505  # If we can't run a trivial program, we are probably using a cross compiler.
     
    15381521fi
    15391522echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1540 echo "configure:1541: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1523echo "configure:1524: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    15411524echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    15421525cross_compiling=$ac_cv_prog_cc_cross
    15431526
    15441527echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1545 echo "configure:1546: checking whether we are using GNU C" >&5
     1528echo "configure:1529: checking whether we are using GNU C" >&5
    15461529if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    15471530  echo $ac_n "(cached) $ac_c" 1>&6
     
    15521535#endif
    15531536EOF
    1554 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1537if { 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
    15551538  ac_cv_prog_gcc=yes
    15561539else
     
    15671550  CFLAGS=
    15681551  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1569 echo "configure:1570: checking whether ${CC-cc} accepts -g" >&5
     1552echo "configure:1553: checking whether ${CC-cc} accepts -g" >&5
    15701553if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    15711554  echo $ac_n "(cached) $ac_c" 1>&6
     
    16091592
    16101593echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6
    1611 echo "configure:1612: checking whether $CC_FOR_TARGET accepts -specs" >&5
     1594echo "configure:1595: checking whether $CC_FOR_TARGET accepts -specs" >&5
    16121595if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then
    16131596  echo $ac_n "(cached) $ac_c" 1>&6
     
    16301613
    16311614echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6
    1632 echo "configure:1633: checking whether $CC_FOR_TARGET accepts --pipe" >&5
     1615echo "configure:1616: checking whether $CC_FOR_TARGET accepts --pipe" >&5
    16331616if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then
    16341617  echo $ac_n "(cached) $ac_c" 1>&6
     
    16711654set dummy $ac_prog; ac_word=$2
    16721655echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1673 echo "configure:1674: checking for $ac_word" >&5
     1656echo "configure:1657: checking for $ac_word" >&5
    16741657if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then
    16751658  echo $ac_n "(cached) $ac_c" 1>&6
     
    17111694
    17121695echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1713 echo "configure:1714: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1696echo "configure:1697: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    17141697
    17151698ac_ext=C
     
    17211704
    17221705cat > conftest.$ac_ext <<EOF
    1723 #line 1724 "configure"
     1706#line 1707 "configure"
    17241707#include "confdefs.h"
    17251708main(){return(0);}
    17261709EOF
    1727 if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1710if { (eval echo configure:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    17281711  ac_cv_prog_cxx_works=yes
    17291712  # If we can't run a trivial program, we are probably using a cross compiler.
     
    17511734fi
    17521735echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1753 echo "configure:1754: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1736echo "configure:1737: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    17541737echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    17551738cross_compiling=$ac_cv_prog_cxx_cross
    17561739
    17571740echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1758 echo "configure:1759: checking whether we are using GNU C++" >&5
     1741echo "configure:1742: checking whether we are using GNU C++" >&5
    17591742if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    17601743  echo $ac_n "(cached) $ac_c" 1>&6
     
    17651748#endif
    17661749EOF
    1767 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1750if { 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
    17681751  ac_cv_prog_gxx=yes
    17691752else
     
    17801763  CXXFLAGS=
    17811764  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1782 echo "configure:1783: checking whether ${CXX-g++} accepts -g" >&5
     1765echo "configure:1766: checking whether ${CXX-g++} accepts -g" >&5
    17831766if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    17841767  echo $ac_n "(cached) $ac_c" 1>&6
     
    18341817 
    18351818echo $ac_n "checking target's ar""... $ac_c" 1>&6
    1836 echo "configure:1837: checking target's ar" >&5
     1819echo "configure:1820: checking target's ar" >&5
    18371820if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    18381821  echo $ac_n "(cached) $ac_c" 1>&6
     
    18671850    # intends
    18681851    echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1869 echo "configure:1870: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
     1852echo "configure:1853: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
    18701853    case "$AR_FOR_TARGET" in
    18711854    /*) # valid
     
    18841867set dummy "$program_prefix"ar; ac_word=$2
    18851868echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1886 echo "configure:1887: checking for $ac_word" >&5
     1869echo "configure:1870: checking for $ac_word" >&5
    18871870if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    18881871  echo $ac_n "(cached) $ac_c" 1>&6
     
    19171900 
    19181901echo $ac_n "checking target's as""... $ac_c" 1>&6
    1919 echo "configure:1920: checking target's as" >&5
     1902echo "configure:1903: checking target's as" >&5
    19201903if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    19211904  echo $ac_n "(cached) $ac_c" 1>&6
     
    19501933    # intends
    19511934    echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1952 echo "configure:1953: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
     1935echo "configure:1936: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
    19531936    case "$AS_FOR_TARGET" in
    19541937    /*) # valid
     
    19671950set dummy "$program_prefix"as; ac_word=$2
    19681951echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1969 echo "configure:1970: checking for $ac_word" >&5
     1952echo "configure:1953: checking for $ac_word" >&5
    19701953if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    19711954  echo $ac_n "(cached) $ac_c" 1>&6
     
    20001983 
    20011984echo $ac_n "checking target's ld""... $ac_c" 1>&6
    2002 echo "configure:2003: checking target's ld" >&5
     1985echo "configure:1986: checking target's ld" >&5
    20031986if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    20041987  echo $ac_n "(cached) $ac_c" 1>&6
     
    20332016    # intends
    20342017    echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2035 echo "configure:2036: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
     2018echo "configure:2019: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
    20362019    case "$LD_FOR_TARGET" in
    20372020    /*) # valid
     
    20502033set dummy "$program_prefix"ld; ac_word=$2
    20512034echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2052 echo "configure:2053: checking for $ac_word" >&5
     2035echo "configure:2036: checking for $ac_word" >&5
    20532036if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    20542037  echo $ac_n "(cached) $ac_c" 1>&6
     
    20832066 
    20842067echo $ac_n "checking target's nm""... $ac_c" 1>&6
    2085 echo "configure:2086: checking target's nm" >&5
     2068echo "configure:2069: checking target's nm" >&5
    20862069if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    20872070  echo $ac_n "(cached) $ac_c" 1>&6
     
    21162099    # intends
    21172100    echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2118 echo "configure:2119: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
     2101echo "configure:2102: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
    21192102    case "$NM_FOR_TARGET" in
    21202103    /*) # valid
     
    21332116set dummy "$program_prefix"nm; ac_word=$2
    21342117echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2135 echo "configure:2136: checking for $ac_word" >&5
     2118echo "configure:2119: checking for $ac_word" >&5
    21362119if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    21372120  echo $ac_n "(cached) $ac_c" 1>&6
     
    21672150 
    21682151echo $ac_n "checking target's ranlib""... $ac_c" 1>&6
    2169 echo "configure:2170: checking target's ranlib" >&5
     2152echo "configure:2153: checking target's ranlib" >&5
    21702153if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    21712154  echo $ac_n "(cached) $ac_c" 1>&6
     
    22002183    # intends
    22012184    echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2202 echo "configure:2203: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
     2185echo "configure:2186: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
    22032186    case "$RANLIB_FOR_TARGET" in
    22042187    /*) # valid
     
    22172200set dummy "$program_prefix"ranlib; ac_word=$2
    22182201echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2219 echo "configure:2220: checking for $ac_word" >&5
     2202echo "configure:2203: checking for $ac_word" >&5
    22202203if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    22212204  echo $ac_n "(cached) $ac_c" 1>&6
     
    22522235   
    22532236echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6
    2254 echo "configure:2255: checking whether $AR_FOR_TARGET -s works" >&5
     2237echo "configure:2238: checking whether $AR_FOR_TARGET -s works" >&5
    22552238if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then
    22562239  echo $ac_n "(cached) $ac_c" 1>&6
     
    22612244{ return b; }
    22622245EOF
    2263 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    2264   && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2246if { 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; }; } \
    22652248  && test -s conftest.a ; \
    22662249then
     
    22872270 
    22882271echo $ac_n "checking target's objcopy""... $ac_c" 1>&6
    2289 echo "configure:2290: checking target's objcopy" >&5
     2272echo "configure:2273: checking target's objcopy" >&5
    22902273if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    22912274  echo $ac_n "(cached) $ac_c" 1>&6
     
    23202303    # intends
    23212304    echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2322 echo "configure:2323: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
     2305echo "configure:2306: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
    23232306    case "$OBJCOPY_FOR_TARGET" in
    23242307    /*) # valid
     
    23372320set dummy "$program_prefix"objcopy; ac_word=$2
    23382321echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2339 echo "configure:2340: checking for $ac_word" >&5
     2322echo "configure:2323: checking for $ac_word" >&5
    23402323if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    23412324  echo $ac_n "(cached) $ac_c" 1>&6
     
    23702353 
    23712354echo $ac_n "checking target's size""... $ac_c" 1>&6
    2372 echo "configure:2373: checking target's size" >&5
     2355echo "configure:2356: checking target's size" >&5
    23732356if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    23742357  echo $ac_n "(cached) $ac_c" 1>&6
     
    24032386    # intends
    24042387    echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2405 echo "configure:2406: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
     2388echo "configure:2389: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
    24062389    case "$SIZE_FOR_TARGET" in
    24072390    /*) # valid
     
    24202403set dummy "$program_prefix"size; ac_word=$2
    24212404echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2422 echo "configure:2423: checking for $ac_word" >&5
     2405echo "configure:2406: checking for $ac_word" >&5
    24232406if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    24242407  echo $ac_n "(cached) $ac_c" 1>&6
     
    24562439set dummy gcc; ac_word=$2
    24572440echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2458 echo "configure:2459: checking for $ac_word" >&5
     2441echo "configure:2442: checking for $ac_word" >&5
    24592442if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24602443  echo $ac_n "(cached) $ac_c" 1>&6
     
    24852468set dummy cc; ac_word=$2
    24862469echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2487 echo "configure:2488: checking for $ac_word" >&5
     2470echo "configure:2471: checking for $ac_word" >&5
    24882471if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    24892472  echo $ac_n "(cached) $ac_c" 1>&6
     
    25332516
    25342517echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2535 echo "configure:2536: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2518echo "configure:2519: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    25362519
    25372520ac_ext=c
     
    25432526
    25442527cat > conftest.$ac_ext <<EOF
    2545 #line 2546 "configure"
     2528#line 2529 "configure"
    25462529#include "confdefs.h"
    25472530main(){return(0);}
    25482531EOF
    2549 if { (eval echo configure:2550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2532if { (eval echo configure:2533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    25502533  ac_cv_prog_cc_works=yes
    25512534  # If we can't run a trivial program, we are probably using a cross compiler.
     
    25672550fi
    25682551echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2569 echo "configure:2570: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2552echo "configure:2553: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    25702553echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    25712554cross_compiling=$ac_cv_prog_cc_cross
    25722555
    25732556echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2574 echo "configure:2575: checking whether we are using GNU C" >&5
     2557echo "configure:2558: checking whether we are using GNU C" >&5
    25752558if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    25762559  echo $ac_n "(cached) $ac_c" 1>&6
     
    25812564#endif
    25822565EOF
    2583 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2566if { 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
    25842567  ac_cv_prog_gcc=yes
    25852568else
     
    25962579  CFLAGS=
    25972580  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2598 echo "configure:2599: checking whether ${CC-cc} accepts -g" >&5
     2581echo "configure:2582: checking whether ${CC-cc} accepts -g" >&5
    25992582if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    26002583  echo $ac_n "(cached) $ac_c" 1>&6
     
    26252608
    26262609echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
    2627 echo "configure:2628: checking for Cygwin32 environment" >&5
     2610echo "configure:2611: checking for Cygwin32 environment" >&5
    26282611if eval "test \"`echo '$''{'rtems_cv_cygwin32'+set}'`\" = set"; then
    26292612  echo $ac_n "(cached) $ac_c" 1>&6
    26302613else
    26312614  cat > conftest.$ac_ext <<EOF
    2632 #line 2633 "configure"
     2615#line 2616 "configure"
    26332616#include "confdefs.h"
    26342617
     
    26372620; return 0; }
    26382621EOF
    2639 if { (eval echo configure:2640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2622if { (eval echo configure:2623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26402623  rm -rf conftest*
    26412624  rtems_cv_cygwin32=yes
     
    26552638
    26562639echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2657 echo "configure:2658: checking for executable suffix" >&5
     2640echo "configure:2641: checking for executable suffix" >&5
    26582641if eval "test \"`echo '$''{'rtems_cv_exeext'+set}'`\" = set"; then
    26592642  echo $ac_n "(cached) $ac_c" 1>&6
     
    26882671do
    26892672echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2690 echo "configure:2691: checking for $ac_func" >&5
     2673echo "configure:2674: checking for $ac_func" >&5
    26912674if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26922675  echo $ac_n "(cached) $ac_c" 1>&6
    26932676else
    26942677  cat > conftest.$ac_ext <<EOF
    2695 #line 2696 "configure"
     2678#line 2679 "configure"
    26962679#include "confdefs.h"
    26972680/* System header to define __stub macros and hopefully few prototypes,
     
    27162699; return 0; }
    27172700EOF
    2718 if { (eval echo configure:2719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2701if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    27192702  rm -rf conftest*
    27202703  eval "ac_cv_func_$ac_func=yes"
     
    27452728
    27462729echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6
    2747 echo "configure:2748: checking whether $RTEMS_HOST supports System V semaphores" >&5
     2730echo "configure:2731: checking whether $RTEMS_HOST supports System V semaphores" >&5
    27482731if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then
    27492732  echo $ac_n "(cached) $ac_c" 1>&6
     
    27542737else
    27552738  cat > conftest.$ac_ext <<EOF
    2756 #line 2757 "configure"
     2739#line 2740 "configure"
    27572740#include "confdefs.h"
    27582741
     
    27802763
    27812764EOF
    2782 if { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2765if { (eval echo configure:2766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    27832766then
    27842767  rtems_cv_sysv_sem="yes"
     
    28032786
    28042787echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6
    2805 echo "configure:2806: checking whether $RTEMS_HOST supports System V shared memory" >&5
     2788echo "configure:2789: checking whether $RTEMS_HOST supports System V shared memory" >&5
    28062789if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then
    28072790  echo $ac_n "(cached) $ac_c" 1>&6
     
    28122795else
    28132796  cat > conftest.$ac_ext <<EOF
    2814 #line 2815 "configure"
     2797#line 2798 "configure"
    28152798#include "confdefs.h"
    28162799
     
    28282811
    28292812EOF
    2830 if { (eval echo configure:2831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2813if { (eval echo configure:2814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    28312814then
    28322815  rtems_cv_sysv_shm="yes"
     
    28512834
    28522835echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6
    2853 echo "configure:2854: checking whether $RTEMS_HOST supports System V messages" >&5
     2836echo "configure:2837: checking whether $RTEMS_HOST supports System V messages" >&5
    28542837if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then
    28552838  echo $ac_n "(cached) $ac_c" 1>&6
     
    28602843else
    28612844  cat > conftest.$ac_ext <<EOF
    2862 #line 2863 "configure"
     2845#line 2846 "configure"
    28632846#include "confdefs.h"
    28642847
     
    28762859
    28772860EOF
    2878 if { (eval echo configure:2879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2861if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    28792862then
    28802863  rtems_cv_sysv_msg="yes"
     
    29012884
    29022885echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6
    2903 echo "configure:2904: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
     2886echo "configure:2887: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
    29042887if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then
    29052888  rtems_av_save_dir=`pwd`;
     
    29162899
    29172900echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6
    2918 echo "configure:2919: checking for Makefile.in in c/src/exec/rtems" >&5
     2901echo "configure:2902: checking for Makefile.in in c/src/exec/rtems" >&5
    29192902if test -d $srcdir/c/src/exec/rtems; then
    29202903  rtems_av_save_dir=`pwd`;
     
    29312914
    29322915echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6
    2933 echo "configure:2934: checking for Makefile.in in c/src/exec/sapi" >&5
     2916echo "configure:2917: checking for Makefile.in in c/src/exec/sapi" >&5
    29342917if test -d $srcdir/c/src/exec/sapi; then
    29352918  rtems_av_save_dir=`pwd`;
     
    29482931 
    29492932echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
    2950 echo "configure:2951: checking for Makefile.in in c/src/exec/posix" >&5
     2933echo "configure:2934: checking for Makefile.in in c/src/exec/posix" >&5
    29512934if test -d $srcdir/c/src/exec/posix; then
    29522935  rtems_av_save_dir=`pwd`;
     
    29702953  if test -z "$rtems_bsp"; then
    29712954    echo $ac_n "checking for bsps""... $ac_c" 1>&6
    2972 echo "configure:2973: checking for bsps" >&5
     2955echo "configure:2956: checking for bsps" >&5
    29732956    files=`ls $srcdir/c/src/lib/libbsp/$target_cpu`
    29742957    for file in $files; do
     
    30353018       
    30363019echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6
    3037 echo "configure:3038: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
     3020echo "configure:3021: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
    30383021if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then
    30393022  rtems_av_save_dir=`pwd`;
     
    30503033       
    30513034echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6
    3052 echo "configure:3053: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
     3035echo "configure:3036: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
    30533036if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then
    30543037  rtems_av_save_dir=`pwd`;
     
    30733056
    30743057echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    3075 echo "configure:3076: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     3058echo "configure:3059: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    30763059if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    30773060  rtems_av_save_dir=`pwd`;
     
    30903073 
    30913074echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    3092 echo "configure:3093: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     3075echo "configure:3076: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    30933076if test -d $srcdir/c/src/lib/start/$target_cpu; then
    30943077  rtems_av_save_dir=`pwd`;
     
    31203103fi
    31213104
    3122 # If the KA9Q TCP/IP stack is enabled, then find all KA9Q Makefiles
    3123 echo $ac_n "checking if KA9Q networking is enabled? ""... $ac_c" 1>&6
    3124 echo "configure:3125: checking if KA9Q networking is enabled? " >&5
    3125 echo "$ac_t""$RTEMS_HAS_KA9Q" 1>&6
    3126 if test "$RTEMS_HAS_KA9Q" = "yes"; then
    3127   makefiles="$makefiles c/src/lib/libka9q/Makefile"
    3128 fi
    3129 
    31303105# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
    31313106echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6
    3132 echo "configure:3133: checking if networking is enabled? " >&5
     3107echo "configure:3108: checking if networking is enabled? " >&5
    31333108echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6
    31343109if test "$RTEMS_HAS_NETWORKING" = "yes"; then
    31353110 
    31363111echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6
    3137 echo "configure:3138: checking for Makefile.in in c/src/lib/libnetworking" >&5
     3112echo "configure:3113: checking for Makefile.in in c/src/lib/libnetworking" >&5
    31383113if test -d $srcdir/c/src/lib/libnetworking; then
    31393114  rtems_av_save_dir=`pwd`;
     
    31573132# If the tests are enabled, then find all the test suite Makefiles
    31583133echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6
    3159 echo "configure:3160: checking if the test suites are enabled? " >&5
     3134echo "configure:3135: checking if the test suites are enabled? " >&5
    31603135tests_enabled=yes
    31613136# Check whether --enable-tests or --disable-tests was given.
     
    31763151
    31773152echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
    3178 echo "configure:3179: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     3153echo "configure:3154: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
    31793154if test -d $srcdir/c/src/tests/tools/$target_cpu; then
    31803155  rtems_av_save_dir=`pwd`;
     
    31933168   
    31943169echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    3195 echo "configure:3196: checking for Makefile.in in c/src/tests/libtests" >&5
     3170echo "configure:3171: checking for Makefile.in in c/src/tests/libtests" >&5
    31963171if test -d $srcdir/c/src/tests/libtests; then
    31973172  rtems_av_save_dir=`pwd`;
     
    32083183   
    32093184echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    3210 echo "configure:3211: checking for Makefile.in in c/src/tests/sptests" >&5
     3185echo "configure:3186: checking for Makefile.in in c/src/tests/sptests" >&5
    32113186if test -d $srcdir/c/src/tests/sptests; then
    32123187  rtems_av_save_dir=`pwd`;
     
    32233198   
    32243199echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    3225 echo "configure:3226: checking for Makefile.in in c/src/tests/tmtests" >&5
     3200echo "configure:3201: checking for Makefile.in in c/src/tests/tmtests" >&5
    32263201if test -d $srcdir/c/src/tests/tmtests; then
    32273202  rtems_av_save_dir=`pwd`;
     
    32383213   
    32393214echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    3240 echo "configure:3241: checking for Makefile.in in c/src/tests/mptests" >&5
     3215echo "configure:3216: checking for Makefile.in in c/src/tests/mptests" >&5
    32413216if test -d $srcdir/c/src/tests/mptests; then
    32423217  rtems_av_save_dir=`pwd`;
     
    32543229     
    32553230echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    3256 echo "configure:3257: checking for Makefile.in in c/src/tests/psxtests" >&5
     3231echo "configure:3232: checking for Makefile.in in c/src/tests/psxtests" >&5
    32573232if test -d $srcdir/c/src/tests/psxtests; then
    32583233  rtems_av_save_dir=`pwd`;
     
    32723247# If the HWAPI is enabled, the find the HWAPI Makefiles
    32733248echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6
    3274 echo "configure:3275: checking if the HWAPI is enabled? " >&5
     3249echo "configure:3250: checking if the HWAPI is enabled? " >&5
    32753250# Check whether --enable-hwapi or --disable-hwapi was given.
    32763251if test "${enable_hwapi+set}" = set; then
     
    32833258           
    32843259echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6
    3285 echo "configure:3286: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
     3260echo "configure:3261: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
    32863261if test -d $srcdir/c/src/lib/libhwapi/analog; then
    32873262  rtems_av_save_dir=`pwd`;
     
    32983273           
    32993274echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6
    3300 echo "configure:3301: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
     3275echo "configure:3276: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
    33013276if test -d $srcdir/c/src/lib/libhwapi/discrete; then
    33023277  rtems_av_save_dir=`pwd`;
     
    33133288           
    33143289echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6
    3315 echo "configure:3316: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
     3290echo "configure:3291: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
    33163291if test -d $srcdir/c/src/lib/libhwapi/drivers; then
    33173292  rtems_av_save_dir=`pwd`;
     
    33283303           
    33293304echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6
    3330 echo "configure:3331: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
     3305echo "configure:3306: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
    33313306if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then
    33323307  rtems_av_save_dir=`pwd`;
     
    33433318           
    33443319echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6
    3345 echo "configure:3346: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
     3320echo "configure:3321: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
    33463321if test -d $srcdir/c/src/lib/libhwapi/serial; then
    33473322  rtems_av_save_dir=`pwd`;
     
    33583333           
    33593334echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6
    3360 echo "configure:3361: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
     3335echo "configure:3336: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
    33613336if test -d $srcdir/c/src/lib/libhwapi/support; then
    33623337  rtems_av_save_dir=`pwd`;
     
    33733348           
    33743349echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6
    3375 echo "configure:3376: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
     3350echo "configure:3351: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
    33763351if test -d $srcdir/c/src/lib/libhwapi/wrapup; then
    33773352  rtems_av_save_dir=`pwd`;
     
    34153390
    34163391
    3417 
    34183392# pick up all the Makefiles in required parts of the tree
    34193393
    34203394echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6
    3421 echo "configure:3422: checking for Makefile.in in c/build-tools" >&5
     3395echo "configure:3396: checking for Makefile.in in c/build-tools" >&5
    34223396if test -d $srcdir/c/build-tools; then
    34233397  rtems_av_save_dir=`pwd`;
     
    34343408
    34353409echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6
    3436 echo "configure:3437: checking for Makefile.in in make" >&5
     3410echo "configure:3411: checking for Makefile.in in make" >&5
    34373411if test -d $srcdir/make; then
    34383412  rtems_av_save_dir=`pwd`;
     
    34493423
    34503424echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    3451 echo "configure:3452: checking for Makefile.in in c/src/lib/libmisc" >&5
     3425echo "configure:3426: checking for Makefile.in in c/src/lib/libmisc" >&5
    34523426if test -d $srcdir/c/src/lib/libmisc; then
    34533427  rtems_av_save_dir=`pwd`;
     
    34643438
    34653439echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    3466 echo "configure:3467: checking for Makefile.in in c/src/tests/samples" >&5
     3440echo "configure:3441: checking for Makefile.in in c/src/tests/samples" >&5
    34673441if test -d $srcdir/c/src/tests/samples; then
    34683442  rtems_av_save_dir=`pwd`;
     
    36953669s%@RTEMS_USE_OWN_PDIR@%$RTEMS_USE_OWN_PDIR%g
    36963670s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g
    3697 s%@RTEMS_HAS_KA9Q@%$RTEMS_HAS_KA9Q%g
    36983671s%@RTEMS_HAS_NETWORKING@%$RTEMS_HAS_NETWORKING%g
    36993672s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g
  • configure.in

    r96b39164 r28e7d7fa  
    2727  *)  AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
    2828esac],[RTEMS_HAS_POSIX_API=yes])
    29 
    30 AC_ARG_ENABLE(ka9q, \
    31 [  --enable-ka9q                enable KA9Q TCP/IP stack], \
    32 [case "${enableval}" in
    33   yes) RTEMS_HAS_KA9Q=yes ;;
    34   no) RTEMS_HAS_KA9Q=no ;;
    35   *)  AC_MSG_ERROR(bad value ${enableval} for enable-ka9q option) ;;
    36 esac],[RTEMS_HAS_KA9Q=no])
    3729
    3830AC_ARG_ENABLE(networking, \
     
    380372fi
    381373
    382 # If the KA9Q TCP/IP stack is enabled, then find all KA9Q Makefiles
    383 AC_MSG_CHECKING([if KA9Q networking is enabled? ])
    384 AC_MSG_RESULT($RTEMS_HAS_KA9Q)
    385 if test "$RTEMS_HAS_KA9Q" = "yes"; then
    386   makefiles="$makefiles c/src/lib/libka9q/Makefile"
    387 fi
    388 
    389374# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
    390375AC_MSG_CHECKING([if networking is enabled? ])
     
    455440AC_SUBST(RTEMS_USE_OWN_PDIR)
    456441AC_SUBST(RTEMS_HAS_POSIX_API)
    457 AC_SUBST(RTEMS_HAS_KA9Q)
    458442AC_SUBST(RTEMS_HAS_NETWORKING)
    459443AC_SUBST(RTEMS_USE_MACROS)
  • cpukit/libnetworking/arpa/inet.h

    r96b39164 r28e7d7fa  
    6666struct in_addr;
    6767
     68#if 0   /* RTEMS -- Why rename these? */
    6869/* XXX all new diversions!! argh!! */
    6970#define inet_addr       __inet_addr
     
    8182#define inet_nsap_addr  __inet_nsap_addr
    8283#define inet_nsap_ntoa  __inet_nsap_ntoa
     84#endif
    8385
    8486__BEGIN_DECLS
  • cpukit/libnetworking/rtems/rtems_syscall.c

    r96b39164 r28e7d7fa  
    618618}
    619619
    620 int
    621 getpeername (int s, struct sockaddr *name, int *namelen)
     620static int
     621getpeersockname (int s, struct sockaddr *name, int *namelen, int pflag)
    622622{
    623623        struct socket *so;
     
    637637                return -1;
    638638        }
    639         error = (*so->so_proto->pr_usrreqs->pru_peeraddr)(so, m);
     639        if (pflag)
     640                error = (*so->so_proto->pr_usrreqs->pru_peeraddr)(so, m);
     641        else
     642                error = (*so->so_proto->pr_usrreqs->pru_sockaddr)(so, m);
    640643        if (error) {
    641644                errno = error;
     
    651654        rtems_bsdnet_semaphore_release ();
    652655        return 0;
     656}
     657
     658int
     659getpeername (int s, struct sockaddr *name, int *namelen)
     660{
     661        return getpeersockname (s, name, namelen, 1);
     662}
     663int
     664getsockname (int s, struct sockaddr *name, int *namelen)
     665{
     666        return getpeersockname (s, name, namelen, 0);
    653667}
    654668
  • make/Templates/Makefile.inc.in

    r96b39164 r28e7d7fa  
    3535RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
    3636RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
    37 RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@
    3837RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
    3938RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
  • make/compilers/gcc-target-default.cfg

    r96b39164 r28e7d7fa  
    1919# default flags
    2020
    21 # We only include the header files for KA9Q if it is enabled.
    22 INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q
    23 INCLUDE_KA9Q = $(INCLUDE_KA9Q_$(HAS_KA9Q)_V)
    24 
    2521# We only include the header files for networking if it is enabled.
    2622INCLUDE_NETWORKING_yes_V = -I$(PROJECT_INCLUDE)/networking
     
    3733CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
    3834  -I$(PROJECT_INCLUDE) \
    39   $(INCLUDE_KA9Q) \
    4035  $(INCLUDE_NETWORKING) \
    4136  $(RTEMS_LIBC_INCLUDES) $(DEFINES)
     
    5146CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
    5247  -nostdinc -I$(PROJECT_INCLUDE) \
    53   $(INCLUDE_KA9Q) \
    5448  $(INCLUDE_NETWORKING) \
    5549  -I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES)
     
    7266CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
    7367        -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
    74         $(INCLUDE_KA9Q) $(INCLUDE_NETWORKING) $(DEFINES)
     68        $(INCLUDE_NETWORKING) $(DEFINES)
    7569
    7670ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \
  • make/custom/FreeBSD-posix.cfg

    r96b39164 r28e7d7fa  
    4040# Define this to yes if this target supports multiprocessor environments.
    4141HAS_MP=yes
    42 
    43 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    44 # to enable it.
    45 HAS_KA9Q=no
    4642
    4743# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/HPUX9-posix.cfg

    r96b39164 r28e7d7fa  
    3939# Define this to yes if this target supports multiprocessor environments.
    4040HAS_MP=yes
    41 
    42 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    43 # to enable it.
    44 HAS_KA9Q=no
    4541
    4642# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/Linux-posix.cfg

    r96b39164 r28e7d7fa  
    4141# Define this to yes if this target supports multiprocessor environments.
    4242HAS_MP=yes
    43 
    44 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    45 # to enable it.
    46 HAS_KA9Q=no
    4743
    4844# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/Solaris-posix.cfg

    r96b39164 r28e7d7fa  
    4040# Define this to yes if this target supports multiprocessor environments.
    4141HAS_MP=yes
    42 
    43 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    44 # to enable it.
    45 HAS_KA9Q=no
    4642
    4743# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/cvme961.cfg

    r96b39164 r28e7d7fa  
    2828# Define this to yes if this target supports multiprocessor environments.
    2929HAS_MP=yes
    30 
    31 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    32 # to enable it.
    33 HAS_KA9Q=no
    3430
    3531# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/default.cfg

    r96b39164 r28e7d7fa  
    6161HAS_MP=no
    6262
    63 # Define this to yes if this target wants the KA9Q TCP/IP stack
    64 ifeq ($(RTEMS_HAS_KA9Q),yes)
    65 HAS_KA9Q=yes
    66 else
    67 HAS_KA9Q=no
    68 endif
    69 
    7063# Define this to yes if this target wants the TCP/IP stack
    7164ifeq ($(RTEMS_HAS_NETWORKING),yes)
  • make/custom/dmv152.cfg

    r96b39164 r28e7d7fa  
    2323# -O4 is ok for RTEMS
    2424CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    25 
    26 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    27 # to enable it.
    28 HAS_KA9Q=no
    2925
    3026# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/efi332.cfg

    r96b39164 r28e7d7fa  
    2222# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
    2323CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    24 
    25 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    26 # to enable it.
    27 HAS_KA9Q=no
    2824
    2925# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/efi68k.cfg

    r96b39164 r28e7d7fa  
    2121# -O4 is ok for RTEMS
    2222CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    23 
    24 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    25 # to enable it.
    26 HAS_KA9Q=no
    2723
    2824# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/erc32.cfg

    r96b39164 r28e7d7fa  
    2828# -O4 is ok for RTEMS
    2929CFLAGS_OPTIMIZE_V=-O4
    30 
    31 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    32 # to enable it.
    33 HAS_KA9Q=no
    3430
    3531# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/force386.cfg

    r96b39164 r28e7d7fa  
    2424# Define this to yes if this target supports multiprocessor environments.
    2525HAS_MP=yes
    26 
    27 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    28 # to enable it.
    29 HAS_KA9Q=no
    3026
    3127# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/gen68302.cfg

    r96b39164 r28e7d7fa  
    2222# -O4 is ok for RTEMS
    2323CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    24 
    25 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    26 # to enable it.
    27 HAS_KA9Q=no
    2824
    2925# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/gensh1.cfg

    r96b39164 r28e7d7fa  
    3131# Define this to yes if this target supports multiprocessor environments.
    3232HAS_MP=no
    33 
    34 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    35 # to enable it.
    36 HAS_KA9Q=no
    3733
    3834# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/go32.cfg

    r96b39164 r28e7d7fa  
    5353# -O4 is ok for RTEMS
    5454CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    55 
    56 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    57 # to enable it.
    58 HAS_KA9Q=no
    5955
    6056# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/i386ex.cfg

    r96b39164 r28e7d7fa  
    2121# -O4 is ok for RTEMS
    2222CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    23 
    24 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    25 # to enable it.
    26 HAS_KA9Q=no
    2723
    2824# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/idp.cfg

    r96b39164 r28e7d7fa  
    1212# This is the actual bsp directory used during the build process.
    1313RTEMS_BSP_FAMILY=idp
    14 
    15 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    16 # to enable it.
    17 HAS_KA9Q=no
    1814
    1915# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/mvme136.cfg

    r96b39164 r28e7d7fa  
    2525# Define this to yes if this target supports multiprocessor environments.
    2626HAS_MP=yes
    27 
    28 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    29 # to enable it.
    30 HAS_KA9Q=no
    3127
    3228# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/mvme147.cfg

    r96b39164 r28e7d7fa  
    1919# -O4 is ok for RTEMS
    2020CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    21 
    22 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    23 # to enable it.
    24 HAS_KA9Q=no
    2521
    2622# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/mvme162.cfg

    r96b39164 r28e7d7fa  
    4646# -O4 is ok for RTEMS
    4747CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    48 
    49 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    50 # to enable it.
    51 HAS_KA9Q=no
    5248
    5349# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/no_bsp.cfg

    r96b39164 r28e7d7fa  
    2828HAS_MP=yes
    2929
    30 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    31 # to enable it.
    32 HAS_KA9Q=no
    33 
    3430# This target does NOT support the TCP/IP stack so ignore requests
    3531# to enable it.
  • make/custom/ods68302.cfg

    r96b39164 r28e7d7fa  
    3232# debugging please
    3333CFLAGS_DEBUG_V+=-g
    34 
    35 # This target does not support the ka9q tcp/ip stack so ignore requests
    36 # to enable it.
    37 HAS_KA9Q=no
    3834
    3935# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/p4000.cfg

    r96b39164 r28e7d7fa  
    1212# This is the actual bsp directory used during the build process.
    1313RTEMS_BSP_FAMILY=p4000
    14 
    15 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    16 # to enable it.
    17 HAS_KA9Q=no
    1814
    1915# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/p4600.cfg

    r96b39164 r28e7d7fa  
    2525TARGET_ARCH=o-p4600
    2626RTEMS_BSP=p4000
    27 
    28 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    29 # to enable it.
    30 HAS_KA9Q=no
    3127
    3228# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/p4650.cfg

    r96b39164 r28e7d7fa  
    2424TARGET_ARCH=o-p4650
    2525RTEMS_BSP=p4000
    26 
    27 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    28 # to enable it.
    29 HAS_KA9Q=no
    3026
    3127# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/papyrus.cfg

    r96b39164 r28e7d7fa  
    1616#CPU_DEFINES=-DPPC_ABI=PPC_ABI_POWEROPEN \
    1717#   -DPPC_ASM=PPC_ASM_ELF -DPPC_VECTOR_FILE_BASE=0x0100
    18 
    19 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    20 # to enable it.
    21 HAS_KA9Q=no
    2218
    2319# This target does NOT support the TCP/IP stack so ignore requests
  • make/custom/portsw.cfg

    r96b39164 r28e7d7fa  
    5353HAS_MP=no
    5454
    55 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    56 # to enable it.
    57 HAS_KA9Q=no
    58 
    5955# This target does NOT support the TCP/IP stack so ignore requests
    6056# to enable it.
  • make/custom/psim.cfg

    r96b39164 r28e7d7fa  
    1212# This is the actual bsp directory used during the build process.
    1313RTEMS_BSP_FAMILY=psim
    14 
    15 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    16 # to enable it.
    17 HAS_KA9Q=no
    1814
    1915# This target does NOT support the TCP/IP stack so ignore requests
     
    9086HAS_MP=no
    9187
    92 # This target does not support the ka9q tcp/ip stack so ignore requests
     88# This target does not support the TCP/IP stack so ignore requests
    9389# to enable it.
    94 HAS_KA9Q=no
     90HAS_NETWORKING=no
    9591
    9692# The following is a linkcmds file which will work without using the
  • make/custom/simhppa.cfg

    r96b39164 r28e7d7fa  
    3838# Define this to yes if this target supports multiprocessor environments.
    3939HAS_MP=yes
    40 
    41 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    42 # to enable it.
    43 HAS_KA9Q=no
    4440
    4541# This target does NOT support the TCP/IP stack so ignore requests
  • make/target.cfg.in

    r96b39164 r28e7d7fa  
    4040RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
    4141RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
    42 RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@
    4342RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
    4443RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
Note: See TracChangeset for help on using the changeset viewer.