Changeset 37717818 in rtems
- Timestamp:
- 11/30/97 18:34:11 (26 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 1f3ec87
- Parents:
- bbb2816
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.in
rbbb2816 r37717818 36 36 SIZE_FOR_TARGET = $(program_prefix)size 37 37 38 AWK = @AWK@39 40 38 RTEMS_ROOT = @RTEMS_ROOT@ 41 39 RTEMS_HOST = @RTEMS_HOST@ … … 68 66 override MAKEFLAGS= 69 67 70 # CVS formerly was xxx -- using CVS covers up a weird feature of the aclocal71 # file in that it thinks CVS directories need a Makefile generated.72 68 $(MTARGETS): make_subdir 73 69 BASEDIR=`pwd`; \ 74 for bsp in $(RTEMS_BSP) CVS; \75 do if [ $$bsp != CVS] ; then \70 for bsp in $(RTEMS_BSP) xxx; \ 71 do if [ $$bsp != xxx ] ; then \ 76 72 cd $$BASEDIR; \ 77 73 cmd="cd c; $(MAKE) RTEMS_BSP=$$bsp $(FLAGS_TO_PASS) \ … … 98 94 \"RTEMS_USE_GCC272=$(RTEMS_USE_GCC272)\" \ 99 95 \"RTEMS_LIBC_DIR=$(RTEMS_LIBC_DIR)\" \ 100 \"AWK=$(AWK)\"$@" ; \96 $@" ; \ 101 97 eval $$cmd || $(EXIT_CMD); \ 102 98 fi; done; … … 108 104 make_subdir: 109 105 if [ ! -d make ] ; then \ 110 (cd $(srcdir)/c; tar cf - make/compilers make/custom make/os\106 (cd $(srcdir)/c; tar cf - make/compilers make/custom \ 111 107 make/directory.cfg make/leaf.cfg make/lib.cfg make/main.cfg \ 112 108 make/Templates/Makefile.dir \ -
aclocal.m4
rbbb2816 r37717818 1 1 dnl some macros for rtems host configuration checks 2 2 dnl 3 dnl Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de), 97/11/ 093 dnl Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de), 97/11/29 4 4 dnl 5 5 … … 41 41 ]) 42 42 43 dnl RTEMS_CHECK_MAKEFILE_T(path) 44 dnl Private macro of RTEMS_CHECK_MAKEFILE 45 AC_DEFUN(RTEMS_CHECK_MAKEFILE_T, 46 [ test -f $srcdir/$1/Makefile.in && \ 47 makefiles="$makefiles $1/Makefile" 48 ]) 49 50 dnl RTEMS_CHECK_MAKEFILE_R(path,temp,callback) 51 dnl Private macro of RTEMS_CHECK_MAKEFILE 52 dnl $1 path prefix 53 dnl $2 temporary variable 54 dnl $3 callback 55 AC_DEFUN(RTEMS_CHECK_MAKEFILE_R, 56 [ RTEMS_CHECK_MAKEFILE_T($1) 57 $2list=`ls $srcdir/$1` 58 for $2 in $$2list; do 59 if test -d "$srcdir/$1/$$2"; then 60 $3 61 fi 62 done 43 dnl RTEMS_CHECK_FILES_IN(path,file,var) 44 dnl path .. path relative to srcdir, where to start searching for files 45 dnl file .. name of the files to search for 46 dnl var .. shell variable to append found files 47 AC_DEFUN(RTEMS_CHECK_FILES_IN, 48 [ 49 AC_MSG_CHECKING(for $2 in $1) 50 if test -d $srcdir/$1; then 51 rtems_av_save_dir=`pwd`; 52 cd $srcdir; 53 rtems_av_tmp=`find $1 -name $2 -follow -print | sed 's%\.in%%' | sort`; 54 $3="$$3 $rtems_av_tmp"; 55 cd $rtems_av_save_dir; 56 AC_MSG_RESULT(done) 57 else 58 AC_MSG_RESULT(no) 59 fi 63 60 ]) 64 61 65 62 dnl RTEMS_CHECK_MAKEFILE(path) 66 dnl Checkfor Makefile.in's within the directory starting63 dnl Search for Makefile.in's within the directory starting 67 64 dnl at path and append an entry for Makefile to global variable 68 65 dnl "makefiles" (from configure.in) for each Makefile.in found 69 66 dnl 70 dnl NOTE: This function should be called recursivly, but m4-macro71 dnl expansion doesn't allow recursive macros. Therefore this72 dnl macro is expanded into a nonrecursive macro, limited to73 dnl a descrete directory depth, that should be sufficent.74 dnl75 67 AC_DEFUN(RTEMS_CHECK_MAKEFILE, 76 [ AC_MSG_CHECKING(for Makefiles in $1) 77 if test -d $srcdir/$1; then 78 RTEMS_CHECK_MAKEFILE_R($1,item, 79 RTEMS_CHECK_MAKEFILE_R($1/$item,item0, 80 RTEMS_CHECK_MAKEFILE_T($1/$item/$item0) 81 ) 82 ) 83 AC_MSG_RESULT(done) 84 else 85 AC_MSG_RESULT(no) 86 fi 68 [RTEMS_CHECK_FILES_IN($1,Makefile.in,makefiles) 87 69 ]) 88 70 89 71 dnl canonicalize target name 90 dnl NOTE: Most rtems targets do not fullfil autoconf 91 dnl target snaming conventions "processor-vendor-os"72 dnl NOTE: Most rtems targets do not fullfil autoconf's 73 dnl target naming conventions "processor-vendor-os" 92 74 dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them 93 75 dnl and we have to fix it for rtems ourselves … … 96 78 [AC_MSG_CHECKING(rtems target cpu) 97 79 changequote(<<, >>)dnl 98 target_cpu=`echo $target | /usr/bin/sed 's%^\([^-]*\)-\(.*\)$%\1%'`80 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` 99 81 changequote([, ])dnl 100 82 AC_MSG_RESULT($target_cpu) -
configure
rbbb2816 r37717818 28 28 ac_help="$ac_help 29 29 \ 30 --enable-cpp 30 --enable-cpp enable C++ support, and build the rtems++ library" 31 31 ac_help="$ac_help 32 32 \ … … 40 40 ac_help="$ac_help 41 41 \ 42 --enable-hwapi enable hardware API library"42 --enable-hwapi enable hardware API library" 43 43 ac_help="$ac_help 44 44 \ 45 --enable-rtemsbsp=bsp1 bsp2 .. prefix for cross-tools"45 --enable-rtemsbsp=bsp1 bsp2 .. BSPs to include in build" 46 46 47 47 # Initialize some variables set by options. … … 552 552 553 553 554 i386_mk="c/src/exec/score/cpu/i386/Makefile \555 c/src/lib/libbsp/i386/Makefile \556 c/src/lib/libbsp/i386/force386/Makefile \557 c/src/lib/libbsp/i386/force386/clock/Makefile \558 c/src/lib/libbsp/i386/force386/console/Makefile \559 c/src/lib/libbsp/i386/force386/include/Makefile \560 c/src/lib/libbsp/i386/force386/shmsupp/Makefile \561 c/src/lib/libbsp/i386/force386/startup/Makefile \562 c/src/lib/libbsp/i386/force386/timer/Makefile \563 c/src/lib/libbsp/i386/force386/wrapup/Makefile \564 c/src/lib/libbsp/i386/i386ex/Makefile \565 c/src/lib/libbsp/i386/i386ex/clock/Makefile \566 c/src/lib/libbsp/i386/i386ex/console/Makefile \567 c/src/lib/libbsp/i386/i386ex/include/Makefile \568 c/src/lib/libbsp/i386/i386ex/startup/Makefile \569 c/src/lib/libbsp/i386/i386ex/timer/Makefile \570 c/src/lib/libbsp/i386/i386ex/wrapup/Makefile \571 c/src/lib/start/i386/Makefile"572 573 i386_go32_mk="c/src/exec/score/cpu/i386/Makefile \574 c/src/lib/libbsp/i386/Makefile \575 c/src/lib/libbsp/i386/go32/Makefile \576 c/src/lib/libbsp/i386/go32/clock/Makefile \577 c/src/lib/libbsp/i386/go32/console/Makefile \578 c/src/lib/libbsp/i386/go32/include/Makefile \579 c/src/lib/libbsp/i386/go32/startup/Makefile \580 c/src/lib/libbsp/i386/go32/timer/Makefile \581 c/src/lib/libbsp/i386/go32/wrapup/Makefile"582 583 ka9q_mk="c/src/lib/libka9q/Makefile"584 585 rtemscpp_mk="c/src/lib/librtems++/Makefile"586 587 hwapi_mk="\588 c/src/lib/libhwapi/Makefile \589 c/src/lib/libhwapi/eeprom/Makefile \590 c/src/lib/libhwapi/eeprom/wrapup/Makefile \591 c/src/lib/libhwapi/eeprom/eeprom/Makefile \592 c/src/lib/libhwapi/drivers/Makefile \593 c/src/lib/libhwapi/drivers/vmebus/Makefile \594 c/src/lib/libhwapi/drivers/vmebus/dmv202/Makefile \595 c/src/lib/libhwapi/drivers/vmebus/dmv536/Makefile \596 c/src/lib/libhwapi/drivers/vmebus/dmv666/Makefile \597 c/src/lib/libhwapi/drivers/vmebus/wrapup/Makefile \598 c/src/lib/libhwapi/serial/Makefile \599 c/src/lib/libhwapi/serial/default/Makefile \600 c/src/lib/libhwapi/serial/stream/Makefile \601 c/src/lib/libhwapi/serial/template/Makefile \602 c/src/lib/libhwapi/serial/wrapup/Makefile \603 c/src/lib/libhwapi/serial/channel/Makefile \604 c/src/lib/libhwapi/discrete/Makefile \605 c/src/lib/libhwapi/discrete/tools/Makefile \606 c/src/lib/libhwapi/discrete/relay/Makefile \607 c/src/lib/libhwapi/discrete/wrapup/Makefile \608 c/src/lib/libhwapi/discrete/greycode/Makefile \609 c/src/lib/libhwapi/discrete/discrete_in/Makefile \610 c/src/lib/libhwapi/discrete/discrete_out/Makefile \611 c/src/lib/libhwapi/discrete/discrete_input/Makefile \612 c/src/lib/libhwapi/discrete/discrete_output/Makefile \613 c/src/lib/libhwapi/discrete/discrete_flag/Makefile \614 c/src/lib/libhwapi/discrete/discrete_bitfield/Makefile \615 c/src/lib/libhwapi/analog/Makefile \616 c/src/lib/libhwapi/analog/dac/Makefile \617 c/src/lib/libhwapi/analog/wrapup/Makefile \618 c/src/lib/libhwapi/analog/linear_dac/Makefile \619 c/src/lib/libhwapi/analog/linear_adc/Makefile \620 c/src/lib/libhwapi/analog/adc/Makefile \621 c/src/lib/libhwapi/wrapup/Makefile \622 c/src/lib/libhwapi/support/Makefile \623 c/src/lib/libhwapi/support/chain/Makefile \624 c/src/lib/libhwapi/support/checksum/Makefile \625 c/src/lib/libhwapi/support/wrapup/Makefile \626 c/src/lib/libhwapi/support/dumpbuf/Makefile"627 628 tests_mk="c/src/tests/libtests/Makefile \629 c/src/tests/libtests/cpuuse/Makefile \630 c/src/tests/libtests/malloctest/Makefile \631 c/src/tests/libtests/monitor/Makefile \632 c/src/tests/libtests/rtmonuse/Makefile \633 c/src/tests/libtests/stackchk/Makefile \634 c/src/tests/libtests/termios/Makefile \635 c/src/tests/libtests/rtems++/Makefile \636 c/src/tests/mptests/Makefile \637 c/src/tests/mptests/mp01/Makefile \638 c/src/tests/mptests/mp01/node1/Makefile \639 c/src/tests/mptests/mp01/node2/Makefile \640 c/src/tests/mptests/mp02/Makefile \641 c/src/tests/mptests/mp02/node1/Makefile \642 c/src/tests/mptests/mp02/node2/Makefile \643 c/src/tests/mptests/mp03/Makefile \644 c/src/tests/mptests/mp03/node1/Makefile \645 c/src/tests/mptests/mp03/node2/Makefile \646 c/src/tests/mptests/mp04/Makefile \647 c/src/tests/mptests/mp04/node1/Makefile \648 c/src/tests/mptests/mp04/node2/Makefile \649 c/src/tests/mptests/mp05/Makefile \650 c/src/tests/mptests/mp05/node1/Makefile \651 c/src/tests/mptests/mp05/node2/Makefile \652 c/src/tests/mptests/mp06/Makefile \653 c/src/tests/mptests/mp06/node1/Makefile \654 c/src/tests/mptests/mp06/node2/Makefile \655 c/src/tests/mptests/mp07/Makefile \656 c/src/tests/mptests/mp07/node1/Makefile \657 c/src/tests/mptests/mp07/node2/Makefile \658 c/src/tests/mptests/mp08/Makefile \659 c/src/tests/mptests/mp08/node1/Makefile \660 c/src/tests/mptests/mp08/node2/Makefile \661 c/src/tests/mptests/mp09/Makefile \662 c/src/tests/mptests/mp09/node1/Makefile \663 c/src/tests/mptests/mp09/node2/Makefile \664 c/src/tests/mptests/mp10/Makefile \665 c/src/tests/mptests/mp10/node1/Makefile \666 c/src/tests/mptests/mp10/node2/Makefile \667 c/src/tests/mptests/mp11/Makefile \668 c/src/tests/mptests/mp11/node1/Makefile \669 c/src/tests/mptests/mp11/node2/Makefile \670 c/src/tests/mptests/mp12/Makefile \671 c/src/tests/mptests/mp12/node1/Makefile \672 c/src/tests/mptests/mp12/node2/Makefile \673 c/src/tests/mptests/mp13/Makefile \674 c/src/tests/mptests/mp13/node1/Makefile \675 c/src/tests/mptests/mp13/node2/Makefile \676 c/src/tests/mptests/mp14/Makefile \677 c/src/tests/mptests/mp14/node1/Makefile \678 c/src/tests/mptests/mp14/node2/Makefile \679 c/src/tests/psxtests/Makefile \680 c/src/tests/psxtests/psx01/Makefile \681 c/src/tests/psxtests/psx02/Makefile \682 c/src/tests/psxtests/psx03/Makefile \683 c/src/tests/psxtests/psx04/Makefile \684 c/src/tests/psxtests/psx05/Makefile \685 c/src/tests/psxtests/psx06/Makefile \686 c/src/tests/psxtests/psx07/Makefile \687 c/src/tests/psxtests/psx08/Makefile \688 c/src/tests/psxtests/psx09/Makefile \689 c/src/tests/psxtests/psx10/Makefile \690 c/src/tests/psxtests/psx11/Makefile \691 c/src/tests/psxtests/psx12/Makefile \692 c/src/tests/psxtests/psxhdrs/Makefile \693 c/src/tests/psxtests/support/Makefile \694 c/src/tests/psxtests/support/include/Makefile \695 c/src/tests/sptests/Makefile \696 c/src/tests/sptests/sp01/Makefile \697 c/src/tests/sptests/sp02/Makefile \698 c/src/tests/sptests/sp03/Makefile \699 c/src/tests/sptests/sp04/Makefile \700 c/src/tests/sptests/sp05/Makefile \701 c/src/tests/sptests/sp06/Makefile \702 c/src/tests/sptests/sp07/Makefile \703 c/src/tests/sptests/sp08/Makefile \704 c/src/tests/sptests/sp09/Makefile \705 c/src/tests/sptests/sp11/Makefile \706 c/src/tests/sptests/sp12/Makefile \707 c/src/tests/sptests/sp13/Makefile \708 c/src/tests/sptests/sp14/Makefile \709 c/src/tests/sptests/sp15/Makefile \710 c/src/tests/sptests/sp16/Makefile \711 c/src/tests/sptests/sp17/Makefile \712 c/src/tests/sptests/sp19/Makefile \713 c/src/tests/sptests/sp20/Makefile \714 c/src/tests/sptests/sp21/Makefile \715 c/src/tests/sptests/sp22/Makefile \716 c/src/tests/sptests/sp23/Makefile \717 c/src/tests/sptests/sp24/Makefile \718 c/src/tests/sptests/sp25/Makefile \719 c/src/tests/sptests/spfatal/Makefile \720 c/src/tests/sptests/spsize/Makefile \721 c/src/tests/tmtests/Makefile \722 c/src/tests/tmtests/include/Makefile \723 c/src/tests/tmtests/tm01/Makefile \724 c/src/tests/tmtests/tm02/Makefile \725 c/src/tests/tmtests/tm03/Makefile \726 c/src/tests/tmtests/tm04/Makefile \727 c/src/tests/tmtests/tm05/Makefile \728 c/src/tests/tmtests/tm06/Makefile \729 c/src/tests/tmtests/tm07/Makefile \730 c/src/tests/tmtests/tm08/Makefile \731 c/src/tests/tmtests/tm09/Makefile \732 c/src/tests/tmtests/tm10/Makefile \733 c/src/tests/tmtests/tm11/Makefile \734 c/src/tests/tmtests/tm12/Makefile \735 c/src/tests/tmtests/tm13/Makefile \736 c/src/tests/tmtests/tm14/Makefile \737 c/src/tests/tmtests/tm15/Makefile \738 c/src/tests/tmtests/tm16/Makefile \739 c/src/tests/tmtests/tm17/Makefile \740 c/src/tests/tmtests/tm18/Makefile \741 c/src/tests/tmtests/tm19/Makefile \742 c/src/tests/tmtests/tm20/Makefile \743 c/src/tests/tmtests/tm21/Makefile \744 c/src/tests/tmtests/tm22/Makefile \745 c/src/tests/tmtests/tm23/Makefile \746 c/src/tests/tmtests/tm24/Makefile \747 c/src/tests/tmtests/tm25/Makefile \748 c/src/tests/tmtests/tm26/Makefile \749 c/src/tests/tmtests/tm27/Makefile \750 c/src/tests/tmtests/tm28/Makefile \751 c/src/tests/tmtests/tm29/Makefile \752 c/src/tests/tmtests/tmck/Makefile \753 c/src/tests/tmtests/tmoverhd/Makefile"754 755 554 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 756 echo "configure: 757: checking whether ${MAKE-make} sets \${MAKE}" >&5555 echo "configure:556: checking whether ${MAKE-make} sets \${MAKE}" >&5 757 556 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 758 557 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 827 626 828 627 echo $ac_n "checking host system type""... $ac_c" 1>&6 829 echo "configure: 830: checking host system type" >&5628 echo "configure:629: checking host system type" >&5 830 629 831 630 host_alias=$host … … 848 647 849 648 echo $ac_n "checking target system type""... $ac_c" 1>&6 850 echo "configure: 851: checking target system type" >&5649 echo "configure:650: checking target system type" >&5 851 650 852 651 target_alias=$target … … 866 665 867 666 echo $ac_n "checking build system type""... $ac_c" 1>&6 868 echo "configure: 869: checking build system type" >&5667 echo "configure:668: checking build system type" >&5 869 668 870 669 build_alias=$build … … 958 757 case "${enableval}" in 959 758 yes) RTEMS_HAS_CPLUSPLUS=yes ;; 960 no) RTEMS_HAS_CPLUSPLUS=no ;;759 no) RTEMS_HAS_CPLUSPLUS=no ;; 961 760 *) { echo "configure: error: bad value ${enableval} for enable-cpp option" 1>&2; exit 1; } ;; 962 761 esac … … 995 794 set dummy cat; ac_word=$2 996 795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 997 echo "configure: 998: checking for $ac_word" >&5796 echo "configure:797: checking for $ac_word" >&5 998 797 if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then 999 798 echo $ac_n "(cached) $ac_c" 1>&6 … … 1026 825 set dummy rm; ac_word=$2 1027 826 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1028 echo "configure: 1029: checking for $ac_word" >&5827 echo "configure:828: checking for $ac_word" >&5 1029 828 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then 1030 829 echo $ac_n "(cached) $ac_c" 1>&6 … … 1057 856 set dummy cp; ac_word=$2 1058 857 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1059 echo "configure: 1060: checking for $ac_word" >&5858 echo "configure:859: checking for $ac_word" >&5 1060 859 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then 1061 860 echo $ac_n "(cached) $ac_c" 1>&6 … … 1088 887 set dummy mv; ac_word=$2 1089 888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1090 echo "configure: 1091: checking for $ac_word" >&5889 echo "configure:890: checking for $ac_word" >&5 1091 890 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then 1092 891 echo $ac_n "(cached) $ac_c" 1>&6 … … 1119 918 set dummy ln; ac_word=$2 1120 919 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1121 echo "configure: 1122: checking for $ac_word" >&5920 echo "configure:921: checking for $ac_word" >&5 1122 921 if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then 1123 922 echo $ac_n "(cached) $ac_c" 1>&6 … … 1147 946 fi 1148 947 948 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 949 echo "configure:950: checking whether ln -s works" >&5 950 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 951 echo $ac_n "(cached) $ac_c" 1>&6 952 else 953 rm -f conftestdata 954 if ln -s X conftestdata 2>/dev/null 955 then 956 rm -f conftestdata 957 ac_cv_prog_LN_S="ln -s" 958 else 959 ac_cv_prog_LN_S=ln 960 fi 961 fi 962 LN_S="$ac_cv_prog_LN_S" 963 if test "$ac_cv_prog_LN_S" = "ln -s"; then 964 echo "$ac_t""yes" 1>&6 965 else 966 echo "$ac_t""no" 1>&6 967 fi 968 1149 969 # Extract the first word of "chmod", so it can be a program name with args. 1150 970 set dummy chmod; ac_word=$2 1151 971 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1152 echo "configure: 1153: checking for $ac_word" >&5972 echo "configure:973: checking for $ac_word" >&5 1153 973 if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then 1154 974 echo $ac_n "(cached) $ac_c" 1>&6 … … 1181 1001 set dummy sort; ac_word=$2 1182 1002 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1183 echo "configure:1 184: checking for $ac_word" >&51003 echo "configure:1004: checking for $ac_word" >&5 1184 1004 if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then 1185 1005 echo $ac_n "(cached) $ac_c" 1>&6 … … 1213 1033 set dummy mkdir; ac_word=$2 1214 1034 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1215 echo "configure:1 216: checking for $ac_word" >&51035 echo "configure:1036: checking for $ac_word" >&5 1216 1036 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then 1217 1037 echo $ac_n "(cached) $ac_c" 1>&6 … … 1245 1065 1246 1066 echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6 1247 echo "configure:1 248: checking for working $MKDIR -m 0755" >&51067 echo "configure:1068: checking for working $MKDIR -m 0755" >&5 1248 1068 if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then 1249 1069 echo $ac_n "(cached) $ac_c" 1>&6 … … 1262 1082 1263 1083 echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6 1264 echo "configure:1 265: checking for working $MKDIR -p" >&51084 echo "configure:1085: checking for working $MKDIR -p" >&5 1265 1085 if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then 1266 1086 echo $ac_n "(cached) $ac_c" 1>&6 … … 1279 1099 test "$rtems_cv_prog_MKDIR_M" = "yes" && MKDIR="$MKDIR -m 0755" 1280 1100 1281 # Extract the first word of "enscript", so it can be a program name with args.1282 set dummy enscript; ac_word=$21283 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61284 echo "configure:1285: checking for $ac_word" >&51285 if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then1286 echo $ac_n "(cached) $ac_c" 1>&61287 else1288 case "$PR" in1289 /*)1290 ac_cv_path_PR="$PR" # Let the user override the test with a path.1291 ;;1292 *)1293 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1294 for ac_dir in $PATH; do1295 test -z "$ac_dir" && ac_dir=.1296 if test -f $ac_dir/$ac_word; then1297 ac_cv_path_PR="$ac_dir/$ac_word"1298 break1299 fi1300 done1301 IFS="$ac_save_ifs"1302 ;;1303 esac1304 fi1305 PR="$ac_cv_path_PR"1306 if test -n "$PR"; then1307 echo "$ac_t""$PR" 1>&61308 else1309 echo "$ac_t""no" 1>&61310 fi1311 1312 test -n "$PR" && PR="$PR -G2r"1313 1314 if test -z "$PR"; then1315 # Extract the first word of "mp", so it can be a program name with args.1316 set dummy mp; ac_word=$21317 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61318 echo "configure:1319: checking for $ac_word" >&51319 if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then1320 echo $ac_n "(cached) $ac_c" 1>&61321 else1322 case "$PR" in1323 /*)1324 ac_cv_path_PR="$PR" # Let the user override the test with a path.1325 ;;1326 *)1327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1328 for ac_dir in /usr/openwin$ac_dummy; do1329 test -z "$ac_dir" && ac_dir=.1330 if test -f $ac_dir/$ac_word; then1331 ac_cv_path_PR="$ac_dir/$ac_word"1332 break1333 fi1334 done1335 IFS="$ac_save_ifs"1336 ;;1337 esac1338 fi1339 PR="$ac_cv_path_PR"1340 if test -n "$PR"; then1341 echo "$ac_t""$PR" 1>&61342 else1343 echo "$ac_t""no" 1>&61344 fi1345 1346 test -n "$PR" && PR="$PR -l"1347 fi1348 1349 if test -z "$PR"; then1350 # Extract the first word of "pr", so it can be a program name with args.1351 set dummy pr; ac_word=$21352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61353 echo "configure:1354: checking for $ac_word" >&51354 if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then1355 echo $ac_n "(cached) $ac_c" 1>&61356 else1357 case "$PR" in1358 /*)1359 ac_cv_path_PR="$PR" # Let the user override the test with a path.1360 ;;1361 *)1362 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1363 for ac_dir in $PATH; do1364 test -z "$ac_dir" && ac_dir=.1365 if test -f $ac_dir/$ac_word; then1366 ac_cv_path_PR="$ac_dir/$ac_word"1367 break1368 fi1369 done1370 IFS="$ac_save_ifs"1371 ;;1372 esac1373 fi1374 PR="$ac_cv_path_PR"1375 if test -n "$PR"; then1376 echo "$ac_t""$PR" 1>&61377 else1378 echo "$ac_t""no" 1>&61379 fi1380 1381 fi1382 1383 if test -z "$PR"; then1384 echo "configure: warning: ***1385 Cannot determine a suitable program for1386 printing asci files on ps-printers1387 Expect errors when printing files " 1>&21388 fi1389 1390 for ac_prog in lp lpr1391 do1392 # Extract the first word of "$ac_prog", so it can be a program name with args.1393 set dummy $ac_prog; ac_word=$21394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61395 echo "configure:1396: checking for $ac_word" >&51396 if eval "test \"`echo '$''{'ac_cv_path_PRINT'+set}'`\" = set"; then1397 echo $ac_n "(cached) $ac_c" 1>&61398 else1399 case "$PRINT" in1400 /*)1401 ac_cv_path_PRINT="$PRINT" # Let the user override the test with a path.1402 ;;1403 *)1404 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1405 for ac_dir in $PATH; do1406 test -z "$ac_dir" && ac_dir=.1407 if test -f $ac_dir/$ac_word; then1408 ac_cv_path_PRINT="$ac_dir/$ac_word"1409 break1410 fi1411 done1412 IFS="$ac_save_ifs"1413 ;;1414 esac1415 fi1416 PRINT="$ac_cv_path_PRINT"1417 if test -n "$PRINT"; then1418 echo "$ac_t""$PRINT" 1>&61419 else1420 echo "$ac_t""no" 1>&61421 fi1422 1423 test -n "$PRINT" && break1424 done1425 1426 1427 1101 # Extract the first word of "touch", so it can be a program name with args. 1428 1102 set dummy touch; ac_word=$2 1429 1103 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1430 echo "configure:1 431: checking for $ac_word" >&51104 echo "configure:1105: checking for $ac_word" >&5 1431 1105 if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then 1432 1106 echo $ac_n "(cached) $ac_c" 1>&6 … … 1459 1133 set dummy cmp; ac_word=$2 1460 1134 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1461 echo "configure:1 462: checking for $ac_word" >&51135 echo "configure:1136: checking for $ac_word" >&5 1462 1136 if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then 1463 1137 echo $ac_n "(cached) $ac_c" 1>&6 … … 1487 1161 fi 1488 1162 1489 # Extract the first word of "dirname", so it can be a program name with args.1490 set dummy dirname; ac_word=$21491 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61492 echo "configure:1493: checking for $ac_word" >&51493 if eval "test \"`echo '$''{'ac_cv_path_DIRNAME'+set}'`\" = set"; then1494 echo $ac_n "(cached) $ac_c" 1>&61495 else1496 case "$DIRNAME" in1497 /*)1498 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.1499 ;;1500 *)1501 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1502 for ac_dir in $PATH; do1503 test -z "$ac_dir" && ac_dir=.1504 if test -f $ac_dir/$ac_word; then1505 ac_cv_path_DIRNAME="$ac_dir/$ac_word"1506 break1507 fi1508 done1509 IFS="$ac_save_ifs"1510 ;;1511 esac1512 fi1513 DIRNAME="$ac_cv_path_DIRNAME"1514 if test -n "$DIRNAME"; then1515 echo "$ac_t""$DIRNAME" 1>&61516 else1517 echo "$ac_t""no" 1>&61518 fi1519 1520 # Extract the first word of "basename", so it can be a program name with args.1521 set dummy basename; ac_word=$21522 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61523 echo "configure:1524: checking for $ac_word" >&51524 if eval "test \"`echo '$''{'ac_cv_path_BASENAME'+set}'`\" = set"; then1525 echo $ac_n "(cached) $ac_c" 1>&61526 else1527 case "$BASENAME" in1528 /*)1529 ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path.1530 ;;1531 *)1532 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1533 for ac_dir in $PATH; do1534 test -z "$ac_dir" && ac_dir=.1535 if test -f $ac_dir/$ac_word; then1536 ac_cv_path_BASENAME="$ac_dir/$ac_word"1537 break1538 fi1539 done1540 IFS="$ac_save_ifs"1541 ;;1542 esac1543 fi1544 BASENAME="$ac_cv_path_BASENAME"1545 if test -n "$BASENAME"; then1546 echo "$ac_t""$BASENAME" 1>&61547 else1548 echo "$ac_t""no" 1>&61549 fi1550 1551 1552 # Extract the first word of "unifdef", so it can be a program name with args.1553 set dummy unifdef; ac_word=$21554 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61555 echo "configure:1556: checking for $ac_word" >&51556 if eval "test \"`echo '$''{'ac_cv_path_UNIFDEF'+set}'`\" = set"; then1557 echo $ac_n "(cached) $ac_c" 1>&61558 else1559 case "$UNIFDEF" in1560 /*)1561 ac_cv_path_UNIFDEF="$UNIFDEF" # Let the user override the test with a path.1562 ;;1563 *)1564 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1565 for ac_dir in $PATH; do1566 test -z "$ac_dir" && ac_dir=.1567 if test -f $ac_dir/$ac_word; then1568 ac_cv_path_UNIFDEF="$ac_dir/$ac_word"1569 break1570 fi1571 done1572 IFS="$ac_save_ifs"1573 ;;1574 esac1575 fi1576 UNIFDEF="$ac_cv_path_UNIFDEF"1577 if test -n "$UNIFDEF"; then1578 echo "$ac_t""$UNIFDEF" 1>&61579 else1580 echo "$ac_t""no" 1>&61581 fi1582 1583 # Extract the first word of "ed", so it can be a program name with args.1584 set dummy ed; ac_word=$21585 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61586 echo "configure:1587: checking for $ac_word" >&51587 if eval "test \"`echo '$''{'ac_cv_path_ED'+set}'`\" = set"; then1588 echo $ac_n "(cached) $ac_c" 1>&61589 else1590 case "$ED" in1591 /*)1592 ac_cv_path_ED="$ED" # Let the user override the test with a path.1593 ;;1594 *)1595 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1596 for ac_dir in $PATH; do1597 test -z "$ac_dir" && ac_dir=.1598 if test -f $ac_dir/$ac_word; then1599 ac_cv_path_ED="$ac_dir/$ac_word"1600 break1601 fi1602 done1603 IFS="$ac_save_ifs"1604 ;;1605 esac1606 fi1607 ED="$ac_cv_path_ED"1608 if test -n "$ED"; then1609 echo "$ac_t""$ED" 1>&61610 else1611 echo "$ac_t""no" 1>&61612 fi1613 1163 1614 1164 # Extract the first word of "sed", so it can be a program name with args. 1615 1165 set dummy sed; ac_word=$2 1616 1166 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1617 echo "configure:1 618: checking for $ac_word" >&51167 echo "configure:1168: checking for $ac_word" >&5 1618 1168 if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then 1619 1169 echo $ac_n "(cached) $ac_c" 1>&6 … … 1643 1193 fi 1644 1194 1645 for ac_prog in mawk gawk nawk awk1646 do1647 # Extract the first word of "$ac_prog", so it can be a program name with args.1648 set dummy $ac_prog; ac_word=$21649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61650 echo "configure:1651: checking for $ac_word" >&51651 if eval "test \"`echo '$''{'ac_cv_path_AWK'+set}'`\" = set"; then1652 echo $ac_n "(cached) $ac_c" 1>&61653 else1654 case "$AWK" in1655 /*)1656 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.1657 ;;1658 *)1659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1660 for ac_dir in $PATH; do1661 test -z "$ac_dir" && ac_dir=.1662 if test -f $ac_dir/$ac_word; then1663 ac_cv_path_AWK="$ac_dir/$ac_word"1664 break1665 fi1666 done1667 IFS="$ac_save_ifs"1668 ;;1669 esac1670 fi1671 AWK="$ac_cv_path_AWK"1672 if test -n "$AWK"; then1673 echo "$ac_t""$AWK" 1>&61674 else1675 echo "$ac_t""no" 1>&61676 fi1677 1678 test -n "$AWK" && break1679 done1680 1681 1195 for ac_prog in gm4 m4 1682 1196 do … … 1684 1198 set dummy $ac_prog; ac_word=$2 1685 1199 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1686 echo "configure:1 687: checking for $ac_word" >&51200 echo "configure:1201: checking for $ac_word" >&5 1687 1201 if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then 1688 1202 echo $ac_n "(cached) $ac_c" 1>&6 … … 1716 1230 1717 1231 1718 # Extract the first word of "fgrep", so it can be a program name with args.1719 set dummy fgrep; ac_word=$21720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61721 echo "configure:1722: checking for $ac_word" >&51722 if eval "test \"`echo '$''{'ac_cv_path_FGREP'+set}'`\" = set"; then1723 echo $ac_n "(cached) $ac_c" 1>&61724 else1725 case "$FGREP" in1726 /*)1727 ac_cv_path_FGREP="$FGREP" # Let the user override the test with a path.1728 ;;1729 *)1730 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1731 for ac_dir in $PATH; do1732 test -z "$ac_dir" && ac_dir=.1733 if test -f $ac_dir/$ac_word; then1734 ac_cv_path_FGREP="$ac_dir/$ac_word"1735 break1736 fi1737 done1738 IFS="$ac_save_ifs"1739 ;;1740 esac1741 fi1742 FGREP="$ac_cv_path_FGREP"1743 if test -n "$FGREP"; then1744 echo "$ac_t""$FGREP" 1>&61745 else1746 echo "$ac_t""no" 1>&61747 fi1748 1749 # Extract the first word of "grep", so it can be a program name with args.1750 set dummy grep; ac_word=$21751 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61752 echo "configure:1753: checking for $ac_word" >&51753 if eval "test \"`echo '$''{'ac_cv_path_GREP'+set}'`\" = set"; then1754 echo $ac_n "(cached) $ac_c" 1>&61755 else1756 case "$GREP" in1757 /*)1758 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.1759 ;;1760 *)1761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1762 for ac_dir in $PATH; do1763 test -z "$ac_dir" && ac_dir=.1764 if test -f $ac_dir/$ac_word; then1765 ac_cv_path_GREP="$ac_dir/$ac_word"1766 break1767 fi1768 done1769 IFS="$ac_save_ifs"1770 ;;1771 esac1772 fi1773 GREP="$ac_cv_path_GREP"1774 if test -n "$GREP"; then1775 echo "$ac_t""$GREP" 1>&61776 else1777 echo "$ac_t""no" 1>&61778 fi1779 1780 # Extract the first word of "egrep", so it can be a program name with args.1781 set dummy egrep; ac_word=$21782 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61783 echo "configure:1784: checking for $ac_word" >&51784 if eval "test \"`echo '$''{'ac_cv_path_EGREP'+set}'`\" = set"; then1785 echo $ac_n "(cached) $ac_c" 1>&61786 else1787 case "$EGREP" in1788 /*)1789 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.1790 ;;1791 *)1792 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1793 for ac_dir in $PATH; do1794 test -z "$ac_dir" && ac_dir=.1795 if test -f $ac_dir/$ac_word; then1796 ac_cv_path_EGREP="$ac_dir/$ac_word"1797 break1798 fi1799 done1800 IFS="$ac_save_ifs"1801 ;;1802 esac1803 fi1804 EGREP="$ac_cv_path_EGREP"1805 if test -n "$EGREP"; then1806 echo "$ac_t""$EGREP" 1>&61807 else1808 echo "$ac_t""no" 1>&61809 fi1810 1811 1812 # Extract the first word of "catman", so it can be a program name with args.1813 set dummy catman; ac_word=$21814 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61815 echo "configure:1816: checking for $ac_word" >&51816 if eval "test \"`echo '$''{'ac_cv_path_CATMAN'+set}'`\" = set"; then1817 echo $ac_n "(cached) $ac_c" 1>&61818 else1819 case "$CATMAN" in1820 /*)1821 ac_cv_path_CATMAN="$CATMAN" # Let the user override the test with a path.1822 ;;1823 *)1824 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"1825 for ac_dir in $PATH:/usr/etc:/etc$ac_dummy; do1826 test -z "$ac_dir" && ac_dir=.1827 if test -f $ac_dir/$ac_word; then1828 ac_cv_path_CATMAN="$ac_dir/$ac_word"1829 break1830 fi1831 done1832 IFS="$ac_save_ifs"1833 ;;1834 esac1835 fi1836 CATMAN="$ac_cv_path_CATMAN"1837 if test -n "$CATMAN"; then1838 echo "$ac_t""$CATMAN" 1>&61839 else1840 echo "$ac_t""no" 1>&61841 fi1842 1843 1844 1232 for ac_prog in bash ksh sh 1845 1233 do … … 1847 1235 set dummy $ac_prog; ac_word=$2 1848 1236 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1849 echo "configure:1 850: checking for $ac_word" >&51237 echo "configure:1238: checking for $ac_word" >&5 1850 1238 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then 1851 1239 echo $ac_n "(cached) $ac_c" 1>&6 … … 1885 1273 fi 1886 1274 1887 # Extract the first word of "ident", so it can be a program name with args. 1888 set dummy ident; ac_word=$2 1889 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1890 echo "configure:1891: checking for $ac_word" >&5 1891 if eval "test \"`echo '$''{'ac_cv_path_RCS_IDENT'+set}'`\" = set"; then 1892 echo $ac_n "(cached) $ac_c" 1>&6 1893 else 1894 case "$RCS_IDENT" in 1895 /*) 1896 ac_cv_path_RCS_IDENT="$RCS_IDENT" # Let the user override the test with a path. 1897 ;; 1898 *) 1899 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1900 for ac_dir in $PATH; do 1901 test -z "$ac_dir" && ac_dir=. 1902 if test -f $ac_dir/$ac_word; then 1903 ac_cv_path_RCS_IDENT="$ac_dir/$ac_word" 1904 break 1905 fi 1906 done 1907 IFS="$ac_save_ifs" 1908 ;; 1909 esac 1910 fi 1911 RCS_IDENT="$ac_cv_path_RCS_IDENT" 1912 if test -n "$RCS_IDENT"; then 1913 echo "$ac_t""$RCS_IDENT" 1>&6 1914 else 1915 echo "$ac_t""no" 1>&6 1916 fi 1917 1918 # Extract the first word of "co", so it can be a program name with args. 1919 set dummy co; ac_word=$2 1920 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1921 echo "configure:1922: checking for $ac_word" >&5 1922 if eval "test \"`echo '$''{'ac_cv_path_RCS_CO'+set}'`\" = set"; then 1923 echo $ac_n "(cached) $ac_c" 1>&6 1924 else 1925 case "$RCS_CO" in 1926 /*) 1927 ac_cv_path_RCS_CO="$RCS_CO" # Let the user override the test with a path. 1928 ;; 1929 *) 1930 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1931 for ac_dir in $PATH; do 1932 test -z "$ac_dir" && ac_dir=. 1933 if test -f $ac_dir/$ac_word; then 1934 ac_cv_path_RCS_CO="$ac_dir/$ac_word" 1935 break 1936 fi 1937 done 1938 IFS="$ac_save_ifs" 1939 ;; 1940 esac 1941 fi 1942 RCS_CO="$ac_cv_path_RCS_CO" 1943 if test -n "$RCS_CO"; then 1944 echo "$ac_t""$RCS_CO" 1>&6 1945 else 1946 echo "$ac_t""no" 1>&6 1947 fi 1948 1949 1950 1951 1952 1953 echo "TARGET" 1954 echo "cpu $target_cpu" 1955 echo "os $target_os" 1956 echo "vendor $target_vendor" 1275 1276 1957 1277 1958 1278 … … 1965 1285 target_cpu=i386 1966 1286 rtems_bsp="go32 go32_p5" 1967 aux_makefiles=$i386_go32_mk1287 skip_startfiles="yes" 1968 1288 RTEMS_HAS_POSIX_API=no 1969 1289 ;; 1970 1290 i[3456]86-rtems*) 1971 1291 target_cpu=i386 1972 rtems_bsp="force386 i386ex"1973 aux_makefiles=$i386_mk1974 1292 ;; 1975 1293 i[3456]86-pc-linux*) # unix "simulator" port … … 1990 1308 *) 1991 1309 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 1992 echo "configure:1 993: checking rtems target cpu" >&51993 target_cpu=`echo $target | /usr/bin/sed 's%^\([^-]*\)-\(.*\)$%\1%'`1310 echo "configure:1311: checking rtems target cpu" >&5 1311 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` 1994 1312 echo "$ac_t""$target_cpu" 1>&6 1995 1313 … … 1997 1315 esac 1998 1316 1317 # Is this a supported CPU? 1999 1318 echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6 2000 echo "configure: 2001: checking if cpu $target_cpu is supported" >&51319 echo "configure:1320: checking if cpu $target_cpu is supported" >&5 2001 1320 if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then 2002 1321 echo "$ac_t""yes" 1>&6 2003 makefiles=" c/src/exec/score/cpu/$target_cpu/Makefile"1322 makefiles="$makefiles c/src/exec/score/cpu/$target_cpu/Makefile" 2004 1323 else 2005 1324 { echo "configure: error: no" 1>&2; exit 1; } 2006 1325 fi 2007 1326 2008 echo $ac_n "checking for Makefiles in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6 2009 echo "configure:2010: checking for Makefiles in c/src/exec/score/tools/$target_cpu" >&5 2010 if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then 2011 test -f $srcdir/c/src/exec/score/tools/$target_cpu/Makefile.in && \ 2012 makefiles="$makefiles c/src/exec/score/tools/$target_cpu/Makefile" 2013 2014 itemlist=`ls $srcdir/c/src/exec/score/tools/$target_cpu` 2015 for item in $itemlist; do 2016 if test -d "$srcdir/c/src/exec/score/tools/$target_cpu/$item"; then 2017 test -f $srcdir/c/src/exec/score/tools/$target_cpu/$item/Makefile.in && \ 2018 makefiles="$makefiles c/src/exec/score/tools/$target_cpu/$item/Makefile" 2019 2020 item0list=`ls $srcdir/c/src/exec/score/tools/$target_cpu/$item` 2021 for item0 in $item0list; do 2022 if test -d "$srcdir/c/src/exec/score/tools/$target_cpu/$item/$item0"; then 2023 test -f $srcdir/c/src/exec/score/tools/$target_cpu/$item/$item0/Makefile.in && \ 2024 makefiles="$makefiles c/src/exec/score/tools/$target_cpu/$item/$item0/Makefile" 2025 2026 2027 fi 1327 # find all the Executive Makefiles 1328 1329 echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6 1330 echo "configure:1331: checking for Makefile.in in c/src/exec/rtems" >&5 1331 if test -d $srcdir/c/src/exec/rtems; then 1332 rtems_av_save_dir=`pwd`; 1333 cd $srcdir; 1334 rtems_av_tmp=`find c/src/exec/rtems -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1335 makefiles="$makefiles $rtems_av_tmp"; 1336 cd $rtems_av_save_dir; 1337 echo "$ac_t""done" 1>&6 1338 else 1339 echo "$ac_t""no" 1>&6 1340 fi 1341 1342 1343 1344 echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6 1345 echo "configure:1346: checking for Makefile.in in c/src/exec/posix" >&5 1346 if test -d $srcdir/c/src/exec/posix; then 1347 rtems_av_save_dir=`pwd`; 1348 cd $srcdir; 1349 rtems_av_tmp=`find c/src/exec/posix -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1350 makefiles="$makefiles $rtems_av_tmp"; 1351 cd $rtems_av_save_dir; 1352 echo "$ac_t""done" 1>&6 1353 else 1354 echo "$ac_t""no" 1>&6 1355 fi 1356 1357 1358 1359 echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6 1360 echo "configure:1361: checking for Makefile.in in c/src/exec/sapi" >&5 1361 if test -d $srcdir/c/src/exec/sapi; then 1362 rtems_av_save_dir=`pwd`; 1363 cd $srcdir; 1364 rtems_av_tmp=`find c/src/exec/sapi -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1365 makefiles="$makefiles $rtems_av_tmp"; 1366 cd $rtems_av_save_dir; 1367 echo "$ac_t""done" 1>&6 1368 else 1369 echo "$ac_t""no" 1>&6 1370 fi 1371 1372 1373 1374 echo $ac_n "checking for Makefile.in in c/src/exec/wrapup""... $ac_c" 1>&6 1375 echo "configure:1376: checking for Makefile.in in c/src/exec/wrapup" >&5 1376 if test -d $srcdir/c/src/exec/wrapup; then 1377 rtems_av_save_dir=`pwd`; 1378 cd $srcdir; 1379 rtems_av_tmp=`find c/src/exec/wrapup -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1380 makefiles="$makefiles $rtems_av_tmp"; 1381 cd $rtems_av_save_dir; 1382 echo "$ac_t""done" 1>&6 1383 else 1384 echo "$ac_t""no" 1>&6 1385 fi 1386 1387 1388 1389 # find all the Makefiles for the BSPs 1390 if test -d "$srcdir/c/src/lib/libbsp/$target_cpu"; then 1391 makefiles="$makefiles c/src/lib/libbsp/$target_cpu/Makefile" 1392 1393 if test -z "$rtems_bsp"; then 1394 echo $ac_n "checking for bsps""... $ac_c" 1>&6 1395 echo "configure:1396: checking for bsps" >&5 1396 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 1397 for file in $files; do 1398 case $file in 1399 shared*);; 1400 Makefile*);; 1401 READ*);; 1402 CVS*);; 1403 go32*);; # so the i386 port can pick up the other Makefiles 1404 *) rtems_bsp="$rtems_bsp $file";; 1405 esac; 1406 done 1407 echo "$ac_t""$rtems_bsp" 1>&6 1408 fi 1409 1410 # collect makefiles for each bsp 1411 for i in $rtems_bsp; do 1412 1413 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$i""... $ac_c" 1>&6 1414 echo "configure:1415: checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$i" >&5 1415 if test -d $srcdir/c/src/lib/libbsp/$target_cpu/$i; then 1416 rtems_av_save_dir=`pwd`; 1417 cd $srcdir; 1418 rtems_av_tmp=`find c/src/lib/libbsp/$target_cpu/$i -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1419 makefiles="$makefiles $rtems_av_tmp"; 1420 cd $rtems_av_save_dir; 1421 echo "$ac_t""done" 1>&6 1422 else 1423 echo "$ac_t""no" 1>&6 1424 fi 1425 1426 2028 1427 done 2029 2030 2031 fi 2032 done 2033 2034 echo "$ac_t""done" 1>&6 2035 else 2036 echo "$ac_t""no" 1>&6 2037 fi 2038 2039 2040 if test -n "$aux_makefiles";then 2041 makefiles="$makefiles $aux_makefiles" 2042 echo "MAKEFILES PRESET TO $makefiles" 2043 else 2044 echo $ac_n "checking for c/src/lib/libbsp/$target_cpu""... $ac_c" 1>&6 2045 echo "configure:2046: checking for c/src/lib/libbsp/$target_cpu" >&5 2046 if test -d "$srcdir/c/src/lib/libbsp/$target_cpu"; then 2047 echo "$ac_t""yes" 1>&6 2048 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 2049 for file in $files; do 2050 case $file in 2051 shared*);; 2052 Makefile*);; 2053 READ*);; 2054 *) rtems_bsp="$rtems_bsp $file";; 2055 esac; 2056 done 2057 echo $ac_n "checking for Makefiles in c/src/lib/libbsp/$target_cpu""... $ac_c" 1>&6 2058 echo "configure:2059: checking for Makefiles in c/src/lib/libbsp/$target_cpu" >&5 2059 if test -d $srcdir/c/src/lib/libbsp/$target_cpu; then 2060 test -f $srcdir/c/src/lib/libbsp/$target_cpu/Makefile.in && \ 2061 makefiles="$makefiles c/src/lib/libbsp/$target_cpu/Makefile" 2062 2063 itemlist=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 2064 for item in $itemlist; do 2065 if test -d "$srcdir/c/src/lib/libbsp/$target_cpu/$item"; then 2066 test -f $srcdir/c/src/lib/libbsp/$target_cpu/$item/Makefile.in && \ 2067 makefiles="$makefiles c/src/lib/libbsp/$target_cpu/$item/Makefile" 2068 2069 item0list=`ls $srcdir/c/src/lib/libbsp/$target_cpu/$item` 2070 for item0 in $item0list; do 2071 if test -d "$srcdir/c/src/lib/libbsp/$target_cpu/$item/$item0"; then 2072 test -f $srcdir/c/src/lib/libbsp/$target_cpu/$item/$item0/Makefile.in && \ 2073 makefiles="$makefiles c/src/lib/libbsp/$target_cpu/$item/$item0/Makefile" 2074 2075 2076 fi 2077 done 2078 2079 2080 fi 2081 done 2082 2083 echo "$ac_t""done" 1>&6 2084 else 2085 echo "$ac_t""no" 1>&6 2086 fi 2087 2088 else 2089 echo "$ac_t""no" 1>&6 2090 fi 2091 2092 echo $ac_n "checking for Makefiles in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 2093 echo "configure:2094: checking for Makefiles in c/src/lib/libcpu/$target_cpu" >&5 2094 if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then 2095 test -f $srcdir/c/src/lib/libcpu/$target_cpu/Makefile.in && \ 2096 makefiles="$makefiles c/src/lib/libcpu/$target_cpu/Makefile" 2097 2098 itemlist=`ls $srcdir/c/src/lib/libcpu/$target_cpu` 2099 for item in $itemlist; do 2100 if test -d "$srcdir/c/src/lib/libcpu/$target_cpu/$item"; then 2101 test -f $srcdir/c/src/lib/libcpu/$target_cpu/$item/Makefile.in && \ 2102 makefiles="$makefiles c/src/lib/libcpu/$target_cpu/$item/Makefile" 2103 2104 item0list=`ls $srcdir/c/src/lib/libcpu/$target_cpu/$item` 2105 for item0 in $item0list; do 2106 if test -d "$srcdir/c/src/lib/libcpu/$target_cpu/$item/$item0"; then 2107 test -f $srcdir/c/src/lib/libcpu/$target_cpu/$item/$item0/Makefile.in && \ 2108 makefiles="$makefiles c/src/lib/libcpu/$target_cpu/$item/$item0/Makefile" 2109 2110 2111 fi 2112 done 2113 2114 2115 fi 2116 done 2117 2118 echo "$ac_t""done" 1>&6 2119 else 2120 echo "$ac_t""no" 1>&6 2121 fi 2122 2123 echo $ac_n "checking for Makefiles in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 2124 echo "configure:2125: checking for Makefiles in c/src/lib/start/$target_cpu" >&5 2125 if test -d $srcdir/c/src/lib/start/$target_cpu; then 2126 test -f $srcdir/c/src/lib/start/$target_cpu/Makefile.in && \ 2127 makefiles="$makefiles c/src/lib/start/$target_cpu/Makefile" 2128 2129 itemlist=`ls $srcdir/c/src/lib/start/$target_cpu` 2130 for item in $itemlist; do 2131 if test -d "$srcdir/c/src/lib/start/$target_cpu/$item"; then 2132 test -f $srcdir/c/src/lib/start/$target_cpu/$item/Makefile.in && \ 2133 makefiles="$makefiles c/src/lib/start/$target_cpu/$item/Makefile" 2134 2135 item0list=`ls $srcdir/c/src/lib/start/$target_cpu/$item` 2136 for item0 in $item0list; do 2137 if test -d "$srcdir/c/src/lib/start/$target_cpu/$item/$item0"; then 2138 test -f $srcdir/c/src/lib/start/$target_cpu/$item/$item0/Makefile.in && \ 2139 makefiles="$makefiles c/src/lib/start/$target_cpu/$item/$item0/Makefile" 2140 2141 2142 fi 2143 done 2144 2145 2146 fi 2147 done 2148 2149 echo "$ac_t""done" 1>&6 2150 else 2151 echo "$ac_t""no" 1>&6 2152 fi 2153 2154 2155 fi # aux_makefiles 2156 2157 echo "MAKEFILES $makefiles" 1428 fi 1429 1430 # find all the CPU dependent library Makefiles 1431 1432 echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 1433 echo "configure:1434: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5 1434 if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then 1435 rtems_av_save_dir=`pwd`; 1436 cd $srcdir; 1437 rtems_av_tmp=`find c/src/lib/libcpu/$target_cpu -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1438 makefiles="$makefiles $rtems_av_tmp"; 1439 cd $rtems_av_save_dir; 1440 echo "$ac_t""done" 1>&6 1441 else 1442 echo "$ac_t""no" 1>&6 1443 fi 1444 1445 1446 1447 if test "$skip_startfiles" != "yes"; then 1448 1449 echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 1450 echo "configure:1451: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5 1451 if test -d $srcdir/c/src/lib/start/$target_cpu; then 1452 rtems_av_save_dir=`pwd`; 1453 cd $srcdir; 1454 rtems_av_tmp=`find c/src/lib/start/$target_cpu -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1455 makefiles="$makefiles $rtems_av_tmp"; 1456 cd $rtems_av_save_dir; 1457 echo "$ac_t""done" 1>&6 1458 else 1459 echo "$ac_t""no" 1>&6 1460 fi 1461 1462 1463 fi 2158 1464 2159 1465 … … 2173 1479 fi 2174 1480 2175 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&62176 echo "configure:2177: checking whether ln -s works" >&52177 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then2178 echo $ac_n "(cached) $ac_c" 1>&62179 else2180 rm -f conftestdata2181 if ln -s X conftestdata 2>/dev/null2182 then2183 rm -f conftestdata2184 ac_cv_prog_LN_S="ln -s"2185 else2186 ac_cv_prog_LN_S=ln2187 fi2188 fi2189 LN_S="$ac_cv_prog_LN_S"2190 if test "$ac_cv_prog_LN_S" = "ln -s"; then2191 echo "$ac_t""yes" 1>&62192 else2193 echo "$ac_t""no" 1>&62194 fi2195 2196 1481 2197 1482 RTEMS_BSP=$rtems_bsp … … 2201 1486 2202 1487 # For now always generate the KA9Q TCP/IP Makefiles 2203 makefiles="$makefiles $ka9q_mk $rtemscpp_mk" 2204 1488 makefiles="$makefiles c/src/lib/libka9q/Makefile" 1489 1490 # For now always generate the C++ Makefiles 1491 makefiles="$makefiles c/src/lib/librtems++/Makefile" 1492 1493 # If the tests are enabled, then find all the test suite Makefiles 1494 echo $ac_n "checking Are the test suites enabled? ""... $ac_c" 1>&6 1495 echo "configure:1496: checking Are the test suites enabled? " >&5 2205 1496 # Check whether --enable-tests or --disable-tests was given. 2206 1497 if test "${enable_tests+set}" = set; then 2207 1498 enableval="$enable_tests" 2208 1499 \ 2209 tests_mk= 2210 else 2211 makefiles="${makefiles} ${tests_mk}" 2212 fi 2213 2214 1500 { echo "configure: error: no" 1>&2; exit 1; } 1501 else 1502 \ 1503 echo "$ac_t""yes" 1>&6 \ 1504 1505 echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6 1506 echo "configure:1507: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5 1507 if test -d $srcdir/c/src/tests/tools/$target_cpu; then 1508 rtems_av_save_dir=`pwd`; 1509 cd $srcdir; 1510 rtems_av_tmp=`find c/src/tests/tools/$target_cpu -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1511 makefiles="$makefiles $rtems_av_tmp"; 1512 cd $rtems_av_save_dir; 1513 echo "$ac_t""done" 1>&6 1514 else 1515 echo "$ac_t""no" 1>&6 1516 fi 1517 1518 \ 1519 1520 echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6 1521 echo "configure:1522: checking for Makefile.in in c/src/tests/libtests" >&5 1522 if test -d $srcdir/c/src/tests/libtests; then 1523 rtems_av_save_dir=`pwd`; 1524 cd $srcdir; 1525 rtems_av_tmp=`find c/src/tests/libtests -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1526 makefiles="$makefiles $rtems_av_tmp"; 1527 cd $rtems_av_save_dir; 1528 echo "$ac_t""done" 1>&6 1529 else 1530 echo "$ac_t""no" 1>&6 1531 fi 1532 1533 \ 1534 1535 echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6 1536 echo "configure:1537: checking for Makefile.in in c/src/tests/sptests" >&5 1537 if test -d $srcdir/c/src/tests/sptests; then 1538 rtems_av_save_dir=`pwd`; 1539 cd $srcdir; 1540 rtems_av_tmp=`find c/src/tests/sptests -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1541 makefiles="$makefiles $rtems_av_tmp"; 1542 cd $rtems_av_save_dir; 1543 echo "$ac_t""done" 1>&6 1544 else 1545 echo "$ac_t""no" 1>&6 1546 fi 1547 1548 \ 1549 1550 echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6 1551 echo "configure:1552: checking for Makefile.in in c/src/tests/tmtests" >&5 1552 if test -d $srcdir/c/src/tests/tmtests; then 1553 rtems_av_save_dir=`pwd`; 1554 cd $srcdir; 1555 rtems_av_tmp=`find c/src/tests/tmtests -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1556 makefiles="$makefiles $rtems_av_tmp"; 1557 cd $rtems_av_save_dir; 1558 echo "$ac_t""done" 1>&6 1559 else 1560 echo "$ac_t""no" 1>&6 1561 fi 1562 1563 \ 1564 1565 echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6 1566 echo "configure:1567: checking for Makefile.in in c/src/tests/mptests" >&5 1567 if test -d $srcdir/c/src/tests/mptests; then 1568 rtems_av_save_dir=`pwd`; 1569 cd $srcdir; 1570 rtems_av_tmp=`find c/src/tests/mptests -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1571 makefiles="$makefiles $rtems_av_tmp"; 1572 cd $rtems_av_save_dir; 1573 echo "$ac_t""done" 1>&6 1574 else 1575 echo "$ac_t""no" 1>&6 1576 fi 1577 1578 \ 1579 1580 echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6 1581 echo "configure:1582: checking for Makefile.in in c/src/tests/psxtests" >&5 1582 if test -d $srcdir/c/src/tests/psxtests; then 1583 rtems_av_save_dir=`pwd`; 1584 cd $srcdir; 1585 rtems_av_tmp=`find c/src/tests/psxtests -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1586 makefiles="$makefiles $rtems_av_tmp"; 1587 cd $rtems_av_save_dir; 1588 echo "$ac_t""done" 1>&6 1589 else 1590 echo "$ac_t""no" 1>&6 1591 fi 1592 1593 \ 1594 1595 fi 1596 1597 1598 # If the HWAPI is enabled, the find the HWAPI Makefiles 1599 echo $ac_n "checking Is the HWAPI enabled? ""... $ac_c" 1>&6 1600 echo "configure:1601: checking Is the HWAPI enabled? " >&5 2215 1601 # Check whether --enable-hwapi or --disable-hwapi was given. 2216 1602 if test "${enable_hwapi+set}" = set; then 2217 1603 enableval="$enable_hwapi" 2218 1604 \ 2219 makefiles="${makefiles} ${hwapi_mk}" 2220 else 2221 hwapi_mk= 1605 echo "$ac_t""yes" 1>&6 \ 1606 1607 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi""... $ac_c" 1>&6 1608 echo "configure:1609: checking for Makefile.in in c/src/lib/libhwapi" >&5 1609 if test -d $srcdir/c/src/lib/libhwapi; then 1610 rtems_av_save_dir=`pwd`; 1611 cd $srcdir; 1612 rtems_av_tmp=`find c/src/lib/libhwapi -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1613 makefiles="$makefiles $rtems_av_tmp"; 1614 cd $rtems_av_save_dir; 1615 echo "$ac_t""done" 1>&6 1616 else 1617 echo "$ac_t""no" 1>&6 1618 fi 1619 1620 1621 else 1622 \ 1623 { echo "configure: error: no" 1>&2; exit 1; } \ 1624 2222 1625 fi 2223 1626 … … 2227 1630 enableval="$enable_rtemsbsp" 2228 1631 \ 2229 RTEMS_BSP=$enableval 2230 fi 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 1632 RTEMS_BSP=$enableval \ 1633 1634 fi 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 # pick up all the Makefiles in required parts of the tree 1652 1653 echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6 1654 echo "configure:1655: checking for Makefile.in in c/build-tools" >&5 1655 if test -d $srcdir/c/build-tools; then 1656 rtems_av_save_dir=`pwd`; 1657 cd $srcdir; 1658 rtems_av_tmp=`find c/build-tools -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1659 makefiles="$makefiles $rtems_av_tmp"; 1660 cd $rtems_av_save_dir; 1661 echo "$ac_t""done" 1>&6 1662 else 1663 echo "$ac_t""no" 1>&6 1664 fi 1665 1666 1667 1668 echo $ac_n "checking for Makefile.in in c/make""... $ac_c" 1>&6 1669 echo "configure:1670: checking for Makefile.in in c/make" >&5 1670 if test -d $srcdir/c/make; then 1671 rtems_av_save_dir=`pwd`; 1672 cd $srcdir; 1673 rtems_av_tmp=`find c/make -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1674 makefiles="$makefiles $rtems_av_tmp"; 1675 cd $rtems_av_save_dir; 1676 echo "$ac_t""done" 1>&6 1677 else 1678 echo "$ac_t""no" 1>&6 1679 fi 1680 1681 1682 1683 echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6 1684 echo "configure:1685: checking for Makefile.in in c/src/lib/libmisc" >&5 1685 if test -d $srcdir/c/src/lib/libmisc; then 1686 rtems_av_save_dir=`pwd`; 1687 cd $srcdir; 1688 rtems_av_tmp=`find c/src/lib/libmisc -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1689 makefiles="$makefiles $rtems_av_tmp"; 1690 cd $rtems_av_save_dir; 1691 echo "$ac_t""done" 1>&6 1692 else 1693 echo "$ac_t""no" 1>&6 1694 fi 1695 1696 1697 1698 echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6 1699 echo "configure:1700: checking for Makefile.in in c/src/tests/samples" >&5 1700 if test -d $srcdir/c/src/tests/samples; then 1701 rtems_av_save_dir=`pwd`; 1702 cd $srcdir; 1703 rtems_av_tmp=`find c/src/tests/samples -name Makefile.in -follow -print | sed 's%\.in%%' | sort`; 1704 makefiles="$makefiles $rtems_av_tmp"; 1705 cd $rtems_av_save_dir; 1706 echo "$ac_t""done" 1>&6 1707 else 1708 echo "$ac_t""no" 1>&6 1709 fi 1710 1711 1712 1713 # try not to explicitly list a Makefile here 2248 1714 trap '' 1 2 15 2249 1715 cat > confcache <<\EOF … … 2360 1826 trap 'rm -fr `echo "Makefile 2361 1827 c/Makefile 2362 c/build-tools/Makefile2363 c/build-tools/os/Makefile2364 c/build-tools/os/msdos/Makefile2365 c/build-tools/scripts/Makefile2366 c/build-tools/src/Makefile2367 c/make/Makefile2368 c/make/host.cfg2369 c/make/Templates/Makefile.inc2370 1828 c/src/Makefile 2371 1829 c/src/exec/Makefile 2372 c/src/exec/posix/Makefile2373 c/src/exec/posix/base/Makefile2374 c/src/exec/posix/headers/Makefile2375 c/src/exec/posix/inline/Makefile2376 c/src/exec/posix/macros/Makefile2377 c/src/exec/posix/optman/Makefile2378 c/src/exec/posix/src/Makefile2379 c/src/exec/posix/sys/Makefile2380 c/src/exec/rtems/Makefile2381 c/src/exec/rtems/headers/Makefile2382 c/src/exec/rtems/inline/Makefile2383 c/src/exec/rtems/macros/Makefile2384 c/src/exec/rtems/optman/Makefile2385 c/src/exec/rtems/src/Makefile2386 c/src/exec/sapi/Makefile2387 c/src/exec/sapi/headers/Makefile2388 c/src/exec/sapi/inline/Makefile2389 c/src/exec/sapi/macros/Makefile2390 c/src/exec/sapi/optman/Makefile2391 c/src/exec/sapi/src/Makefile2392 1830 c/src/exec/score/Makefile 2393 1831 c/src/exec/score/cpu/Makefile 2394 1832 c/src/exec/score/headers/Makefile 2395 1833 c/src/exec/score/inline/Makefile 2396 c/src/exec/score/macros/Makefile2397 1834 c/src/exec/score/src/Makefile 2398 1835 c/src/exec/score/tools/Makefile 2399 1836 c/src/exec/score/tools/generic/Makefile 2400 c/src/exec/wrapup/Makefile2401 c/src/exec/wrapup/posix/Makefile2402 c/src/exec/wrapup/rtems/Makefile2403 1837 c/src/lib/Makefile 2404 1838 c/src/lib/include/Makefile … … 2407 1841 c/src/lib/libc/Makefile 2408 1842 c/src/lib/libcpu/Makefile 2409 c/src/lib/libmisc/Makefile2410 c/src/lib/libmisc/assoc/Makefile2411 c/src/lib/libmisc/cpuuse/Makefile2412 c/src/lib/libmisc/error/Makefile2413 c/src/lib/libmisc/monitor/Makefile2414 c/src/lib/libmisc/rtmonuse/Makefile2415 c/src/lib/libmisc/stackchk/Makefile2416 c/src/lib/libmisc/wrapup/Makefile2417 1843 c/src/lib/start/Makefile 2418 1844 c/src/lib/wrapup/Makefile 2419 1845 c/src/tests/Makefile 2420 c/src/tests/samples/Makefile2421 c/src/tests/samples/base_mp/Makefile2422 c/src/tests/samples/base_mp/node1/Makefile2423 c/src/tests/samples/base_mp/node2/Makefile2424 c/src/tests/samples/base_sp/Makefile2425 c/src/tests/samples/cdtest/Makefile2426 c/src/tests/samples/hello/Makefile2427 c/src/tests/samples/paranoia/Makefile2428 c/src/tests/samples/ticker/Makefile2429 1846 c/src/tests/support/Makefile 2430 1847 c/src/tests/support/include/Makefile … … 2433 1850 c/src/tests/tools/Makefile 2434 1851 c/src/tests/tools/generic/Makefile 2435 c/src/tests/tools/hppa1_1/Makefile2436 c/src/tests/tools/hppa1_1/simhppa/Makefile2437 c/src/tests/tools/sparc/Makefile2438 c/src/tests/tools/sparc/erc32/Makefile2439 c/src/tests/tools/unix/Makefile2440 c/src/tests/tools/unix/posix/Makefile2441 1852 $makefiles 1853 c/make/host.cfg 1854 c/make/Templates/Makefile.inc 2442 1855 c/update-tools/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 2443 1856 EOF … … 2491 1904 s%@MV@%$MV%g 2492 1905 s%@LN@%$LN%g 1906 s%@LN_S@%$LN_S%g 2493 1907 s%@CHMOD@%$CHMOD%g 2494 1908 s%@SORT@%$SORT%g 2495 1909 s%@MKDIR@%$MKDIR%g 2496 s%@PR@%$PR%g2497 s%@PRINT@%$PRINT%g2498 1910 s%@TOUCH@%$TOUCH%g 2499 1911 s%@CMP@%$CMP%g 2500 s%@DIRNAME@%$DIRNAME%g2501 s%@BASENAME@%$BASENAME%g2502 s%@UNIFDEF@%$UNIFDEF%g2503 s%@ED@%$ED%g2504 1912 s%@SED@%$SED%g 2505 s%@AWK@%$AWK%g2506 1913 s%@M4@%$M4%g 2507 s%@FGREP@%$FGREP%g2508 s%@GREP@%$GREP%g2509 s%@EGREP@%$EGREP%g2510 s%@CATMAN@%$CATMAN%g2511 1914 s%@KSH@%$KSH%g 2512 s%@RCS_IDENT@%$RCS_IDENT%g2513 s%@RCS_CO@%$RCS_CO%g2514 s%@LN_S@%$LN_S%g2515 1915 s%@RTEMS_BSP@%$RTEMS_BSP%g 2516 1916 s%@RTEMS_HOST@%$RTEMS_HOST%g … … 2568 1968 CONFIG_FILES=\${CONFIG_FILES-"Makefile 2569 1969 c/Makefile 2570 c/build-tools/Makefile2571 c/build-tools/os/Makefile2572 c/build-tools/os/msdos/Makefile2573 c/build-tools/scripts/Makefile2574 c/build-tools/src/Makefile2575 c/make/Makefile2576 c/make/host.cfg2577 c/make/Templates/Makefile.inc2578 1970 c/src/Makefile 2579 1971 c/src/exec/Makefile 2580 c/src/exec/posix/Makefile2581 c/src/exec/posix/base/Makefile2582 c/src/exec/posix/headers/Makefile2583 c/src/exec/posix/inline/Makefile2584 c/src/exec/posix/macros/Makefile2585 c/src/exec/posix/optman/Makefile2586 c/src/exec/posix/src/Makefile2587 c/src/exec/posix/sys/Makefile2588 c/src/exec/rtems/Makefile2589 c/src/exec/rtems/headers/Makefile2590 c/src/exec/rtems/inline/Makefile2591 c/src/exec/rtems/macros/Makefile2592 c/src/exec/rtems/optman/Makefile2593 c/src/exec/rtems/src/Makefile2594 c/src/exec/sapi/Makefile2595 c/src/exec/sapi/headers/Makefile2596 c/src/exec/sapi/inline/Makefile2597 c/src/exec/sapi/macros/Makefile2598 c/src/exec/sapi/optman/Makefile2599 c/src/exec/sapi/src/Makefile2600 1972 c/src/exec/score/Makefile 2601 1973 c/src/exec/score/cpu/Makefile 2602 1974 c/src/exec/score/headers/Makefile 2603 1975 c/src/exec/score/inline/Makefile 2604 c/src/exec/score/macros/Makefile2605 1976 c/src/exec/score/src/Makefile 2606 1977 c/src/exec/score/tools/Makefile 2607 1978 c/src/exec/score/tools/generic/Makefile 2608 c/src/exec/wrapup/Makefile2609 c/src/exec/wrapup/posix/Makefile2610 c/src/exec/wrapup/rtems/Makefile2611 1979 c/src/lib/Makefile 2612 1980 c/src/lib/include/Makefile … … 2615 1983 c/src/lib/libc/Makefile 2616 1984 c/src/lib/libcpu/Makefile 2617 c/src/lib/libmisc/Makefile2618 c/src/lib/libmisc/assoc/Makefile2619 c/src/lib/libmisc/cpuuse/Makefile2620 c/src/lib/libmisc/error/Makefile2621 c/src/lib/libmisc/monitor/Makefile2622 c/src/lib/libmisc/rtmonuse/Makefile2623 c/src/lib/libmisc/stackchk/Makefile2624 c/src/lib/libmisc/wrapup/Makefile2625 1985 c/src/lib/start/Makefile 2626 1986 c/src/lib/wrapup/Makefile 2627 1987 c/src/tests/Makefile 2628 c/src/tests/samples/Makefile2629 c/src/tests/samples/base_mp/Makefile2630 c/src/tests/samples/base_mp/node1/Makefile2631 c/src/tests/samples/base_mp/node2/Makefile2632 c/src/tests/samples/base_sp/Makefile2633 c/src/tests/samples/cdtest/Makefile2634 c/src/tests/samples/hello/Makefile2635 c/src/tests/samples/paranoia/Makefile2636 c/src/tests/samples/ticker/Makefile2637 1988 c/src/tests/support/Makefile 2638 1989 c/src/tests/support/include/Makefile … … 2641 1992 c/src/tests/tools/Makefile 2642 1993 c/src/tests/tools/generic/Makefile 2643 c/src/tests/tools/hppa1_1/Makefile2644 c/src/tests/tools/hppa1_1/simhppa/Makefile2645 c/src/tests/tools/sparc/Makefile2646 c/src/tests/tools/sparc/erc32/Makefile2647 c/src/tests/tools/unix/Makefile2648 c/src/tests/tools/unix/posix/Makefile2649 1994 $makefiles 1995 c/make/host.cfg 1996 c/make/Templates/Makefile.inc 2650 1997 c/update-tools/Makefile"} 2651 1998 EOF -
configure.in
rbbb2816 r37717818 2 2 AC_PREREQ(2.12) 3 3 AC_INIT(README) 4 5 i386_mk="c/src/exec/score/cpu/i386/Makefile \6 c/src/lib/libbsp/i386/Makefile \7 c/src/lib/libbsp/i386/force386/Makefile \8 c/src/lib/libbsp/i386/force386/clock/Makefile \9 c/src/lib/libbsp/i386/force386/console/Makefile \10 c/src/lib/libbsp/i386/force386/include/Makefile \11 c/src/lib/libbsp/i386/force386/shmsupp/Makefile \12 c/src/lib/libbsp/i386/force386/startup/Makefile \13 c/src/lib/libbsp/i386/force386/timer/Makefile \14 c/src/lib/libbsp/i386/force386/wrapup/Makefile \15 c/src/lib/libbsp/i386/i386ex/Makefile \16 c/src/lib/libbsp/i386/i386ex/clock/Makefile \17 c/src/lib/libbsp/i386/i386ex/console/Makefile \18 c/src/lib/libbsp/i386/i386ex/include/Makefile \19 c/src/lib/libbsp/i386/i386ex/startup/Makefile \20 c/src/lib/libbsp/i386/i386ex/timer/Makefile \21 c/src/lib/libbsp/i386/i386ex/wrapup/Makefile \22 c/src/lib/start/i386/Makefile"23 24 i386_go32_mk="c/src/exec/score/cpu/i386/Makefile \25 c/src/lib/libbsp/i386/Makefile \26 c/src/lib/libbsp/i386/go32/Makefile \27 c/src/lib/libbsp/i386/go32/clock/Makefile \28 c/src/lib/libbsp/i386/go32/console/Makefile \29 c/src/lib/libbsp/i386/go32/include/Makefile \30 c/src/lib/libbsp/i386/go32/startup/Makefile \31 c/src/lib/libbsp/i386/go32/timer/Makefile \32 c/src/lib/libbsp/i386/go32/wrapup/Makefile"33 34 ka9q_mk="c/src/lib/libka9q/Makefile"35 36 rtemscpp_mk="c/src/lib/librtems++/Makefile"37 38 hwapi_mk="\39 c/src/lib/libhwapi/Makefile \40 c/src/lib/libhwapi/eeprom/Makefile \41 c/src/lib/libhwapi/eeprom/wrapup/Makefile \42 c/src/lib/libhwapi/eeprom/eeprom/Makefile \43 c/src/lib/libhwapi/drivers/Makefile \44 c/src/lib/libhwapi/drivers/vmebus/Makefile \45 c/src/lib/libhwapi/drivers/vmebus/dmv202/Makefile \46 c/src/lib/libhwapi/drivers/vmebus/dmv536/Makefile \47 c/src/lib/libhwapi/drivers/vmebus/dmv666/Makefile \48 c/src/lib/libhwapi/drivers/vmebus/wrapup/Makefile \49 c/src/lib/libhwapi/serial/Makefile \50 c/src/lib/libhwapi/serial/default/Makefile \51 c/src/lib/libhwapi/serial/stream/Makefile \52 c/src/lib/libhwapi/serial/template/Makefile \53 c/src/lib/libhwapi/serial/wrapup/Makefile \54 c/src/lib/libhwapi/serial/channel/Makefile \55 c/src/lib/libhwapi/discrete/Makefile \56 c/src/lib/libhwapi/discrete/tools/Makefile \57 c/src/lib/libhwapi/discrete/relay/Makefile \58 c/src/lib/libhwapi/discrete/wrapup/Makefile \59 c/src/lib/libhwapi/discrete/greycode/Makefile \60 c/src/lib/libhwapi/discrete/discrete_in/Makefile \61 c/src/lib/libhwapi/discrete/discrete_out/Makefile \62 c/src/lib/libhwapi/discrete/discrete_input/Makefile \63 c/src/lib/libhwapi/discrete/discrete_output/Makefile \64 c/src/lib/libhwapi/discrete/discrete_flag/Makefile \65 c/src/lib/libhwapi/discrete/discrete_bitfield/Makefile \66 c/src/lib/libhwapi/analog/Makefile \67 c/src/lib/libhwapi/analog/dac/Makefile \68 c/src/lib/libhwapi/analog/wrapup/Makefile \69 c/src/lib/libhwapi/analog/linear_dac/Makefile \70 c/src/lib/libhwapi/analog/linear_adc/Makefile \71 c/src/lib/libhwapi/analog/adc/Makefile \72 c/src/lib/libhwapi/wrapup/Makefile \73 c/src/lib/libhwapi/support/Makefile \74 c/src/lib/libhwapi/support/chain/Makefile \75 c/src/lib/libhwapi/support/checksum/Makefile \76 c/src/lib/libhwapi/support/wrapup/Makefile \77 c/src/lib/libhwapi/support/dumpbuf/Makefile"78 79 tests_mk="c/src/tests/libtests/Makefile \80 c/src/tests/libtests/cpuuse/Makefile \81 c/src/tests/libtests/malloctest/Makefile \82 c/src/tests/libtests/monitor/Makefile \83 c/src/tests/libtests/rtmonuse/Makefile \84 c/src/tests/libtests/stackchk/Makefile \85 c/src/tests/libtests/termios/Makefile \86 c/src/tests/libtests/rtems++/Makefile \87 c/src/tests/mptests/Makefile \88 c/src/tests/mptests/mp01/Makefile \89 c/src/tests/mptests/mp01/node1/Makefile \90 c/src/tests/mptests/mp01/node2/Makefile \91 c/src/tests/mptests/mp02/Makefile \92 c/src/tests/mptests/mp02/node1/Makefile \93 c/src/tests/mptests/mp02/node2/Makefile \94 c/src/tests/mptests/mp03/Makefile \95 c/src/tests/mptests/mp03/node1/Makefile \96 c/src/tests/mptests/mp03/node2/Makefile \97 c/src/tests/mptests/mp04/Makefile \98 c/src/tests/mptests/mp04/node1/Makefile \99 c/src/tests/mptests/mp04/node2/Makefile \100 c/src/tests/mptests/mp05/Makefile \101 c/src/tests/mptests/mp05/node1/Makefile \102 c/src/tests/mptests/mp05/node2/Makefile \103 c/src/tests/mptests/mp06/Makefile \104 c/src/tests/mptests/mp06/node1/Makefile \105 c/src/tests/mptests/mp06/node2/Makefile \106 c/src/tests/mptests/mp07/Makefile \107 c/src/tests/mptests/mp07/node1/Makefile \108 c/src/tests/mptests/mp07/node2/Makefile \109 c/src/tests/mptests/mp08/Makefile \110 c/src/tests/mptests/mp08/node1/Makefile \111 c/src/tests/mptests/mp08/node2/Makefile \112 c/src/tests/mptests/mp09/Makefile \113 c/src/tests/mptests/mp09/node1/Makefile \114 c/src/tests/mptests/mp09/node2/Makefile \115 c/src/tests/mptests/mp10/Makefile \116 c/src/tests/mptests/mp10/node1/Makefile \117 c/src/tests/mptests/mp10/node2/Makefile \118 c/src/tests/mptests/mp11/Makefile \119 c/src/tests/mptests/mp11/node1/Makefile \120 c/src/tests/mptests/mp11/node2/Makefile \121 c/src/tests/mptests/mp12/Makefile \122 c/src/tests/mptests/mp12/node1/Makefile \123 c/src/tests/mptests/mp12/node2/Makefile \124 c/src/tests/mptests/mp13/Makefile \125 c/src/tests/mptests/mp13/node1/Makefile \126 c/src/tests/mptests/mp13/node2/Makefile \127 c/src/tests/mptests/mp14/Makefile \128 c/src/tests/mptests/mp14/node1/Makefile \129 c/src/tests/mptests/mp14/node2/Makefile \130 c/src/tests/psxtests/Makefile \131 c/src/tests/psxtests/psx01/Makefile \132 c/src/tests/psxtests/psx02/Makefile \133 c/src/tests/psxtests/psx03/Makefile \134 c/src/tests/psxtests/psx04/Makefile \135 c/src/tests/psxtests/psx05/Makefile \136 c/src/tests/psxtests/psx06/Makefile \137 c/src/tests/psxtests/psx07/Makefile \138 c/src/tests/psxtests/psx08/Makefile \139 c/src/tests/psxtests/psx09/Makefile \140 c/src/tests/psxtests/psx10/Makefile \141 c/src/tests/psxtests/psx11/Makefile \142 c/src/tests/psxtests/psx12/Makefile \143 c/src/tests/psxtests/psxhdrs/Makefile \144 c/src/tests/psxtests/support/Makefile \145 c/src/tests/psxtests/support/include/Makefile \146 c/src/tests/sptests/Makefile \147 c/src/tests/sptests/sp01/Makefile \148 c/src/tests/sptests/sp02/Makefile \149 c/src/tests/sptests/sp03/Makefile \150 c/src/tests/sptests/sp04/Makefile \151 c/src/tests/sptests/sp05/Makefile \152 c/src/tests/sptests/sp06/Makefile \153 c/src/tests/sptests/sp07/Makefile \154 c/src/tests/sptests/sp08/Makefile \155 c/src/tests/sptests/sp09/Makefile \156 c/src/tests/sptests/sp11/Makefile \157 c/src/tests/sptests/sp12/Makefile \158 c/src/tests/sptests/sp13/Makefile \159 c/src/tests/sptests/sp14/Makefile \160 c/src/tests/sptests/sp15/Makefile \161 c/src/tests/sptests/sp16/Makefile \162 c/src/tests/sptests/sp17/Makefile \163 c/src/tests/sptests/sp19/Makefile \164 c/src/tests/sptests/sp20/Makefile \165 c/src/tests/sptests/sp21/Makefile \166 c/src/tests/sptests/sp22/Makefile \167 c/src/tests/sptests/sp23/Makefile \168 c/src/tests/sptests/sp24/Makefile \169 c/src/tests/sptests/sp25/Makefile \170 c/src/tests/sptests/spfatal/Makefile \171 c/src/tests/sptests/spsize/Makefile \172 c/src/tests/tmtests/Makefile \173 c/src/tests/tmtests/include/Makefile \174 c/src/tests/tmtests/tm01/Makefile \175 c/src/tests/tmtests/tm02/Makefile \176 c/src/tests/tmtests/tm03/Makefile \177 c/src/tests/tmtests/tm04/Makefile \178 c/src/tests/tmtests/tm05/Makefile \179 c/src/tests/tmtests/tm06/Makefile \180 c/src/tests/tmtests/tm07/Makefile \181 c/src/tests/tmtests/tm08/Makefile \182 c/src/tests/tmtests/tm09/Makefile \183 c/src/tests/tmtests/tm10/Makefile \184 c/src/tests/tmtests/tm11/Makefile \185 c/src/tests/tmtests/tm12/Makefile \186 c/src/tests/tmtests/tm13/Makefile \187 c/src/tests/tmtests/tm14/Makefile \188 c/src/tests/tmtests/tm15/Makefile \189 c/src/tests/tmtests/tm16/Makefile \190 c/src/tests/tmtests/tm17/Makefile \191 c/src/tests/tmtests/tm18/Makefile \192 c/src/tests/tmtests/tm19/Makefile \193 c/src/tests/tmtests/tm20/Makefile \194 c/src/tests/tmtests/tm21/Makefile \195 c/src/tests/tmtests/tm22/Makefile \196 c/src/tests/tmtests/tm23/Makefile \197 c/src/tests/tmtests/tm24/Makefile \198 c/src/tests/tmtests/tm25/Makefile \199 c/src/tests/tmtests/tm26/Makefile \200 c/src/tests/tmtests/tm27/Makefile \201 c/src/tests/tmtests/tm28/Makefile \202 c/src/tests/tmtests/tm29/Makefile \203 c/src/tests/tmtests/tmck/Makefile \204 c/src/tests/tmtests/tmoverhd/Makefile"205 4 206 5 dnl Checks for programs. … … 243 42 244 43 AC_ARG_ENABLE(cpp, \ 245 [ --enable-cpp 44 [ --enable-cpp enable C++ support, and build the rtems++ library], \ 246 45 [case "${enableval}" in 247 46 yes) RTEMS_HAS_CPLUSPLUS=yes ;; 248 no) RTEMS_HAS_CPLUSPLUS=no ;;47 no) RTEMS_HAS_CPLUSPLUS=no ;; 249 48 *) AC_MSG_ERROR(bad value ${enableval} for enable-cpp option) ;; 250 esac], [RTEMS_HAS_CPLUSPLUS=no])49 esac], [RTEMS_HAS_CPLUSPLUS=no]) 251 50 252 51 AC_ARG_ENABLE(gcc28, \ … … 268 67 269 68 AC_PATH_PROG(CAT,cat) 270 dnl FIXME: check if rm accepts -f271 dnl NOTE : Check for rm -f seems not to be necessary since autoconf272 dnl itself depends on it273 69 AC_PATH_PROG(RM,rm) 274 70 AC_PATH_PROG(CP,cp) 275 71 AC_PATH_PROG(MV,mv) 276 72 AC_PATH_PROG(LN,ln) 73 AC_PROG_LN_S 277 74 AC_PATH_PROG(CHMOD,chmod) 278 75 AC_PATH_PROG(SORT,sort) … … 285 82 test "$rtems_cv_prog_MKDIR_M" = "yes" && MKDIR="$MKDIR -m 0755" 286 83 287 dnl determine which program to use to format ps-docs to 2 pages per sheet288 dnl try enscript289 AC_PATH_PROG(PR,enscript)290 test -n "$PR" && PR="$PR -G2r"291 292 if test -z "$PR"; then293 dnl try /usr/openwin/mp294 dnl NOTE: Cannot test for mp in $PATH295 dnl because there exists a program named mp for TeX296 dnl which isn't what we want297 AC_PATH_PROG(PR,mp,,/usr/openwin)298 test -n "$PR" && PR="$PR -l"299 fi300 301 if test -z "$PR"; then302 dnl fallback to pr303 AC_PATH_PROG(PR,pr)304 fi305 306 if test -z "$PR"; then307 AC_MSG_WARN(308 [***]309 [ Cannot determine a suitable program for]310 [ printing asci files on ps-printers]311 [ Expect errors when printing files] )312 fi313 314 dnl Prefer lp over lpr for SYSV systems315 dnl NOTE: Dangerous for SYSV systems using BSD printing316 AC_PATH_PROGS(PRINT,lp lpr)317 318 84 AC_PATH_PROG(TOUCH,touch) 319 85 AC_PATH_PROG(CMP,cmp) 320 AC_PATH_PROG(DIRNAME,dirname) 321 AC_PATH_PROG(BASENAME,basename) 322 323 dnl NOTE: Does anybody but SUN have unifdef? 324 dnl should probably be avoided at all 325 AC_PATH_PROG(UNIFDEF,unifdef) 326 AC_PATH_PROG(ED,ed) 86 327 87 AC_PATH_PROG(SED,sed) 328 AC_PATH_PROGS(AWK,mawk gawk nawk awk)329 88 AC_PATH_PROGS(M4,gm4 m4) 330 331 AC_PATH_PROG(FGREP,fgrep)332 AC_PATH_PROG(GREP,grep)333 AC_PATH_PROG(EGREP,egrep)334 335 dnl catman might not be in $PATH336 AC_PATH_PROG(CATMAN,catman,,$PATH:/usr/etc:/etc)337 89 338 90 dnl NOTE: prefer bash over ksh over sh … … 347 99 fi 348 100 349 dnl check for RCS350 AC_PATH_PROG(RCS_IDENT,ident)351 AC_PATH_PROG(RCS_CO,co)352 353 dnl check for libraries354 dnl this does't work, uses host-linker instead of target-linker355 dnl Skip for now, since I (RC) don't believe it is used at all356 dnl libm357 dnl AC_CHECK_LIB(m,cos,358 dnl LIB_MATH="-lm")359 dnl AC_SUBST(LIB_MATH)360 361 101 dnl END configure.host.in 362 102 363 103 dnl BEGIN configure.target.in 364 104 365 echo "TARGET"366 echo "cpu$target_cpu"367 echo "os$target_os"368 echo "vendor$target_vendor"105 dnl echo "TARGET" 106 dnl echo " cpu --> $target_cpu" 107 dnl echo " os --> $target_os" 108 dnl echo " vendor --> $target_vendor" 369 109 370 110 dnl canonicalize target name … … 373 113 dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them 374 114 dnl and we have to fix it for rtems ourselves 115 dnl 116 dnl The original plan was to do CPU-BSP-rtems or CPU-rtems to 117 dnl imply all BSPs. Eventually we would like to build a collection 118 dnl of CPU model specific RTEMS libraries which in conjunction with 119 dnl a BSP library would be used to link an application. 375 120 376 121 case "${target}" in … … 382 127 target_cpu=i386 383 128 rtems_bsp="go32 go32_p5" 384 aux_makefiles=$i386_go32_mk129 skip_startfiles="yes" 385 130 RTEMS_HAS_POSIX_API=no 386 131 ;; 387 132 i[[3456]]86-rtems*) 388 133 target_cpu=i386 389 rtems_bsp="force386 i386ex"390 aux_makefiles=$i386_mk391 134 ;; 392 135 i[[3456]]86-pc-linux*) # unix "simulator" port … … 410 153 esac 411 154 155 # Is this a supported CPU? 412 156 AC_MSG_CHECKING([if cpu $target_cpu is supported]) 413 157 if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then 414 158 AC_MSG_RESULT(yes) 415 makefiles=" c/src/exec/score/cpu/$target_cpu/Makefile"159 makefiles="$makefiles c/src/exec/score/cpu/$target_cpu/Makefile" 416 160 else 417 161 AC_MSG_ERROR(no) 418 162 fi 419 163 420 RTEMS_CHECK_MAKEFILE(c/src/exec/score/tools/$target_cpu) 421 422 if test -n "$aux_makefiles";then 423 makefiles="$makefiles $aux_makefiles" 424 echo "MAKEFILES PRESET TO $makefiles" 425 else 426 AC_MSG_CHECKING([for c/src/lib/libbsp/$target_cpu]) 164 # find all the Executive Makefiles 165 RTEMS_CHECK_MAKEFILE(c/src/exec/rtems) 166 RTEMS_CHECK_MAKEFILE(c/src/exec/posix) 167 RTEMS_CHECK_MAKEFILE(c/src/exec/sapi) 168 RTEMS_CHECK_MAKEFILE(c/src/exec/wrapup) 169 170 # find all the Makefiles for the BSPs 427 171 if test -d "$srcdir/c/src/lib/libbsp/$target_cpu"; then 428 AC_MSG_RESULT(yes) 429 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 430 for file in $files; do 431 case $file in 432 shared*);; 433 Makefile*);; 434 READ*);; 435 *) rtems_bsp="$rtems_bsp $file";; 436 esac; 172 makefiles="$makefiles c/src/lib/libbsp/$target_cpu/Makefile" 173 174 if test -z "$rtems_bsp"; then 175 AC_MSG_CHECKING([for bsps]) 176 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 177 for file in $files; do 178 case $file in 179 shared*);; 180 Makefile*);; 181 READ*);; 182 CVS*);; 183 go32*);; # so the i386 port can pick up the other Makefiles 184 *) rtems_bsp="$rtems_bsp $file";; 185 esac; 186 done 187 AC_MSG_RESULT([$rtems_bsp]) 188 fi 189 190 # collect makefiles for each bsp 191 for i in $rtems_bsp; do 192 RTEMS_CHECK_MAKEFILE(c/src/lib/libbsp/$target_cpu/$i) 437 193 done 438 RTEMS_CHECK_MAKEFILE(c/src/lib/libbsp/$target_cpu) 439 else 440 AC_MSG_RESULT(no) 441 fi 442 194 fi 195 196 # find all the CPU dependent library Makefiles 443 197 RTEMS_CHECK_MAKEFILE(c/src/lib/libcpu/$target_cpu) 444 RTEMS_CHECK_MAKEFILE(c/src/lib/start/$target_cpu) 445 446 fi # aux_makefiles 447 448 echo "MAKEFILES $makefiles" 198 199 dnl Workaround for go32 200 if test "$skip_startfiles" != "yes"; then 201 RTEMS_CHECK_MAKEFILE(c/src/lib/start/$target_cpu) 202 fi 449 203 450 204 dnl END configure.target.in … … 466 220 fi 467 221 468 AC_PROG_LN_S469 222 dnl AC_PROG_CC 470 223 dnl AC_PROG_CXX … … 476 229 477 230 # For now always generate the KA9Q TCP/IP Makefiles 478 makefiles="$makefiles $ka9q_mk $rtemscpp_mk" 479 231 makefiles="$makefiles c/src/lib/libka9q/Makefile" 232 233 # For now always generate the C++ Makefiles 234 makefiles="$makefiles c/src/lib/librtems++/Makefile" 235 236 # If the tests are enabled, then find all the test suite Makefiles 237 AC_MSG_CHECKING([Are the test suites enabled? ]) 480 238 AC_ARG_ENABLE(tests, \ 481 239 [ --disable-tests disable tests], \ 482 tests_mk=,makefiles="${makefiles} ${tests_mk}") 483 240 AC_MSG_ERROR(no), \ 241 AC_MSG_RESULT(yes) \ 242 RTEMS_CHECK_MAKEFILE(c/src/tests/tools/$target_cpu) \ 243 RTEMS_CHECK_MAKEFILE(c/src/tests/libtests) \ 244 RTEMS_CHECK_MAKEFILE(c/src/tests/sptests) \ 245 RTEMS_CHECK_MAKEFILE(c/src/tests/tmtests) \ 246 RTEMS_CHECK_MAKEFILE(c/src/tests/mptests) \ 247 RTEMS_CHECK_MAKEFILE(c/src/tests/psxtests) \ 248 ) 249 250 # If the HWAPI is enabled, the find the HWAPI Makefiles 251 AC_MSG_CHECKING([Is the HWAPI enabled? ]) 484 252 AC_ARG_ENABLE(hwapi, \ 485 [ --enable-hwapi enable hardware API library], \ 486 makefiles="${makefiles} ${hwapi_mk}",hwapi_mk=) 253 [ --enable-hwapi enable hardware API library], \ 254 AC_MSG_RESULT(yes) \ 255 RTEMS_CHECK_MAKEFILE(c/src/lib/libhwapi), \ 256 AC_MSG_ERROR(no) \ 257 ) 487 258 488 259 AC_ARG_ENABLE(rtemsbsp, \ 489 [ --enable-rtemsbsp=bsp1 bsp2 .. prefix for cross-tools], \ 490 RTEMS_BSP=$enableval) 260 [ --enable-rtemsbsp=bsp1 bsp2 .. BSPs to include in build], \ 261 RTEMS_BSP=$enableval \ 262 ) 491 263 492 264 AC_SUBST(RTEMS_BSP) … … 504 276 AC_SUBST(program_prefix) 505 277 506 278 # pick up all the Makefiles in required parts of the tree 279 RTEMS_CHECK_MAKEFILE(c/build-tools) 280 RTEMS_CHECK_MAKEFILE(c/make) 281 RTEMS_CHECK_MAKEFILE(c/src/lib/libmisc) 282 RTEMS_CHECK_MAKEFILE(c/src/tests/samples) 283 284 # try not to explicitly list a Makefile here 507 285 AC_OUTPUT( 508 286 Makefile 509 287 c/Makefile 510 c/build-tools/Makefile511 c/build-tools/os/Makefile512 c/build-tools/os/msdos/Makefile513 c/build-tools/scripts/Makefile514 c/build-tools/src/Makefile515 c/make/Makefile516 c/make/host.cfg517 c/make/Templates/Makefile.inc518 288 c/src/Makefile 519 289 c/src/exec/Makefile 520 c/src/exec/posix/Makefile521 c/src/exec/posix/base/Makefile522 c/src/exec/posix/headers/Makefile523 c/src/exec/posix/inline/Makefile524 c/src/exec/posix/macros/Makefile525 c/src/exec/posix/optman/Makefile526 c/src/exec/posix/src/Makefile527 c/src/exec/posix/sys/Makefile528 c/src/exec/rtems/Makefile529 c/src/exec/rtems/headers/Makefile530 c/src/exec/rtems/inline/Makefile531 c/src/exec/rtems/macros/Makefile532 c/src/exec/rtems/optman/Makefile533 c/src/exec/rtems/src/Makefile534 c/src/exec/sapi/Makefile535 c/src/exec/sapi/headers/Makefile536 c/src/exec/sapi/inline/Makefile537 c/src/exec/sapi/macros/Makefile538 c/src/exec/sapi/optman/Makefile539 c/src/exec/sapi/src/Makefile540 290 c/src/exec/score/Makefile 541 291 c/src/exec/score/cpu/Makefile 542 292 c/src/exec/score/headers/Makefile 543 293 c/src/exec/score/inline/Makefile 544 c/src/exec/score/macros/Makefile545 294 c/src/exec/score/src/Makefile 546 295 c/src/exec/score/tools/Makefile 547 296 c/src/exec/score/tools/generic/Makefile 548 c/src/exec/wrapup/Makefile549 c/src/exec/wrapup/posix/Makefile550 c/src/exec/wrapup/rtems/Makefile551 297 c/src/lib/Makefile 552 298 c/src/lib/include/Makefile … … 555 301 c/src/lib/libc/Makefile 556 302 c/src/lib/libcpu/Makefile 557 c/src/lib/libmisc/Makefile558 c/src/lib/libmisc/assoc/Makefile559 c/src/lib/libmisc/cpuuse/Makefile560 c/src/lib/libmisc/error/Makefile561 c/src/lib/libmisc/monitor/Makefile562 c/src/lib/libmisc/rtmonuse/Makefile563 c/src/lib/libmisc/stackchk/Makefile564 c/src/lib/libmisc/wrapup/Makefile565 303 c/src/lib/start/Makefile 566 304 c/src/lib/wrapup/Makefile 567 305 c/src/tests/Makefile 568 c/src/tests/samples/Makefile569 c/src/tests/samples/base_mp/Makefile570 c/src/tests/samples/base_mp/node1/Makefile571 c/src/tests/samples/base_mp/node2/Makefile572 c/src/tests/samples/base_sp/Makefile573 c/src/tests/samples/cdtest/Makefile574 c/src/tests/samples/hello/Makefile575 c/src/tests/samples/paranoia/Makefile576 c/src/tests/samples/ticker/Makefile577 306 c/src/tests/support/Makefile 578 307 c/src/tests/support/include/Makefile … … 581 310 c/src/tests/tools/Makefile 582 311 c/src/tests/tools/generic/Makefile 583 c/src/tests/tools/hppa1_1/Makefile584 c/src/tests/tools/hppa1_1/simhppa/Makefile585 c/src/tests/tools/sparc/Makefile586 c/src/tests/tools/sparc/erc32/Makefile587 c/src/tests/tools/unix/Makefile588 c/src/tests/tools/unix/posix/Makefile589 312 $makefiles 313 c/make/host.cfg 314 c/make/Templates/Makefile.inc 590 315 c/update-tools/Makefile) 591 316
Note: See TracChangeset
for help on using the changeset viewer.