Changeset 28e7d7fa in rtems
- Timestamp:
- 08/20/98 22:04:22 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a9cfa238
- Parents:
- 96b39164
- Files:
-
- 60 edited
Legend:
- Unmodified
- Added
- Removed
-
c/Makefile.in
r96b39164 r28e7d7fa 26 26 SUB_DIRS=build-tools src 27 27 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. 33 29 LIBNETWORKING_yes_V = lib/include/networking lib/include/networking/sys \ 34 30 lib/include/networking/machine lib/include/networking/rtems \ … … 46 42 lib lib/include lib/include/sys lib/include/rtems \ 47 43 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 \ 49 45 lib/include/motorola lib/include/zilog \ 50 $(LIBKA9Q) \51 46 $(LIBNETWORKING) \ 52 47 $(LIBRTEMSCPLUSPLUS) \ -
c/src/exec/libnetworking/arpa/inet.h
r96b39164 r28e7d7fa 66 66 struct in_addr; 67 67 68 #if 0 /* RTEMS -- Why rename these? */ 68 69 /* XXX all new diversions!! argh!! */ 69 70 #define inet_addr __inet_addr … … 81 82 #define inet_nsap_addr __inet_nsap_addr 82 83 #define inet_nsap_ntoa __inet_nsap_ntoa 84 #endif 83 85 84 86 __BEGIN_DECLS -
c/src/exec/libnetworking/rtems/rtems_syscall.c
r96b39164 r28e7d7fa 618 618 } 619 619 620 int621 getpeer name (int s, struct sockaddr *name, int *namelen)620 static int 621 getpeersockname (int s, struct sockaddr *name, int *namelen, int pflag) 622 622 { 623 623 struct socket *so; … … 637 637 return -1; 638 638 } 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); 640 643 if (error) { 641 644 errno = error; … … 651 654 rtems_bsdnet_semaphore_release (); 652 655 return 0; 656 } 657 658 int 659 getpeername (int s, struct sockaddr *name, int *namelen) 660 { 661 return getpeersockname (s, name, namelen, 1); 662 } 663 int 664 getsockname (int s, struct sockaddr *name, int *namelen) 665 { 666 return getpeersockname (s, name, namelen, 0); 653 667 } 654 668 -
c/src/exec/score/cpu/i386/cpu.h
r96b39164 r28e7d7fa 65 65 #define CPU_USE_DEFERRED_FP_SWITCH TRUE 66 66 67 #define CPU_PROVIDES_IDLE_THREAD_BODY TRUE68 67 #define CPU_STACK_GROWS_UP FALSE 69 68 #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 70 82 71 83 /* … … 386 398 387 399 /* 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 407 void _CPU_Thread_Idle_body( void ); 408 409 #endif /* CPU_PROVIDES_IDLE_THREAD_BODY */ 410 411 /* 388 412 * _CPU_Context_switch 389 413 * -
c/src/exec/score/headers/Makefile.in
r96b39164 r28e7d7fa 24 24 EXTERNAL_H_FILES=$(EXTERNAL_H_PIECES:%=$(srcdir)/%.h) 25 25 26 NET_H_PIECES = in27 NET_H_FILES=$(NET_H_PIECES:%=$(srcdir)/%.h)28 29 26 SRCS=$(H_FILES) $(SAPI_H_FILES) $(EXTERNAL_H_FILES) 30 27 … … 45 42 $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score 46 43 $(INSTALL) -m 444 ${SAPI_H_FILES} $(PROJECT_INCLUDE)/rtems/ 47 $(INSTALL) -m 444 ${NET_H_FILES} $(PROJECT_INCLUDE)/netinet48 44 # $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE) -
c/src/exec/score/include/rtems/score/Makefile.in
r96b39164 r28e7d7fa 24 24 EXTERNAL_H_FILES=$(EXTERNAL_H_PIECES:%=$(srcdir)/%.h) 25 25 26 NET_H_PIECES = in27 NET_H_FILES=$(NET_H_PIECES:%=$(srcdir)/%.h)28 29 26 SRCS=$(H_FILES) $(SAPI_H_FILES) $(EXTERNAL_H_FILES) 30 27 … … 45 42 $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score 46 43 $(INSTALL) -m 444 ${SAPI_H_FILES} $(PROJECT_INCLUDE)/rtems/ 47 $(INSTALL) -m 444 ${NET_H_FILES} $(PROJECT_INCLUDE)/netinet48 44 # $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE) -
c/src/lib/Makefile.in
r96b39164 r28e7d7fa 11 11 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 12 12 include $(RTEMS_ROOT)/make/directory.cfg 13 14 # We only build the KA9Q library if HAS_KA9Q was defined15 LIBKA9Q_yes_V = libka9q16 LIBKA9Q = $(LIBKA9Q_$(HAS_KA9Q)_V)17 13 18 14 # We only build the networking library if HAS_NETWORKING was defined … … 30 26 31 27 SUB_DIRS=start include $(NETWORKING_INCLUDE) libmisc libc libcpu libbsp \ 32 $(LIB KA9Q) $(LIBNETWORKING) $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup28 $(LIBNETWORKING) $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup -
c/src/lib/include/Makefile.in
r96b39164 r28e7d7fa 16 16 SYS_H_FILES=$(SYS_H_PIECES:%=$(srcdir)/sys/%.h) 17 17 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 usock24 KA9Q_H_FILES=$(KA9Q_H_PIECES:%=$(srcdir)/ka9q/%.h)25 26 18 MOTOROLA_H_PIECES=mc68230 mc68681 27 19 MOTOROLA_H_FILES=$(MOTOROLA_H_PIECES:%=$(srcdir)/motorola/%.h) … … 35 27 36 28 SRCS=$(H_FILES) $(SYS_H_FILES) \ 37 $( KA9Q_H_FILES) $(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES)29 $(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES) 38 30 39 31 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg … … 48 40 $(PROJECT_INCLUDE)/motorola 49 41 $(INSTALL) -m 444 $(ZILOG_H_FILES) $(PROJECT_INCLUDE)/zilog 50 ifeq ($(HAS_KA9Q),yes)51 $(INSTALL) -m 444 $(KA9Q_H_FILES) $(PROJECT_INCLUDE)/ka9q52 endif53 42 ifeq ($(HAS_CPLUSPLUS),yes) 54 43 $(INSTALL) -m 444 $(RTEMSCPLUSPLUS_H_FILES) $(PROJECT_INCLUDE)/rtems++ -
c/src/lib/libbsp/bare/README
r96b39164 r28e7d7fa 83 83 # --disable-tests \ 84 84 # --disable-posix \ 85 # --enable- ka9q\85 # --enable-networking \ 86 86 # --enable-bare-cpu-cflags=-mcpu32 \ 87 87 # --enable-bare-cpu-model=mcpu32 \ -
c/src/lib/libbsp/bare/do-bare-bsp-build
r96b39164 r28e7d7fa 139 139 ../${RTEMS}/configure --target=${TARGET} --prefix=${RTEMS_PREFIX} \ 140 140 --enable-cxx --enable-gmake-print-directory \ 141 --disable-tests --disable-posix --enable- ka9q\141 --disable-tests --disable-posix --enable-networking \ 142 142 --enable-bare-cpu-cflags=-m${rtems_target} \ 143 143 --enable-bare-cpu-model=m${rtems_target} \ -
c/src/lib/libbsp/i386/pc386/Makefile.in
r96b39164 r28e7d7fa 12 12 include $(RTEMS_ROOT)/make/directory.cfg 13 13 14 # We only build the Network library if HAS_ KA9Qwas defined14 # We only build the Network library if HAS_NETWORKING was defined 15 15 NETWORK_yes_V = network 16 NETWORK = $(NETWORK_$(HAS_ KA9Q)_V)16 NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) 17 17 18 18 # wrapup is the one that actually builds and installs the library -
c/src/lib/libbsp/i386/pc386/include/Makefile.in
r96b39164 r28e7d7fa 9 9 PROJECT_ROOT = @PROJECT_ROOT@ 10 10 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) 14 15 15 16 H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h $(srcdir)/crt.h \ -
c/src/lib/libbsp/i386/pc386/network/network.c
r96b39164 r28e7d7fa 1 1 /* 2 * XXX This driver needs to be reworked to support the new BSD stack 3 * 2 4 * RTEMS/KA9Q driver for WD8003 Ethernet Controller 3 5 * -
c/src/lib/libbsp/i386/pc386/wrapup/Makefile.in
r96b39164 r28e7d7fa 9 9 PROJECT_ROOT = @PROJECT_ROOT@ 10 10 11 # We only build the Network library if HAS_ KA9Qwas defined11 # We only build the Network library if HAS_NETWORKING was defined 12 12 NETWORK_yes_V = network 13 NETWORK = $(NETWORK_$(HAS_ KA9Q)_V)13 NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) 14 14 15 15 BSP_PIECES=startup clock console timer pc386dev $(NETWORK) -
c/src/lib/libbsp/m68k/gen68360/Makefile.in
r96b39164 r28e7d7fa 14 14 SRCS=README 15 15 16 # We only build the ka9q device driver if HAS_KA9Q was defined17 KA9Q_DRIVER_yes_V = ka9q_network18 KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)19 20 16 # We only build the networking device driver if HAS_NETWORKING was defined 21 17 NETWORKING_DRIVER_yes_V = network … … 27 23 # from the individual .rel files built in other directories 28 24 SUB_DIRS=include start360 startup clock console timer \ 29 $( KA9Q_DRIVER) $(NETWORKING_DRIVER) wrapup25 $(NETWORKING_DRIVER) wrapup -
c/src/lib/libbsp/m68k/gen68360/README
r96b39164 r28e7d7fa 34 34 # Decisions to be made a link-edit time are: 35 35 # - The size of the memory allocator heap. The default value is 36 # 64 kbytes. If the KA9Qnetwork package is used the heap36 # 64 kbytes. If the network package is used the heap 37 37 # should be at least 256 kbytes. If your network is large, or 38 38 # busy, the heap should be even larger. -
c/src/lib/libbsp/m68k/gen68360/include/bsp.h
r96b39164 r28e7d7fa 36 36 #include <iosupp.h> 37 37 #include <clockdrv.h> 38 39 /* 40 * Network driver configuration 41 */ 42 struct rtems_bsdnet_ifconfig; 43 extern 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 38 46 39 47 /* -
c/src/lib/libbsp/m68k/gen68360/wrapup/Makefile.in
r96b39164 r28e7d7fa 9 9 PROJECT_ROOT = @PROJECT_ROOT@ 10 10 11 # We only build the ka9q device driver if HAS_KA9Q was defined12 KA9Q_DRIVER_yes_V = ka9q_network13 KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)14 15 11 # We only build the networking device driver if HAS_NETWORKING was defined 16 12 NETWORKING_DRIVER_yes_V = network 17 13 NETWORKING_DRIVER = $(NETWORKING_DRIVER_$(HAS_NETWORKING)_V) 18 14 19 BSP_PIECES=startup clock console timer $( KA9Q_DRIVER) $(NETWORKING_DRIVER)15 BSP_PIECES=startup clock console timer $(NETWORKING_DRIVER) 20 16 CPU_PIECES= 21 17 GENERIC_PIECES= -
c/src/lib/libnetworking/arpa/inet.h
r96b39164 r28e7d7fa 66 66 struct in_addr; 67 67 68 #if 0 /* RTEMS -- Why rename these? */ 68 69 /* XXX all new diversions!! argh!! */ 69 70 #define inet_addr __inet_addr … … 81 82 #define inet_nsap_addr __inet_nsap_addr 82 83 #define inet_nsap_ntoa __inet_nsap_ntoa 84 #endif 83 85 84 86 __BEGIN_DECLS -
c/src/lib/libnetworking/rtems/rtems_syscall.c
r96b39164 r28e7d7fa 618 618 } 619 619 620 int621 getpeer name (int s, struct sockaddr *name, int *namelen)620 static int 621 getpeersockname (int s, struct sockaddr *name, int *namelen, int pflag) 622 622 { 623 623 struct socket *so; … … 637 637 return -1; 638 638 } 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); 640 643 if (error) { 641 644 errno = error; … … 651 654 rtems_bsdnet_semaphore_release (); 652 655 return 0; 656 } 657 658 int 659 getpeername (int s, struct sockaddr *name, int *namelen) 660 { 661 return getpeersockname (s, name, namelen, 1); 662 } 663 int 664 getsockname (int s, struct sockaddr *name, int *namelen) 665 { 666 return getpeersockname (s, name, namelen, 0); 653 667 } 654 668 -
c/src/lib/wrapup/Makefile.in
r96b39164 r28e7d7fa 19 19 $(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a \ 20 20 $(wildcard $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a) \ 21 $(wildcard $(PROJECT_RELEASE)/lib/libka9q$(LIB_VARIANT).a) \22 21 $(wildcard $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a) \ 23 22 $(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \ -
c/src/libnetworking/arpa/inet.h
r96b39164 r28e7d7fa 66 66 struct in_addr; 67 67 68 #if 0 /* RTEMS -- Why rename these? */ 68 69 /* XXX all new diversions!! argh!! */ 69 70 #define inet_addr __inet_addr … … 81 82 #define inet_nsap_addr __inet_nsap_addr 82 83 #define inet_nsap_ntoa __inet_nsap_ntoa 84 #endif 83 85 84 86 __BEGIN_DECLS -
c/src/libnetworking/rtems/rtems_syscall.c
r96b39164 r28e7d7fa 618 618 } 619 619 620 int621 getpeer name (int s, struct sockaddr *name, int *namelen)620 static int 621 getpeersockname (int s, struct sockaddr *name, int *namelen, int pflag) 622 622 { 623 623 struct socket *so; … … 637 637 return -1; 638 638 } 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); 640 643 if (error) { 641 644 errno = error; … … 651 654 rtems_bsdnet_semaphore_release (); 652 655 return 0; 656 } 657 658 int 659 getpeername (int s, struct sockaddr *name, int *namelen) 660 { 661 return getpeersockname (s, name, namelen, 1); 662 } 663 int 664 getsockname (int s, struct sockaddr *name, int *namelen) 665 { 666 return getpeersockname (s, name, namelen, 0); 653 667 } 654 668 -
c/src/make/compilers/gcc-target-default.cfg
r96b39164 r28e7d7fa 19 19 # default flags 20 20 21 # We only include the header files for KA9Q if it is enabled.22 INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q23 INCLUDE_KA9Q = $(INCLUDE_KA9Q_$(HAS_KA9Q)_V)24 25 21 # We only include the header files for networking if it is enabled. 26 22 INCLUDE_NETWORKING_yes_V = -I$(PROJECT_INCLUDE)/networking … … 37 33 CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ 38 34 -I$(PROJECT_INCLUDE) \ 39 $(INCLUDE_KA9Q) \40 35 $(INCLUDE_NETWORKING) \ 41 36 $(RTEMS_LIBC_INCLUDES) $(DEFINES) … … 51 46 CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ 52 47 -nostdinc -I$(PROJECT_INCLUDE) \ 53 $(INCLUDE_KA9Q) \54 48 $(INCLUDE_NETWORKING) \ 55 49 -I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES) … … 72 66 CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ 73 67 -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \ 74 $(INCLUDE_ KA9Q) $(INCLUDE_NETWORKING) $(DEFINES)68 $(INCLUDE_NETWORKING) $(DEFINES) 75 69 76 70 ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \ -
c/src/wrapup/Makefile.in
r96b39164 r28e7d7fa 19 19 $(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a \ 20 20 $(wildcard $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a) \ 21 $(wildcard $(PROJECT_RELEASE)/lib/libka9q$(LIB_VARIANT).a) \22 21 $(wildcard $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a) \ 23 22 $(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \ -
configure
r96b39164 r28e7d7fa 20 20 \ 21 21 --enable-posix enable posix interface" 22 ac_help="$ac_help23 \24 --enable-ka9q enable KA9Q TCP/IP stack"25 22 ac_help="$ac_help 26 23 \ … … 562 559 563 560 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 564 echo "configure:56 5: checking whether ${MAKE-make} sets \${MAKE}" >&5561 echo "configure:562: checking whether ${MAKE-make} sets \${MAKE}" >&5 565 562 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 566 563 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 635 632 636 633 echo $ac_n "checking host system type""... $ac_c" 1>&6 637 echo "configure:63 8: checking host system type" >&5634 echo "configure:635: checking host system type" >&5 638 635 639 636 host_alias=$host … … 656 653 657 654 echo $ac_n "checking target system type""... $ac_c" 1>&6 658 echo "configure:65 9: checking target system type" >&5655 echo "configure:656: checking target system type" >&5 659 656 660 657 target_alias=$target … … 674 671 675 672 echo $ac_n "checking build system type""... $ac_c" 1>&6 676 echo "configure:67 7: checking build system type" >&5673 echo "configure:674: checking build system type" >&5 677 674 678 675 build_alias=$build … … 732 729 733 730 734 # Check whether --enable-ka9q or --disable-ka9q was given.735 if test "${enable_ka9q+set}" = set; then736 enableval="$enable_ka9q"737 \738 case "${enableval}" in739 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 esac743 else744 RTEMS_HAS_KA9Q=no745 fi746 747 748 731 # Check whether --enable-networking or --disable-networking was given. 749 732 if test "${enable_networking+set}" = set; then … … 841 824 set dummy cat; ac_word=$2 842 825 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 843 echo "configure:8 44: checking for $ac_word" >&5826 echo "configure:827: checking for $ac_word" >&5 844 827 if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then 845 828 echo $ac_n "(cached) $ac_c" 1>&6 … … 872 855 set dummy rm; ac_word=$2 873 856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 874 echo "configure:8 75: checking for $ac_word" >&5857 echo "configure:858: checking for $ac_word" >&5 875 858 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then 876 859 echo $ac_n "(cached) $ac_c" 1>&6 … … 903 886 set dummy cp; ac_word=$2 904 887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 905 echo "configure: 906: checking for $ac_word" >&5888 echo "configure:889: checking for $ac_word" >&5 906 889 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then 907 890 echo $ac_n "(cached) $ac_c" 1>&6 … … 934 917 set dummy mv; ac_word=$2 935 918 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 936 echo "configure:9 37: checking for $ac_word" >&5919 echo "configure:920: checking for $ac_word" >&5 937 920 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then 938 921 echo $ac_n "(cached) $ac_c" 1>&6 … … 965 948 set dummy ln; ac_word=$2 966 949 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 967 echo "configure:9 68: checking for $ac_word" >&5950 echo "configure:951: checking for $ac_word" >&5 968 951 if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then 969 952 echo $ac_n "(cached) $ac_c" 1>&6 … … 994 977 995 978 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 996 echo "configure:9 97: checking whether ln -s works" >&5979 echo "configure:980: checking whether ln -s works" >&5 997 980 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 998 981 echo $ac_n "(cached) $ac_c" 1>&6 … … 1017 1000 set dummy chmod; ac_word=$2 1018 1001 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1019 echo "configure:10 20: checking for $ac_word" >&51002 echo "configure:1003: checking for $ac_word" >&5 1020 1003 if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then 1021 1004 echo $ac_n "(cached) $ac_c" 1>&6 … … 1048 1031 set dummy sort; ac_word=$2 1049 1032 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1050 echo "configure:10 51: checking for $ac_word" >&51033 echo "configure:1034: checking for $ac_word" >&5 1051 1034 if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then 1052 1035 echo $ac_n "(cached) $ac_c" 1>&6 … … 1087 1070 # ./install, which can be erroneously created by make from ./install.sh. 1088 1071 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1089 echo "configure:10 90: checking for a BSD compatible install" >&51072 echo "configure:1073: checking for a BSD compatible install" >&5 1090 1073 if test -z "$INSTALL"; then 1091 1074 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1140 1123 set dummy mkdir; ac_word=$2 1141 1124 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1142 echo "configure:11 43: checking for $ac_word" >&51125 echo "configure:1126: checking for $ac_word" >&5 1143 1126 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then 1144 1127 echo $ac_n "(cached) $ac_c" 1>&6 … … 1172 1155 1173 1156 echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6 1174 echo "configure:11 75: checking for working $MKDIR -m 0755" >&51157 echo "configure:1158: checking for working $MKDIR -m 0755" >&5 1175 1158 if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then 1176 1159 echo $ac_n "(cached) $ac_c" 1>&6 … … 1189 1172 1190 1173 echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6 1191 echo "configure:11 92: checking for working $MKDIR -p" >&51174 echo "configure:1175: checking for working $MKDIR -p" >&5 1192 1175 if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then 1193 1176 echo $ac_n "(cached) $ac_c" 1>&6 … … 1209 1192 set dummy touch; ac_word=$2 1210 1193 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1211 echo "configure:1 212: checking for $ac_word" >&51194 echo "configure:1195: checking for $ac_word" >&5 1212 1195 if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then 1213 1196 echo $ac_n "(cached) $ac_c" 1>&6 … … 1240 1223 set dummy cmp; ac_word=$2 1241 1224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1242 echo "configure:12 43: checking for $ac_word" >&51225 echo "configure:1226: checking for $ac_word" >&5 1243 1226 if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then 1244 1227 echo $ac_n "(cached) $ac_c" 1>&6 … … 1272 1255 set dummy sed; ac_word=$2 1273 1256 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1274 echo "configure:12 75: checking for $ac_word" >&51257 echo "configure:1258: checking for $ac_word" >&5 1275 1258 if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then 1276 1259 echo $ac_n "(cached) $ac_c" 1>&6 … … 1305 1288 set dummy $ac_prog; ac_word=$2 1306 1289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1307 echo "configure:1 308: checking for $ac_word" >&51290 echo "configure:1291: checking for $ac_word" >&5 1308 1291 if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then 1309 1292 echo $ac_n "(cached) $ac_c" 1>&6 … … 1342 1325 set dummy $ac_prog; ac_word=$2 1343 1326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1344 echo "configure:13 45: checking for $ac_word" >&51327 echo "configure:1328: checking for $ac_word" >&5 1345 1328 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then 1346 1329 echo $ac_n "(cached) $ac_c" 1>&6 … … 1420 1403 *) 1421 1404 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 1422 echo "configure:14 23: checking rtems target cpu" >&51405 echo "configure:1406: checking rtems target cpu" >&5 1423 1406 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` 1424 1407 echo "$ac_t""$target_cpu" 1>&6 … … 1439 1422 # Is this a supported CPU? 1440 1423 echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6 1441 echo "configure:14 42: checking if cpu $target_cpu is supported" >&51424 echo "configure:1425: checking if cpu $target_cpu is supported" >&5 1442 1425 if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then 1443 1426 echo "$ac_t""yes" 1>&6 … … 1464 1447 set dummy $ac_prog; ac_word=$2 1465 1448 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1466 echo "configure:14 67: checking for $ac_word" >&51449 echo "configure:1450: checking for $ac_word" >&5 1467 1450 if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then 1468 1451 echo $ac_n "(cached) $ac_c" 1>&6 … … 1504 1487 1505 1488 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1506 echo "configure:1 507: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51489 echo "configure:1490: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1507 1490 1508 1491 ac_ext=c … … 1514 1497 1515 1498 cat > conftest.$ac_ext <<EOF 1516 #line 15 17"configure"1499 #line 1500 "configure" 1517 1500 #include "confdefs.h" 1518 1501 main(){return(0);} 1519 1502 EOF 1520 if { (eval echo configure:15 21: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1503 if { (eval echo configure:1504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1521 1504 ac_cv_prog_cc_works=yes 1522 1505 # If we can't run a trivial program, we are probably using a cross compiler. … … 1538 1521 fi 1539 1522 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1540 echo "configure:15 41: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51523 echo "configure:1524: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1541 1524 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1542 1525 cross_compiling=$ac_cv_prog_cc_cross 1543 1526 1544 1527 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1545 echo "configure:15 46: checking whether we are using GNU C" >&51528 echo "configure:1529: checking whether we are using GNU C" >&5 1546 1529 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1547 1530 echo $ac_n "(cached) $ac_c" 1>&6 … … 1552 1535 #endif 1553 1536 EOF 1554 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:15 55: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1537 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 1555 1538 ac_cv_prog_gcc=yes 1556 1539 else … … 1567 1550 CFLAGS= 1568 1551 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1569 echo "configure:15 70: checking whether ${CC-cc} accepts -g" >&51552 echo "configure:1553: checking whether ${CC-cc} accepts -g" >&5 1570 1553 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1571 1554 echo $ac_n "(cached) $ac_c" 1>&6 … … 1609 1592 1610 1593 echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6 1611 echo "configure:1 612: checking whether $CC_FOR_TARGET accepts -specs" >&51594 echo "configure:1595: checking whether $CC_FOR_TARGET accepts -specs" >&5 1612 1595 if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then 1613 1596 echo $ac_n "(cached) $ac_c" 1>&6 … … 1630 1613 1631 1614 echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6 1632 echo "configure:16 33: checking whether $CC_FOR_TARGET accepts --pipe" >&51615 echo "configure:1616: checking whether $CC_FOR_TARGET accepts --pipe" >&5 1633 1616 if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then 1634 1617 echo $ac_n "(cached) $ac_c" 1>&6 … … 1671 1654 set dummy $ac_prog; ac_word=$2 1672 1655 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1673 echo "configure:16 74: checking for $ac_word" >&51656 echo "configure:1657: checking for $ac_word" >&5 1674 1657 if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then 1675 1658 echo $ac_n "(cached) $ac_c" 1>&6 … … 1711 1694 1712 1695 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1713 echo "configure:1 714: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&51696 echo "configure:1697: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1714 1697 1715 1698 ac_ext=C … … 1721 1704 1722 1705 cat > conftest.$ac_ext <<EOF 1723 #line 17 24"configure"1706 #line 1707 "configure" 1724 1707 #include "confdefs.h" 1725 1708 main(){return(0);} 1726 1709 EOF 1727 if { (eval echo configure:17 28: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1710 if { (eval echo configure:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1728 1711 ac_cv_prog_cxx_works=yes 1729 1712 # If we can't run a trivial program, we are probably using a cross compiler. … … 1751 1734 fi 1752 1735 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1753 echo "configure:17 54: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51736 echo "configure:1737: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1754 1737 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1755 1738 cross_compiling=$ac_cv_prog_cxx_cross 1756 1739 1757 1740 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1758 echo "configure:17 59: checking whether we are using GNU C++" >&51741 echo "configure:1742: checking whether we are using GNU C++" >&5 1759 1742 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1760 1743 echo $ac_n "(cached) $ac_c" 1>&6 … … 1765 1748 #endif 1766 1749 EOF 1767 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:17 68: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1750 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 1768 1751 ac_cv_prog_gxx=yes 1769 1752 else … … 1780 1763 CXXFLAGS= 1781 1764 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1782 echo "configure:17 83: checking whether ${CXX-g++} accepts -g" >&51765 echo "configure:1766: checking whether ${CXX-g++} accepts -g" >&5 1783 1766 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1784 1767 echo $ac_n "(cached) $ac_c" 1>&6 … … 1834 1817 1835 1818 echo $ac_n "checking target's ar""... $ac_c" 1>&6 1836 echo "configure:18 37: checking target's ar" >&51819 echo "configure:1820: checking target's ar" >&5 1837 1820 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 1838 1821 echo $ac_n "(cached) $ac_c" 1>&6 … … 1867 1850 # intends 1868 1851 echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6 1869 echo "configure:18 70: checking whether environment variable AR_FOR_TARGET is an absolute path" >&51852 echo "configure:1853: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 1870 1853 case "$AR_FOR_TARGET" in 1871 1854 /*) # valid … … 1884 1867 set dummy "$program_prefix"ar; ac_word=$2 1885 1868 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1886 echo "configure:18 87: checking for $ac_word" >&51869 echo "configure:1870: checking for $ac_word" >&5 1887 1870 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 1888 1871 echo $ac_n "(cached) $ac_c" 1>&6 … … 1917 1900 1918 1901 echo $ac_n "checking target's as""... $ac_c" 1>&6 1919 echo "configure:19 20: checking target's as" >&51902 echo "configure:1903: checking target's as" >&5 1920 1903 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 1921 1904 echo $ac_n "(cached) $ac_c" 1>&6 … … 1950 1933 # intends 1951 1934 echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6 1952 echo "configure:19 53: checking whether environment variable AS_FOR_TARGET is an absolute path" >&51935 echo "configure:1936: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 1953 1936 case "$AS_FOR_TARGET" in 1954 1937 /*) # valid … … 1967 1950 set dummy "$program_prefix"as; ac_word=$2 1968 1951 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1969 echo "configure:19 70: checking for $ac_word" >&51952 echo "configure:1953: checking for $ac_word" >&5 1970 1953 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 1971 1954 echo $ac_n "(cached) $ac_c" 1>&6 … … 2000 1983 2001 1984 echo $ac_n "checking target's ld""... $ac_c" 1>&6 2002 echo "configure: 2003: checking target's ld" >&51985 echo "configure:1986: checking target's ld" >&5 2003 1986 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 2004 1987 echo $ac_n "(cached) $ac_c" 1>&6 … … 2033 2016 # intends 2034 2017 echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2035 echo "configure:20 36: checking whether environment variable LD_FOR_TARGET is an absolute path" >&52018 echo "configure:2019: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 2036 2019 case "$LD_FOR_TARGET" in 2037 2020 /*) # valid … … 2050 2033 set dummy "$program_prefix"ld; ac_word=$2 2051 2034 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2052 echo "configure:20 53: checking for $ac_word" >&52035 echo "configure:2036: checking for $ac_word" >&5 2053 2036 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 2054 2037 echo $ac_n "(cached) $ac_c" 1>&6 … … 2083 2066 2084 2067 echo $ac_n "checking target's nm""... $ac_c" 1>&6 2085 echo "configure:20 86: checking target's nm" >&52068 echo "configure:2069: checking target's nm" >&5 2086 2069 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 2087 2070 echo $ac_n "(cached) $ac_c" 1>&6 … … 2116 2099 # intends 2117 2100 echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2118 echo "configure:21 19: checking whether environment variable NM_FOR_TARGET is an absolute path" >&52101 echo "configure:2102: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 2119 2102 case "$NM_FOR_TARGET" in 2120 2103 /*) # valid … … 2133 2116 set dummy "$program_prefix"nm; ac_word=$2 2134 2117 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2135 echo "configure:21 36: checking for $ac_word" >&52118 echo "configure:2119: checking for $ac_word" >&5 2136 2119 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 2137 2120 echo $ac_n "(cached) $ac_c" 1>&6 … … 2167 2150 2168 2151 echo $ac_n "checking target's ranlib""... $ac_c" 1>&6 2169 echo "configure:21 70: checking target's ranlib" >&52152 echo "configure:2153: checking target's ranlib" >&5 2170 2153 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 2171 2154 echo $ac_n "(cached) $ac_c" 1>&6 … … 2200 2183 # intends 2201 2184 echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2202 echo "configure:2 203: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&52185 echo "configure:2186: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 2203 2186 case "$RANLIB_FOR_TARGET" in 2204 2187 /*) # valid … … 2217 2200 set dummy "$program_prefix"ranlib; ac_word=$2 2218 2201 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2219 echo "configure:22 20: checking for $ac_word" >&52202 echo "configure:2203: checking for $ac_word" >&5 2220 2203 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 2221 2204 echo $ac_n "(cached) $ac_c" 1>&6 … … 2252 2235 2253 2236 echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6 2254 echo "configure:22 55: checking whether $AR_FOR_TARGET -s works" >&52237 echo "configure:2238: checking whether $AR_FOR_TARGET -s works" >&5 2255 2238 if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then 2256 2239 echo $ac_n "(cached) $ac_c" 1>&6 … … 2261 2244 { return b; } 2262 2245 EOF 2263 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:22 64: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \2264 && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:22 65: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \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; }; } \ 2265 2248 && test -s conftest.a ; \ 2266 2249 then … … 2287 2270 2288 2271 echo $ac_n "checking target's objcopy""... $ac_c" 1>&6 2289 echo "configure:22 90: checking target's objcopy" >&52272 echo "configure:2273: checking target's objcopy" >&5 2290 2273 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 2291 2274 echo $ac_n "(cached) $ac_c" 1>&6 … … 2320 2303 # intends 2321 2304 echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2322 echo "configure:23 23: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&52305 echo "configure:2306: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 2323 2306 case "$OBJCOPY_FOR_TARGET" in 2324 2307 /*) # valid … … 2337 2320 set dummy "$program_prefix"objcopy; ac_word=$2 2338 2321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2339 echo "configure:23 40: checking for $ac_word" >&52322 echo "configure:2323: checking for $ac_word" >&5 2340 2323 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 2341 2324 echo $ac_n "(cached) $ac_c" 1>&6 … … 2370 2353 2371 2354 echo $ac_n "checking target's size""... $ac_c" 1>&6 2372 echo "configure:23 73: checking target's size" >&52355 echo "configure:2356: checking target's size" >&5 2373 2356 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2374 2357 echo $ac_n "(cached) $ac_c" 1>&6 … … 2403 2386 # intends 2404 2387 echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2405 echo "configure:2 406: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&52388 echo "configure:2389: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 2406 2389 case "$SIZE_FOR_TARGET" in 2407 2390 /*) # valid … … 2420 2403 set dummy "$program_prefix"size; ac_word=$2 2421 2404 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2422 echo "configure:24 23: checking for $ac_word" >&52405 echo "configure:2406: checking for $ac_word" >&5 2423 2406 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2424 2407 echo $ac_n "(cached) $ac_c" 1>&6 … … 2456 2439 set dummy gcc; ac_word=$2 2457 2440 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2458 echo "configure:24 59: checking for $ac_word" >&52441 echo "configure:2442: checking for $ac_word" >&5 2459 2442 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2460 2443 echo $ac_n "(cached) $ac_c" 1>&6 … … 2485 2468 set dummy cc; ac_word=$2 2486 2469 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2487 echo "configure:24 88: checking for $ac_word" >&52470 echo "configure:2471: checking for $ac_word" >&5 2488 2471 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2489 2472 echo $ac_n "(cached) $ac_c" 1>&6 … … 2533 2516 2534 2517 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2535 echo "configure:25 36: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52518 echo "configure:2519: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2536 2519 2537 2520 ac_ext=c … … 2543 2526 2544 2527 cat > conftest.$ac_ext <<EOF 2545 #line 25 46"configure"2528 #line 2529 "configure" 2546 2529 #include "confdefs.h" 2547 2530 main(){return(0);} 2548 2531 EOF 2549 if { (eval echo configure:25 50: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2532 if { (eval echo configure:2533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2550 2533 ac_cv_prog_cc_works=yes 2551 2534 # If we can't run a trivial program, we are probably using a cross compiler. … … 2567 2550 fi 2568 2551 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2569 echo "configure:25 70: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52552 echo "configure:2553: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2570 2553 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2571 2554 cross_compiling=$ac_cv_prog_cc_cross 2572 2555 2573 2556 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2574 echo "configure:25 75: checking whether we are using GNU C" >&52557 echo "configure:2558: checking whether we are using GNU C" >&5 2575 2558 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2576 2559 echo $ac_n "(cached) $ac_c" 1>&6 … … 2581 2564 #endif 2582 2565 EOF 2583 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:25 84: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2566 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 2584 2567 ac_cv_prog_gcc=yes 2585 2568 else … … 2596 2579 CFLAGS= 2597 2580 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2598 echo "configure:25 99: checking whether ${CC-cc} accepts -g" >&52581 echo "configure:2582: checking whether ${CC-cc} accepts -g" >&5 2599 2582 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2600 2583 echo $ac_n "(cached) $ac_c" 1>&6 … … 2625 2608 2626 2609 echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6 2627 echo "configure:26 28: checking for Cygwin32 environment" >&52610 echo "configure:2611: checking for Cygwin32 environment" >&5 2628 2611 if eval "test \"`echo '$''{'rtems_cv_cygwin32'+set}'`\" = set"; then 2629 2612 echo $ac_n "(cached) $ac_c" 1>&6 2630 2613 else 2631 2614 cat > conftest.$ac_ext <<EOF 2632 #line 26 33"configure"2615 #line 2616 "configure" 2633 2616 #include "confdefs.h" 2634 2617 … … 2637 2620 ; return 0; } 2638 2621 EOF 2639 if { (eval echo configure:26 40: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2622 if { (eval echo configure:2623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2640 2623 rm -rf conftest* 2641 2624 rtems_cv_cygwin32=yes … … 2655 2638 2656 2639 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2657 echo "configure:26 58: checking for executable suffix" >&52640 echo "configure:2641: checking for executable suffix" >&5 2658 2641 if eval "test \"`echo '$''{'rtems_cv_exeext'+set}'`\" = set"; then 2659 2642 echo $ac_n "(cached) $ac_c" 1>&6 … … 2688 2671 do 2689 2672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2690 echo "configure:26 91: checking for $ac_func" >&52673 echo "configure:2674: checking for $ac_func" >&5 2691 2674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2692 2675 echo $ac_n "(cached) $ac_c" 1>&6 2693 2676 else 2694 2677 cat > conftest.$ac_ext <<EOF 2695 #line 26 96"configure"2678 #line 2679 "configure" 2696 2679 #include "confdefs.h" 2697 2680 /* System header to define __stub macros and hopefully few prototypes, … … 2716 2699 ; return 0; } 2717 2700 EOF 2718 if { (eval echo configure:27 19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2701 if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2719 2702 rm -rf conftest* 2720 2703 eval "ac_cv_func_$ac_func=yes" … … 2745 2728 2746 2729 echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6 2747 echo "configure:27 48: checking whether $RTEMS_HOST supports System V semaphores" >&52730 echo "configure:2731: checking whether $RTEMS_HOST supports System V semaphores" >&5 2748 2731 if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then 2749 2732 echo $ac_n "(cached) $ac_c" 1>&6 … … 2754 2737 else 2755 2738 cat > conftest.$ac_ext <<EOF 2756 #line 27 57"configure"2739 #line 2740 "configure" 2757 2740 #include "confdefs.h" 2758 2741 … … 2780 2763 2781 2764 EOF 2782 if { (eval echo configure:27 83: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2765 if { (eval echo configure:2766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2783 2766 then 2784 2767 rtems_cv_sysv_sem="yes" … … 2803 2786 2804 2787 echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6 2805 echo "configure:2 806: checking whether $RTEMS_HOST supports System V shared memory" >&52788 echo "configure:2789: checking whether $RTEMS_HOST supports System V shared memory" >&5 2806 2789 if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then 2807 2790 echo $ac_n "(cached) $ac_c" 1>&6 … … 2812 2795 else 2813 2796 cat > conftest.$ac_ext <<EOF 2814 #line 2 815"configure"2797 #line 2798 "configure" 2815 2798 #include "confdefs.h" 2816 2799 … … 2828 2811 2829 2812 EOF 2830 if { (eval echo configure:28 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2813 if { (eval echo configure:2814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2831 2814 then 2832 2815 rtems_cv_sysv_shm="yes" … … 2851 2834 2852 2835 echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6 2853 echo "configure:28 54: checking whether $RTEMS_HOST supports System V messages" >&52836 echo "configure:2837: checking whether $RTEMS_HOST supports System V messages" >&5 2854 2837 if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then 2855 2838 echo $ac_n "(cached) $ac_c" 1>&6 … … 2860 2843 else 2861 2844 cat > conftest.$ac_ext <<EOF 2862 #line 28 63"configure"2845 #line 2846 "configure" 2863 2846 #include "confdefs.h" 2864 2847 … … 2876 2859 2877 2860 EOF 2878 if { (eval echo configure:28 79: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2861 if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2879 2862 then 2880 2863 rtems_cv_sysv_msg="yes" … … 2901 2884 2902 2885 echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6 2903 echo "configure:2 904: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&52886 echo "configure:2887: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5 2904 2887 if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then 2905 2888 rtems_av_save_dir=`pwd`; … … 2916 2899 2917 2900 echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6 2918 echo "configure:29 19: checking for Makefile.in in c/src/exec/rtems" >&52901 echo "configure:2902: checking for Makefile.in in c/src/exec/rtems" >&5 2919 2902 if test -d $srcdir/c/src/exec/rtems; then 2920 2903 rtems_av_save_dir=`pwd`; … … 2931 2914 2932 2915 echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6 2933 echo "configure:29 34: checking for Makefile.in in c/src/exec/sapi" >&52916 echo "configure:2917: checking for Makefile.in in c/src/exec/sapi" >&5 2934 2917 if test -d $srcdir/c/src/exec/sapi; then 2935 2918 rtems_av_save_dir=`pwd`; … … 2948 2931 2949 2932 echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6 2950 echo "configure:29 51: checking for Makefile.in in c/src/exec/posix" >&52933 echo "configure:2934: checking for Makefile.in in c/src/exec/posix" >&5 2951 2934 if test -d $srcdir/c/src/exec/posix; then 2952 2935 rtems_av_save_dir=`pwd`; … … 2970 2953 if test -z "$rtems_bsp"; then 2971 2954 echo $ac_n "checking for bsps""... $ac_c" 1>&6 2972 echo "configure:29 73: checking for bsps" >&52955 echo "configure:2956: checking for bsps" >&5 2973 2956 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 2974 2957 for file in $files; do … … 3035 3018 3036 3019 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6 3037 echo "configure:30 38: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&53020 echo "configure:3021: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5 3038 3021 if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then 3039 3022 rtems_av_save_dir=`pwd`; … … 3050 3033 3051 3034 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6 3052 echo "configure:30 53: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&53035 echo "configure:3036: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5 3053 3036 if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then 3054 3037 rtems_av_save_dir=`pwd`; … … 3073 3056 3074 3057 echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 3075 echo "configure:30 76: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&53058 echo "configure:3059: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5 3076 3059 if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then 3077 3060 rtems_av_save_dir=`pwd`; … … 3090 3073 3091 3074 echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 3092 echo "configure:30 93: checking for Makefile.in in c/src/lib/start/$target_cpu" >&53075 echo "configure:3076: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5 3093 3076 if test -d $srcdir/c/src/lib/start/$target_cpu; then 3094 3077 rtems_av_save_dir=`pwd`; … … 3120 3103 fi 3121 3104 3122 # If the KA9Q TCP/IP stack is enabled, then find all KA9Q Makefiles3123 echo $ac_n "checking if KA9Q networking is enabled? ""... $ac_c" 1>&63124 echo "configure:3125: checking if KA9Q networking is enabled? " >&53125 echo "$ac_t""$RTEMS_HAS_KA9Q" 1>&63126 if test "$RTEMS_HAS_KA9Q" = "yes"; then3127 makefiles="$makefiles c/src/lib/libka9q/Makefile"3128 fi3129 3130 3105 # If the TCP/IP stack is enabled, then find all TCP/IP Makefiles 3131 3106 echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6 3132 echo "configure:31 33: checking if networking is enabled? " >&53107 echo "configure:3108: checking if networking is enabled? " >&5 3133 3108 echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6 3134 3109 if test "$RTEMS_HAS_NETWORKING" = "yes"; then 3135 3110 3136 3111 echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6 3137 echo "configure:31 38: checking for Makefile.in in c/src/lib/libnetworking" >&53112 echo "configure:3113: checking for Makefile.in in c/src/lib/libnetworking" >&5 3138 3113 if test -d $srcdir/c/src/lib/libnetworking; then 3139 3114 rtems_av_save_dir=`pwd`; … … 3157 3132 # If the tests are enabled, then find all the test suite Makefiles 3158 3133 echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6 3159 echo "configure:31 60: checking if the test suites are enabled? " >&53134 echo "configure:3135: checking if the test suites are enabled? " >&5 3160 3135 tests_enabled=yes 3161 3136 # Check whether --enable-tests or --disable-tests was given. … … 3176 3151 3177 3152 echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6 3178 echo "configure:31 79: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&53153 echo "configure:3154: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5 3179 3154 if test -d $srcdir/c/src/tests/tools/$target_cpu; then 3180 3155 rtems_av_save_dir=`pwd`; … … 3193 3168 3194 3169 echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6 3195 echo "configure:31 96: checking for Makefile.in in c/src/tests/libtests" >&53170 echo "configure:3171: checking for Makefile.in in c/src/tests/libtests" >&5 3196 3171 if test -d $srcdir/c/src/tests/libtests; then 3197 3172 rtems_av_save_dir=`pwd`; … … 3208 3183 3209 3184 echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6 3210 echo "configure:3 211: checking for Makefile.in in c/src/tests/sptests" >&53185 echo "configure:3186: checking for Makefile.in in c/src/tests/sptests" >&5 3211 3186 if test -d $srcdir/c/src/tests/sptests; then 3212 3187 rtems_av_save_dir=`pwd`; … … 3223 3198 3224 3199 echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6 3225 echo "configure:32 26: checking for Makefile.in in c/src/tests/tmtests" >&53200 echo "configure:3201: checking for Makefile.in in c/src/tests/tmtests" >&5 3226 3201 if test -d $srcdir/c/src/tests/tmtests; then 3227 3202 rtems_av_save_dir=`pwd`; … … 3238 3213 3239 3214 echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6 3240 echo "configure:32 41: checking for Makefile.in in c/src/tests/mptests" >&53215 echo "configure:3216: checking for Makefile.in in c/src/tests/mptests" >&5 3241 3216 if test -d $srcdir/c/src/tests/mptests; then 3242 3217 rtems_av_save_dir=`pwd`; … … 3254 3229 3255 3230 echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6 3256 echo "configure:32 57: checking for Makefile.in in c/src/tests/psxtests" >&53231 echo "configure:3232: checking for Makefile.in in c/src/tests/psxtests" >&5 3257 3232 if test -d $srcdir/c/src/tests/psxtests; then 3258 3233 rtems_av_save_dir=`pwd`; … … 3272 3247 # If the HWAPI is enabled, the find the HWAPI Makefiles 3273 3248 echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6 3274 echo "configure:32 75: checking if the HWAPI is enabled? " >&53249 echo "configure:3250: checking if the HWAPI is enabled? " >&5 3275 3250 # Check whether --enable-hwapi or --disable-hwapi was given. 3276 3251 if test "${enable_hwapi+set}" = set; then … … 3283 3258 3284 3259 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6 3285 echo "configure:32 86: checking for Makefile.in in c/src/lib/libhwapi/analog" >&53260 echo "configure:3261: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5 3286 3261 if test -d $srcdir/c/src/lib/libhwapi/analog; then 3287 3262 rtems_av_save_dir=`pwd`; … … 3298 3273 3299 3274 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6 3300 echo "configure:3 301: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&53275 echo "configure:3276: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5 3301 3276 if test -d $srcdir/c/src/lib/libhwapi/discrete; then 3302 3277 rtems_av_save_dir=`pwd`; … … 3313 3288 3314 3289 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6 3315 echo "configure:3 316: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&53290 echo "configure:3291: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5 3316 3291 if test -d $srcdir/c/src/lib/libhwapi/drivers; then 3317 3292 rtems_av_save_dir=`pwd`; … … 3328 3303 3329 3304 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6 3330 echo "configure:33 31: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&53305 echo "configure:3306: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5 3331 3306 if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then 3332 3307 rtems_av_save_dir=`pwd`; … … 3343 3318 3344 3319 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6 3345 echo "configure:33 46: checking for Makefile.in in c/src/lib/libhwapi/serial" >&53320 echo "configure:3321: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5 3346 3321 if test -d $srcdir/c/src/lib/libhwapi/serial; then 3347 3322 rtems_av_save_dir=`pwd`; … … 3358 3333 3359 3334 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6 3360 echo "configure:33 61: checking for Makefile.in in c/src/lib/libhwapi/support" >&53335 echo "configure:3336: checking for Makefile.in in c/src/lib/libhwapi/support" >&5 3361 3336 if test -d $srcdir/c/src/lib/libhwapi/support; then 3362 3337 rtems_av_save_dir=`pwd`; … … 3373 3348 3374 3349 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6 3375 echo "configure:33 76: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&53350 echo "configure:3351: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5 3376 3351 if test -d $srcdir/c/src/lib/libhwapi/wrapup; then 3377 3352 rtems_av_save_dir=`pwd`; … … 3415 3390 3416 3391 3417 3418 3392 # pick up all the Makefiles in required parts of the tree 3419 3393 3420 3394 echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6 3421 echo "configure:3 422: checking for Makefile.in in c/build-tools" >&53395 echo "configure:3396: checking for Makefile.in in c/build-tools" >&5 3422 3396 if test -d $srcdir/c/build-tools; then 3423 3397 rtems_av_save_dir=`pwd`; … … 3434 3408 3435 3409 echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6 3436 echo "configure:34 37: checking for Makefile.in in make" >&53410 echo "configure:3411: checking for Makefile.in in make" >&5 3437 3411 if test -d $srcdir/make; then 3438 3412 rtems_av_save_dir=`pwd`; … … 3449 3423 3450 3424 echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6 3451 echo "configure:34 52: checking for Makefile.in in c/src/lib/libmisc" >&53425 echo "configure:3426: checking for Makefile.in in c/src/lib/libmisc" >&5 3452 3426 if test -d $srcdir/c/src/lib/libmisc; then 3453 3427 rtems_av_save_dir=`pwd`; … … 3464 3438 3465 3439 echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6 3466 echo "configure:34 67: checking for Makefile.in in c/src/tests/samples" >&53440 echo "configure:3441: checking for Makefile.in in c/src/tests/samples" >&5 3467 3441 if test -d $srcdir/c/src/tests/samples; then 3468 3442 rtems_av_save_dir=`pwd`; … … 3695 3669 s%@RTEMS_USE_OWN_PDIR@%$RTEMS_USE_OWN_PDIR%g 3696 3670 s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g 3697 s%@RTEMS_HAS_KA9Q@%$RTEMS_HAS_KA9Q%g3698 3671 s%@RTEMS_HAS_NETWORKING@%$RTEMS_HAS_NETWORKING%g 3699 3672 s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g -
configure.in
r96b39164 r28e7d7fa 27 27 *) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;; 28 28 esac],[RTEMS_HAS_POSIX_API=yes]) 29 30 AC_ARG_ENABLE(ka9q, \31 [ --enable-ka9q enable KA9Q TCP/IP stack], \32 [case "${enableval}" in33 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])37 29 38 30 AC_ARG_ENABLE(networking, \ … … 380 372 fi 381 373 382 # If the KA9Q TCP/IP stack is enabled, then find all KA9Q Makefiles383 AC_MSG_CHECKING([if KA9Q networking is enabled? ])384 AC_MSG_RESULT($RTEMS_HAS_KA9Q)385 if test "$RTEMS_HAS_KA9Q" = "yes"; then386 makefiles="$makefiles c/src/lib/libka9q/Makefile"387 fi388 389 374 # If the TCP/IP stack is enabled, then find all TCP/IP Makefiles 390 375 AC_MSG_CHECKING([if networking is enabled? ]) … … 455 440 AC_SUBST(RTEMS_USE_OWN_PDIR) 456 441 AC_SUBST(RTEMS_HAS_POSIX_API) 457 AC_SUBST(RTEMS_HAS_KA9Q)458 442 AC_SUBST(RTEMS_HAS_NETWORKING) 459 443 AC_SUBST(RTEMS_USE_MACROS) -
cpukit/libnetworking/arpa/inet.h
r96b39164 r28e7d7fa 66 66 struct in_addr; 67 67 68 #if 0 /* RTEMS -- Why rename these? */ 68 69 /* XXX all new diversions!! argh!! */ 69 70 #define inet_addr __inet_addr … … 81 82 #define inet_nsap_addr __inet_nsap_addr 82 83 #define inet_nsap_ntoa __inet_nsap_ntoa 84 #endif 83 85 84 86 __BEGIN_DECLS -
cpukit/libnetworking/rtems/rtems_syscall.c
r96b39164 r28e7d7fa 618 618 } 619 619 620 int621 getpeer name (int s, struct sockaddr *name, int *namelen)620 static int 621 getpeersockname (int s, struct sockaddr *name, int *namelen, int pflag) 622 622 { 623 623 struct socket *so; … … 637 637 return -1; 638 638 } 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); 640 643 if (error) { 641 644 errno = error; … … 651 654 rtems_bsdnet_semaphore_release (); 652 655 return 0; 656 } 657 658 int 659 getpeername (int s, struct sockaddr *name, int *namelen) 660 { 661 return getpeersockname (s, name, namelen, 1); 662 } 663 int 664 getsockname (int s, struct sockaddr *name, int *namelen) 665 { 666 return getpeersockname (s, name, namelen, 0); 653 667 } 654 668 -
make/Templates/Makefile.inc.in
r96b39164 r28e7d7fa 35 35 RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@ 36 36 RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@ 37 RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@38 37 RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ 39 38 RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@ -
make/compilers/gcc-target-default.cfg
r96b39164 r28e7d7fa 19 19 # default flags 20 20 21 # We only include the header files for KA9Q if it is enabled.22 INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q23 INCLUDE_KA9Q = $(INCLUDE_KA9Q_$(HAS_KA9Q)_V)24 25 21 # We only include the header files for networking if it is enabled. 26 22 INCLUDE_NETWORKING_yes_V = -I$(PROJECT_INCLUDE)/networking … … 37 33 CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ 38 34 -I$(PROJECT_INCLUDE) \ 39 $(INCLUDE_KA9Q) \40 35 $(INCLUDE_NETWORKING) \ 41 36 $(RTEMS_LIBC_INCLUDES) $(DEFINES) … … 51 46 CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ 52 47 -nostdinc -I$(PROJECT_INCLUDE) \ 53 $(INCLUDE_KA9Q) \54 48 $(INCLUDE_NETWORKING) \ 55 49 -I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES) … … 72 66 CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ 73 67 -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \ 74 $(INCLUDE_ KA9Q) $(INCLUDE_NETWORKING) $(DEFINES)68 $(INCLUDE_NETWORKING) $(DEFINES) 75 69 76 70 ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \ -
make/custom/FreeBSD-posix.cfg
r96b39164 r28e7d7fa 40 40 # Define this to yes if this target supports multiprocessor environments. 41 41 HAS_MP=yes 42 43 # This target does NOT support the KA9Q TCP/IP stack so ignore requests44 # to enable it.45 HAS_KA9Q=no46 42 47 43 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/HPUX9-posix.cfg
r96b39164 r28e7d7fa 39 39 # Define this to yes if this target supports multiprocessor environments. 40 40 HAS_MP=yes 41 42 # This target does NOT support the KA9Q TCP/IP stack so ignore requests43 # to enable it.44 HAS_KA9Q=no45 41 46 42 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/Linux-posix.cfg
r96b39164 r28e7d7fa 41 41 # Define this to yes if this target supports multiprocessor environments. 42 42 HAS_MP=yes 43 44 # This target does NOT support the KA9Q TCP/IP stack so ignore requests45 # to enable it.46 HAS_KA9Q=no47 43 48 44 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/Solaris-posix.cfg
r96b39164 r28e7d7fa 40 40 # Define this to yes if this target supports multiprocessor environments. 41 41 HAS_MP=yes 42 43 # This target does NOT support the KA9Q TCP/IP stack so ignore requests44 # to enable it.45 HAS_KA9Q=no46 42 47 43 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/cvme961.cfg
r96b39164 r28e7d7fa 28 28 # Define this to yes if this target supports multiprocessor environments. 29 29 HAS_MP=yes 30 31 # This target does NOT support the KA9Q TCP/IP stack so ignore requests32 # to enable it.33 HAS_KA9Q=no34 30 35 31 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/default.cfg
r96b39164 r28e7d7fa 61 61 HAS_MP=no 62 62 63 # Define this to yes if this target wants the KA9Q TCP/IP stack64 ifeq ($(RTEMS_HAS_KA9Q),yes)65 HAS_KA9Q=yes66 else67 HAS_KA9Q=no68 endif69 70 63 # Define this to yes if this target wants the TCP/IP stack 71 64 ifeq ($(RTEMS_HAS_NETWORKING),yes) -
make/custom/dmv152.cfg
r96b39164 r28e7d7fa 23 23 # -O4 is ok for RTEMS 24 24 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer 25 26 # This target does NOT support the KA9Q TCP/IP stack so ignore requests27 # to enable it.28 HAS_KA9Q=no29 25 30 26 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/efi332.cfg
r96b39164 r28e7d7fa 22 22 # optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS 23 23 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer 24 25 # This target does NOT support the KA9Q TCP/IP stack so ignore requests26 # to enable it.27 HAS_KA9Q=no28 24 29 25 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/efi68k.cfg
r96b39164 r28e7d7fa 21 21 # -O4 is ok for RTEMS 22 22 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer 23 24 # This target does NOT support the KA9Q TCP/IP stack so ignore requests25 # to enable it.26 HAS_KA9Q=no27 23 28 24 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/erc32.cfg
r96b39164 r28e7d7fa 28 28 # -O4 is ok for RTEMS 29 29 CFLAGS_OPTIMIZE_V=-O4 30 31 # This target does NOT support the KA9Q TCP/IP stack so ignore requests32 # to enable it.33 HAS_KA9Q=no34 30 35 31 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/force386.cfg
r96b39164 r28e7d7fa 24 24 # Define this to yes if this target supports multiprocessor environments. 25 25 HAS_MP=yes 26 27 # This target does NOT support the KA9Q TCP/IP stack so ignore requests28 # to enable it.29 HAS_KA9Q=no30 26 31 27 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/gen68302.cfg
r96b39164 r28e7d7fa 22 22 # -O4 is ok for RTEMS 23 23 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer 24 25 # This target does NOT support the KA9Q TCP/IP stack so ignore requests26 # to enable it.27 HAS_KA9Q=no28 24 29 25 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/gensh1.cfg
r96b39164 r28e7d7fa 31 31 # Define this to yes if this target supports multiprocessor environments. 32 32 HAS_MP=no 33 34 # This target does NOT support the KA9Q TCP/IP stack so ignore requests35 # to enable it.36 HAS_KA9Q=no37 33 38 34 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/go32.cfg
r96b39164 r28e7d7fa 53 53 # -O4 is ok for RTEMS 54 54 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer 55 56 # This target does NOT support the KA9Q TCP/IP stack so ignore requests57 # to enable it.58 HAS_KA9Q=no59 55 60 56 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/i386ex.cfg
r96b39164 r28e7d7fa 21 21 # -O4 is ok for RTEMS 22 22 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer 23 24 # This target does NOT support the KA9Q TCP/IP stack so ignore requests25 # to enable it.26 HAS_KA9Q=no27 23 28 24 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/idp.cfg
r96b39164 r28e7d7fa 12 12 # This is the actual bsp directory used during the build process. 13 13 RTEMS_BSP_FAMILY=idp 14 15 # This target does NOT support the KA9Q TCP/IP stack so ignore requests16 # to enable it.17 HAS_KA9Q=no18 14 19 15 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/mvme136.cfg
r96b39164 r28e7d7fa 25 25 # Define this to yes if this target supports multiprocessor environments. 26 26 HAS_MP=yes 27 28 # This target does NOT support the KA9Q TCP/IP stack so ignore requests29 # to enable it.30 HAS_KA9Q=no31 27 32 28 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/mvme147.cfg
r96b39164 r28e7d7fa 19 19 # -O4 is ok for RTEMS 20 20 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer 21 22 # This target does NOT support the KA9Q TCP/IP stack so ignore requests23 # to enable it.24 HAS_KA9Q=no25 21 26 22 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/mvme162.cfg
r96b39164 r28e7d7fa 46 46 # -O4 is ok for RTEMS 47 47 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer 48 49 # This target does NOT support the KA9Q TCP/IP stack so ignore requests50 # to enable it.51 HAS_KA9Q=no52 48 53 49 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/no_bsp.cfg
r96b39164 r28e7d7fa 28 28 HAS_MP=yes 29 29 30 # This target does NOT support the KA9Q TCP/IP stack so ignore requests31 # to enable it.32 HAS_KA9Q=no33 34 30 # This target does NOT support the TCP/IP stack so ignore requests 35 31 # to enable it. -
make/custom/ods68302.cfg
r96b39164 r28e7d7fa 32 32 # debugging please 33 33 CFLAGS_DEBUG_V+=-g 34 35 # This target does not support the ka9q tcp/ip stack so ignore requests36 # to enable it.37 HAS_KA9Q=no38 34 39 35 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/p4000.cfg
r96b39164 r28e7d7fa 12 12 # This is the actual bsp directory used during the build process. 13 13 RTEMS_BSP_FAMILY=p4000 14 15 # This target does NOT support the KA9Q TCP/IP stack so ignore requests16 # to enable it.17 HAS_KA9Q=no18 14 19 15 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/p4600.cfg
r96b39164 r28e7d7fa 25 25 TARGET_ARCH=o-p4600 26 26 RTEMS_BSP=p4000 27 28 # This target does NOT support the KA9Q TCP/IP stack so ignore requests29 # to enable it.30 HAS_KA9Q=no31 27 32 28 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/p4650.cfg
r96b39164 r28e7d7fa 24 24 TARGET_ARCH=o-p4650 25 25 RTEMS_BSP=p4000 26 27 # This target does NOT support the KA9Q TCP/IP stack so ignore requests28 # to enable it.29 HAS_KA9Q=no30 26 31 27 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/papyrus.cfg
r96b39164 r28e7d7fa 16 16 #CPU_DEFINES=-DPPC_ABI=PPC_ABI_POWEROPEN \ 17 17 # -DPPC_ASM=PPC_ASM_ELF -DPPC_VECTOR_FILE_BASE=0x0100 18 19 # This target does NOT support the KA9Q TCP/IP stack so ignore requests20 # to enable it.21 HAS_KA9Q=no22 18 23 19 # This target does NOT support the TCP/IP stack so ignore requests -
make/custom/portsw.cfg
r96b39164 r28e7d7fa 53 53 HAS_MP=no 54 54 55 # This target does NOT support the KA9Q TCP/IP stack so ignore requests56 # to enable it.57 HAS_KA9Q=no58 59 55 # This target does NOT support the TCP/IP stack so ignore requests 60 56 # to enable it. -
make/custom/psim.cfg
r96b39164 r28e7d7fa 12 12 # This is the actual bsp directory used during the build process. 13 13 RTEMS_BSP_FAMILY=psim 14 15 # This target does NOT support the KA9Q TCP/IP stack so ignore requests16 # to enable it.17 HAS_KA9Q=no18 14 19 15 # This target does NOT support the TCP/IP stack so ignore requests … … 90 86 HAS_MP=no 91 87 92 # This target does not support the ka9q tcp/ipstack so ignore requests88 # This target does not support the TCP/IP stack so ignore requests 93 89 # to enable it. 94 HAS_ KA9Q=no90 HAS_NETWORKING=no 95 91 96 92 # The following is a linkcmds file which will work without using the -
make/custom/simhppa.cfg
r96b39164 r28e7d7fa 38 38 # Define this to yes if this target supports multiprocessor environments. 39 39 HAS_MP=yes 40 41 # This target does NOT support the KA9Q TCP/IP stack so ignore requests42 # to enable it.43 HAS_KA9Q=no44 40 45 41 # This target does NOT support the TCP/IP stack so ignore requests -
make/target.cfg.in
r96b39164 r28e7d7fa 40 40 RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@ 41 41 RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@ 42 RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@43 42 RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@ 44 43 RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
Note: See TracChangeset
for help on using the changeset viewer.