Changeset 37717818 in rtems


Ignore:
Timestamp:
Nov 30, 1997, 6:34:11 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1f3ec87
Parents:
bbb2816
Message:

Serious cleanup to reduce the number of explicitly listed Makefiles,
eliminated autoconf looking for commands which are unused, and reduce the
number of Makefiles generated.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Makefile.in

    rbbb2816 r37717818  
    3636SIZE_FOR_TARGET = $(program_prefix)size
    3737
    38 AWK = @AWK@
    39 
    4038RTEMS_ROOT = @RTEMS_ROOT@
    4139RTEMS_HOST = @RTEMS_HOST@
     
    6866override MAKEFLAGS=
    6967
    70 # CVS formerly was xxx -- using CVS covers up a weird feature of the aclocal
    71 #  file in that it thinks CVS directories need a Makefile generated.
    7268$(MTARGETS): make_subdir
    7369        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  \
    7672            cd $$BASEDIR; \
    7773            cmd="cd c; $(MAKE) RTEMS_BSP=$$bsp $(FLAGS_TO_PASS) \
     
    9894            \"RTEMS_USE_GCC272=$(RTEMS_USE_GCC272)\" \
    9995            \"RTEMS_LIBC_DIR=$(RTEMS_LIBC_DIR)\" \
    100             \"AWK=$(AWK)\" $@" ; \
     96            $@" ; \
    10197            eval $$cmd || $(EXIT_CMD); \
    10298        fi; done;
     
    108104make_subdir:
    109105        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 \
    111107                make/directory.cfg make/leaf.cfg make/lib.cfg make/main.cfg \
    112108                make/Templates/Makefile.dir \
  • aclocal.m4

    rbbb2816 r37717818  
    11dnl some macros for rtems host configuration checks
    22dnl
    3 dnl Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de), 97/11/09
     3dnl Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de), 97/11/29
    44dnl
    55
     
    4141])
    4242
    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
     43dnl RTEMS_CHECK_FILES_IN(path,file,var)
     44dnl path .. path relative to srcdir, where to start searching for files
     45dnl file .. name of the files to search for
     46dnl var  .. shell variable to append found files
     47AC_DEFUN(RTEMS_CHECK_FILES_IN,
     48[
     49AC_MSG_CHECKING(for $2 in $1)
     50if 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)
     57else
     58  AC_MSG_RESULT(no)
     59fi
    6360])
    6461
    6562dnl RTEMS_CHECK_MAKEFILE(path)
    66 dnl Check for Makefile.in's within the directory starting
     63dnl Search for Makefile.in's within the directory starting
    6764dnl at path and append an entry for Makefile to global variable
    6865dnl "makefiles" (from configure.in) for each Makefile.in found
    6966dnl
    70 dnl NOTE: This function should be called recursivly, but m4-macro
    71 dnl expansion doesn't allow recursive macros. Therefore this
    72 dnl macro is expanded into a nonrecursive macro, limited to
    73 dnl a descrete directory depth, that should be sufficent.
    74 dnl
    7567AC_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)
    8769])
    8870
    8971dnl canonicalize target name
    90 dnl NOTE: Most rtems targets do not fullfil autoconf 
    91 dnl targets naming conventions "processor-vendor-os"
     72dnl NOTE: Most rtems targets do not fullfil autoconf's
     73dnl target naming conventions "processor-vendor-os"
    9274dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
    9375dnl and we have to fix it for rtems ourselves
     
    9678[AC_MSG_CHECKING(rtems target cpu)
    9779changequote(<<, >>)dnl
    98 target_cpu=`echo $target | /usr/bin/sed 's%^\([^-]*\)-\(.*\)$%\1%'`
     80target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    9981changequote([, ])dnl
    10082AC_MSG_RESULT($target_cpu)
  • configure

    rbbb2816 r37717818  
    2828ac_help="$ac_help
    2929\
    30   --enable-cpp                           enable C++ support, and build the rtems++ library"
     30  --enable-cpp            enable C++ support, and build the rtems++ library"
    3131ac_help="$ac_help
    3232\
     
    4040ac_help="$ac_help
    4141\
    42   --enable-hwapi                    enable hardware API library"
     42    --enable-hwapi                  enable hardware API library"
    4343ac_help="$ac_help
    4444\
    45   --enable-rtemsbsp=bsp1 bsp2 ..   prefix for cross-tools"
     45    --enable-rtemsbsp=bsp1 bsp2 ..   BSPs to include in build"
    4646
    4747# Initialize some variables set by options.
     
    552552
    553553
    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 
    755554echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    756 echo "configure:757: checking whether ${MAKE-make} sets \${MAKE}" >&5
     555echo "configure:556: checking whether ${MAKE-make} sets \${MAKE}" >&5
    757556set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    758557if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    827626
    828627echo $ac_n "checking host system type""... $ac_c" 1>&6
    829 echo "configure:830: checking host system type" >&5
     628echo "configure:629: checking host system type" >&5
    830629
    831630host_alias=$host
     
    848647
    849648echo $ac_n "checking target system type""... $ac_c" 1>&6
    850 echo "configure:851: checking target system type" >&5
     649echo "configure:650: checking target system type" >&5
    851650
    852651target_alias=$target
     
    866665
    867666echo $ac_n "checking build system type""... $ac_c" 1>&6
    868 echo "configure:869: checking build system type" >&5
     667echo "configure:668: checking build system type" >&5
    869668
    870669build_alias=$build
     
    958757case "${enableval}" in
    959758  yes) RTEMS_HAS_CPLUSPLUS=yes ;;
    960   no) RTEMS_HAS_CPLUSPLUS=no ;;
     759  no) RTEMS_HAS_CPLUSPLUS=no   ;;
    961760  *)  { echo "configure: error: bad value ${enableval} for enable-cpp option" 1>&2; exit 1; } ;;
    962761esac
     
    995794set dummy cat; ac_word=$2
    996795echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    997 echo "configure:998: checking for $ac_word" >&5
     796echo "configure:797: checking for $ac_word" >&5
    998797if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then
    999798  echo $ac_n "(cached) $ac_c" 1>&6
     
    1026825set dummy rm; ac_word=$2
    1027826echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1028 echo "configure:1029: checking for $ac_word" >&5
     827echo "configure:828: checking for $ac_word" >&5
    1029828if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
    1030829  echo $ac_n "(cached) $ac_c" 1>&6
     
    1057856set dummy cp; ac_word=$2
    1058857echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1059 echo "configure:1060: checking for $ac_word" >&5
     858echo "configure:859: checking for $ac_word" >&5
    1060859if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
    1061860  echo $ac_n "(cached) $ac_c" 1>&6
     
    1088887set dummy mv; ac_word=$2
    1089888echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1090 echo "configure:1091: checking for $ac_word" >&5
     889echo "configure:890: checking for $ac_word" >&5
    1091890if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
    1092891  echo $ac_n "(cached) $ac_c" 1>&6
     
    1119918set dummy ln; ac_word=$2
    1120919echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1121 echo "configure:1122: checking for $ac_word" >&5
     920echo "configure:921: checking for $ac_word" >&5
    1122921if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
    1123922  echo $ac_n "(cached) $ac_c" 1>&6
     
    1147946fi
    1148947
     948echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
     949echo "configure:950: checking whether ln -s works" >&5
     950if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
     951  echo $ac_n "(cached) $ac_c" 1>&6
     952else
     953  rm -f conftestdata
     954if ln -s X conftestdata 2>/dev/null
     955then
     956  rm -f conftestdata
     957  ac_cv_prog_LN_S="ln -s"
     958else
     959  ac_cv_prog_LN_S=ln
     960fi
     961fi
     962LN_S="$ac_cv_prog_LN_S"
     963if test "$ac_cv_prog_LN_S" = "ln -s"; then
     964  echo "$ac_t""yes" 1>&6
     965else
     966  echo "$ac_t""no" 1>&6
     967fi
     968
    1149969# Extract the first word of "chmod", so it can be a program name with args.
    1150970set dummy chmod; ac_word=$2
    1151971echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1152 echo "configure:1153: checking for $ac_word" >&5
     972echo "configure:973: checking for $ac_word" >&5
    1153973if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
    1154974  echo $ac_n "(cached) $ac_c" 1>&6
     
    11811001set dummy sort; ac_word=$2
    11821002echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1183 echo "configure:1184: checking for $ac_word" >&5
     1003echo "configure:1004: checking for $ac_word" >&5
    11841004if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then
    11851005  echo $ac_n "(cached) $ac_c" 1>&6
     
    12131033set dummy mkdir; ac_word=$2
    12141034echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1215 echo "configure:1216: checking for $ac_word" >&5
     1035echo "configure:1036: checking for $ac_word" >&5
    12161036if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
    12171037  echo $ac_n "(cached) $ac_c" 1>&6
     
    12451065
    12461066echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6
    1247 echo "configure:1248: checking for working $MKDIR -m 0755" >&5
     1067echo "configure:1068: checking for working $MKDIR -m 0755" >&5
    12481068if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then
    12491069  echo $ac_n "(cached) $ac_c" 1>&6
     
    12621082
    12631083echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6
    1264 echo "configure:1265: checking for working $MKDIR -p" >&5
     1084echo "configure:1085: checking for working $MKDIR -p" >&5
    12651085if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then
    12661086  echo $ac_n "(cached) $ac_c" 1>&6
     
    12791099test "$rtems_cv_prog_MKDIR_M" = "yes" && MKDIR="$MKDIR -m 0755"
    12801100
    1281 # Extract the first word of "enscript", so it can be a program name with args.
    1282 set dummy enscript; ac_word=$2
    1283 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1284 echo "configure:1285: checking for $ac_word" >&5
    1285 if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then
    1286   echo $ac_n "(cached) $ac_c" 1>&6
    1287 else
    1288   case "$PR" in
    1289   /*)
    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; do
    1295     test -z "$ac_dir" && ac_dir=.
    1296     if test -f $ac_dir/$ac_word; then
    1297       ac_cv_path_PR="$ac_dir/$ac_word"
    1298       break
    1299     fi
    1300   done
    1301   IFS="$ac_save_ifs"
    1302   ;;
    1303 esac
    1304 fi
    1305 PR="$ac_cv_path_PR"
    1306 if test -n "$PR"; then
    1307   echo "$ac_t""$PR" 1>&6
    1308 else
    1309   echo "$ac_t""no" 1>&6
    1310 fi
    1311 
    1312 test -n "$PR" && PR="$PR -G2r"
    1313 
    1314 if test -z "$PR"; then
    1315 # Extract the first word of "mp", so it can be a program name with args.
    1316 set dummy mp; ac_word=$2
    1317 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1318 echo "configure:1319: checking for $ac_word" >&5
    1319 if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then
    1320   echo $ac_n "(cached) $ac_c" 1>&6
    1321 else
    1322   case "$PR" in
    1323   /*)
    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; do
    1329     test -z "$ac_dir" && ac_dir=.
    1330     if test -f $ac_dir/$ac_word; then
    1331       ac_cv_path_PR="$ac_dir/$ac_word"
    1332       break
    1333     fi
    1334   done
    1335   IFS="$ac_save_ifs"
    1336   ;;
    1337 esac
    1338 fi
    1339 PR="$ac_cv_path_PR"
    1340 if test -n "$PR"; then
    1341   echo "$ac_t""$PR" 1>&6
    1342 else
    1343   echo "$ac_t""no" 1>&6
    1344 fi
    1345 
    1346 test -n "$PR" && PR="$PR -l"
    1347 fi
    1348 
    1349 if test -z "$PR"; then
    1350 # Extract the first word of "pr", so it can be a program name with args.
    1351 set dummy pr; ac_word=$2
    1352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1353 echo "configure:1354: checking for $ac_word" >&5
    1354 if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then
    1355   echo $ac_n "(cached) $ac_c" 1>&6
    1356 else
    1357   case "$PR" in
    1358   /*)
    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; do
    1364     test -z "$ac_dir" && ac_dir=.
    1365     if test -f $ac_dir/$ac_word; then
    1366       ac_cv_path_PR="$ac_dir/$ac_word"
    1367       break
    1368     fi
    1369   done
    1370   IFS="$ac_save_ifs"
    1371   ;;
    1372 esac
    1373 fi
    1374 PR="$ac_cv_path_PR"
    1375 if test -n "$PR"; then
    1376   echo "$ac_t""$PR" 1>&6
    1377 else
    1378   echo "$ac_t""no" 1>&6
    1379 fi
    1380 
    1381 fi
    1382 
    1383 if test -z "$PR"; then
    1384 echo "configure: warning: ***
    1385     Cannot determine a suitable program for
    1386     printing asci files on ps-printers
    1387     Expect errors when printing files " 1>&2
    1388 fi
    1389 
    1390 for ac_prog in lp lpr
    1391 do
    1392 # Extract the first word of "$ac_prog", so it can be a program name with args.
    1393 set dummy $ac_prog; ac_word=$2
    1394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1395 echo "configure:1396: checking for $ac_word" >&5
    1396 if eval "test \"`echo '$''{'ac_cv_path_PRINT'+set}'`\" = set"; then
    1397   echo $ac_n "(cached) $ac_c" 1>&6
    1398 else
    1399   case "$PRINT" in
    1400   /*)
    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; do
    1406     test -z "$ac_dir" && ac_dir=.
    1407     if test -f $ac_dir/$ac_word; then
    1408       ac_cv_path_PRINT="$ac_dir/$ac_word"
    1409       break
    1410     fi
    1411   done
    1412   IFS="$ac_save_ifs"
    1413   ;;
    1414 esac
    1415 fi
    1416 PRINT="$ac_cv_path_PRINT"
    1417 if test -n "$PRINT"; then
    1418   echo "$ac_t""$PRINT" 1>&6
    1419 else
    1420   echo "$ac_t""no" 1>&6
    1421 fi
    1422 
    1423 test -n "$PRINT" && break
    1424 done
    1425 
    1426 
    14271101# Extract the first word of "touch", so it can be a program name with args.
    14281102set dummy touch; ac_word=$2
    14291103echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1430 echo "configure:1431: checking for $ac_word" >&5
     1104echo "configure:1105: checking for $ac_word" >&5
    14311105if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then
    14321106  echo $ac_n "(cached) $ac_c" 1>&6
     
    14591133set dummy cmp; ac_word=$2
    14601134echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1461 echo "configure:1462: checking for $ac_word" >&5
     1135echo "configure:1136: checking for $ac_word" >&5
    14621136if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
    14631137  echo $ac_n "(cached) $ac_c" 1>&6
     
    14871161fi
    14881162
    1489 # Extract the first word of "dirname", so it can be a program name with args.
    1490 set dummy dirname; ac_word=$2
    1491 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1492 echo "configure:1493: checking for $ac_word" >&5
    1493 if eval "test \"`echo '$''{'ac_cv_path_DIRNAME'+set}'`\" = set"; then
    1494   echo $ac_n "(cached) $ac_c" 1>&6
    1495 else
    1496   case "$DIRNAME" in
    1497   /*)
    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; do
    1503     test -z "$ac_dir" && ac_dir=.
    1504     if test -f $ac_dir/$ac_word; then
    1505       ac_cv_path_DIRNAME="$ac_dir/$ac_word"
    1506       break
    1507     fi
    1508   done
    1509   IFS="$ac_save_ifs"
    1510   ;;
    1511 esac
    1512 fi
    1513 DIRNAME="$ac_cv_path_DIRNAME"
    1514 if test -n "$DIRNAME"; then
    1515   echo "$ac_t""$DIRNAME" 1>&6
    1516 else
    1517   echo "$ac_t""no" 1>&6
    1518 fi
    1519 
    1520 # Extract the first word of "basename", so it can be a program name with args.
    1521 set dummy basename; ac_word=$2
    1522 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1523 echo "configure:1524: checking for $ac_word" >&5
    1524 if eval "test \"`echo '$''{'ac_cv_path_BASENAME'+set}'`\" = set"; then
    1525   echo $ac_n "(cached) $ac_c" 1>&6
    1526 else
    1527   case "$BASENAME" in
    1528   /*)
    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; do
    1534     test -z "$ac_dir" && ac_dir=.
    1535     if test -f $ac_dir/$ac_word; then
    1536       ac_cv_path_BASENAME="$ac_dir/$ac_word"
    1537       break
    1538     fi
    1539   done
    1540   IFS="$ac_save_ifs"
    1541   ;;
    1542 esac
    1543 fi
    1544 BASENAME="$ac_cv_path_BASENAME"
    1545 if test -n "$BASENAME"; then
    1546   echo "$ac_t""$BASENAME" 1>&6
    1547 else
    1548   echo "$ac_t""no" 1>&6
    1549 fi
    1550 
    1551 
    1552 # Extract the first word of "unifdef", so it can be a program name with args.
    1553 set dummy unifdef; ac_word=$2
    1554 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1555 echo "configure:1556: checking for $ac_word" >&5
    1556 if eval "test \"`echo '$''{'ac_cv_path_UNIFDEF'+set}'`\" = set"; then
    1557   echo $ac_n "(cached) $ac_c" 1>&6
    1558 else
    1559   case "$UNIFDEF" in
    1560   /*)
    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; do
    1566     test -z "$ac_dir" && ac_dir=.
    1567     if test -f $ac_dir/$ac_word; then
    1568       ac_cv_path_UNIFDEF="$ac_dir/$ac_word"
    1569       break
    1570     fi
    1571   done
    1572   IFS="$ac_save_ifs"
    1573   ;;
    1574 esac
    1575 fi
    1576 UNIFDEF="$ac_cv_path_UNIFDEF"
    1577 if test -n "$UNIFDEF"; then
    1578   echo "$ac_t""$UNIFDEF" 1>&6
    1579 else
    1580   echo "$ac_t""no" 1>&6
    1581 fi
    1582 
    1583 # Extract the first word of "ed", so it can be a program name with args.
    1584 set dummy ed; ac_word=$2
    1585 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1586 echo "configure:1587: checking for $ac_word" >&5
    1587 if eval "test \"`echo '$''{'ac_cv_path_ED'+set}'`\" = set"; then
    1588   echo $ac_n "(cached) $ac_c" 1>&6
    1589 else
    1590   case "$ED" in
    1591   /*)
    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; do
    1597     test -z "$ac_dir" && ac_dir=.
    1598     if test -f $ac_dir/$ac_word; then
    1599       ac_cv_path_ED="$ac_dir/$ac_word"
    1600       break
    1601     fi
    1602   done
    1603   IFS="$ac_save_ifs"
    1604   ;;
    1605 esac
    1606 fi
    1607 ED="$ac_cv_path_ED"
    1608 if test -n "$ED"; then
    1609   echo "$ac_t""$ED" 1>&6
    1610 else
    1611   echo "$ac_t""no" 1>&6
    1612 fi
    16131163
    16141164# Extract the first word of "sed", so it can be a program name with args.
    16151165set dummy sed; ac_word=$2
    16161166echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1617 echo "configure:1618: checking for $ac_word" >&5
     1167echo "configure:1168: checking for $ac_word" >&5
    16181168if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
    16191169  echo $ac_n "(cached) $ac_c" 1>&6
     
    16431193fi
    16441194
    1645 for ac_prog in mawk gawk nawk awk
    1646 do
    1647 # Extract the first word of "$ac_prog", so it can be a program name with args.
    1648 set dummy $ac_prog; ac_word=$2
    1649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1650 echo "configure:1651: checking for $ac_word" >&5
    1651 if eval "test \"`echo '$''{'ac_cv_path_AWK'+set}'`\" = set"; then
    1652   echo $ac_n "(cached) $ac_c" 1>&6
    1653 else
    1654   case "$AWK" in
    1655   /*)
    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; do
    1661     test -z "$ac_dir" && ac_dir=.
    1662     if test -f $ac_dir/$ac_word; then
    1663       ac_cv_path_AWK="$ac_dir/$ac_word"
    1664       break
    1665     fi
    1666   done
    1667   IFS="$ac_save_ifs"
    1668   ;;
    1669 esac
    1670 fi
    1671 AWK="$ac_cv_path_AWK"
    1672 if test -n "$AWK"; then
    1673   echo "$ac_t""$AWK" 1>&6
    1674 else
    1675   echo "$ac_t""no" 1>&6
    1676 fi
    1677 
    1678 test -n "$AWK" && break
    1679 done
    1680 
    16811195for ac_prog in gm4 m4
    16821196do
     
    16841198set dummy $ac_prog; ac_word=$2
    16851199echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1686 echo "configure:1687: checking for $ac_word" >&5
     1200echo "configure:1201: checking for $ac_word" >&5
    16871201if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
    16881202  echo $ac_n "(cached) $ac_c" 1>&6
     
    17161230
    17171231
    1718 # Extract the first word of "fgrep", so it can be a program name with args.
    1719 set dummy fgrep; ac_word=$2
    1720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1721 echo "configure:1722: checking for $ac_word" >&5
    1722 if eval "test \"`echo '$''{'ac_cv_path_FGREP'+set}'`\" = set"; then
    1723   echo $ac_n "(cached) $ac_c" 1>&6
    1724 else
    1725   case "$FGREP" in
    1726   /*)
    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; do
    1732     test -z "$ac_dir" && ac_dir=.
    1733     if test -f $ac_dir/$ac_word; then
    1734       ac_cv_path_FGREP="$ac_dir/$ac_word"
    1735       break
    1736     fi
    1737   done
    1738   IFS="$ac_save_ifs"
    1739   ;;
    1740 esac
    1741 fi
    1742 FGREP="$ac_cv_path_FGREP"
    1743 if test -n "$FGREP"; then
    1744   echo "$ac_t""$FGREP" 1>&6
    1745 else
    1746   echo "$ac_t""no" 1>&6
    1747 fi
    1748 
    1749 # Extract the first word of "grep", so it can be a program name with args.
    1750 set dummy grep; ac_word=$2
    1751 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1752 echo "configure:1753: checking for $ac_word" >&5
    1753 if eval "test \"`echo '$''{'ac_cv_path_GREP'+set}'`\" = set"; then
    1754   echo $ac_n "(cached) $ac_c" 1>&6
    1755 else
    1756   case "$GREP" in
    1757   /*)
    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; do
    1763     test -z "$ac_dir" && ac_dir=.
    1764     if test -f $ac_dir/$ac_word; then
    1765       ac_cv_path_GREP="$ac_dir/$ac_word"
    1766       break
    1767     fi
    1768   done
    1769   IFS="$ac_save_ifs"
    1770   ;;
    1771 esac
    1772 fi
    1773 GREP="$ac_cv_path_GREP"
    1774 if test -n "$GREP"; then
    1775   echo "$ac_t""$GREP" 1>&6
    1776 else
    1777   echo "$ac_t""no" 1>&6
    1778 fi
    1779 
    1780 # Extract the first word of "egrep", so it can be a program name with args.
    1781 set dummy egrep; ac_word=$2
    1782 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1783 echo "configure:1784: checking for $ac_word" >&5
    1784 if eval "test \"`echo '$''{'ac_cv_path_EGREP'+set}'`\" = set"; then
    1785   echo $ac_n "(cached) $ac_c" 1>&6
    1786 else
    1787   case "$EGREP" in
    1788   /*)
    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; do
    1794     test -z "$ac_dir" && ac_dir=.
    1795     if test -f $ac_dir/$ac_word; then
    1796       ac_cv_path_EGREP="$ac_dir/$ac_word"
    1797       break
    1798     fi
    1799   done
    1800   IFS="$ac_save_ifs"
    1801   ;;
    1802 esac
    1803 fi
    1804 EGREP="$ac_cv_path_EGREP"
    1805 if test -n "$EGREP"; then
    1806   echo "$ac_t""$EGREP" 1>&6
    1807 else
    1808   echo "$ac_t""no" 1>&6
    1809 fi
    1810 
    1811 
    1812 # Extract the first word of "catman", so it can be a program name with args.
    1813 set dummy catman; ac_word=$2
    1814 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1815 echo "configure:1816: checking for $ac_word" >&5
    1816 if eval "test \"`echo '$''{'ac_cv_path_CATMAN'+set}'`\" = set"; then
    1817   echo $ac_n "(cached) $ac_c" 1>&6
    1818 else
    1819   case "$CATMAN" in
    1820   /*)
    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; do
    1826     test -z "$ac_dir" && ac_dir=.
    1827     if test -f $ac_dir/$ac_word; then
    1828       ac_cv_path_CATMAN="$ac_dir/$ac_word"
    1829       break
    1830     fi
    1831   done
    1832   IFS="$ac_save_ifs"
    1833   ;;
    1834 esac
    1835 fi
    1836 CATMAN="$ac_cv_path_CATMAN"
    1837 if test -n "$CATMAN"; then
    1838   echo "$ac_t""$CATMAN" 1>&6
    1839 else
    1840   echo "$ac_t""no" 1>&6
    1841 fi
    1842 
    1843 
    18441232for ac_prog in bash ksh sh
    18451233do
     
    18471235set dummy $ac_prog; ac_word=$2
    18481236echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1849 echo "configure:1850: checking for $ac_word" >&5
     1237echo "configure:1238: checking for $ac_word" >&5
    18501238if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    18511239  echo $ac_n "(cached) $ac_c" 1>&6
     
    18851273fi
    18861274
    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
    19571277
    19581278
     
    19651285        target_cpu=i386
    19661286        rtems_bsp="go32 go32_p5"
    1967         aux_makefiles=$i386_go32_mk
     1287        skip_startfiles="yes"
    19681288        RTEMS_HAS_POSIX_API=no
    19691289        ;;
    19701290  i[3456]86-rtems*)
    19711291        target_cpu=i386
    1972         rtems_bsp="force386 i386ex"
    1973         aux_makefiles=$i386_mk
    19741292        ;;
    19751293  i[3456]86-pc-linux*)         # unix "simulator" port
     
    19901308  *)
    19911309        echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1992 echo "configure:1993: checking rtems target cpu" >&5
    1993 target_cpu=`echo $target | /usr/bin/sed 's%^\([^-]*\)-\(.*\)$%\1%'`
     1310echo "configure:1311: checking rtems target cpu" >&5
     1311target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    19941312echo "$ac_t""$target_cpu" 1>&6
    19951313
     
    19971315esac
    19981316
     1317# Is this a supported CPU?
    19991318echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    2000 echo "configure:2001: checking if cpu $target_cpu is supported" >&5
     1319echo "configure:1320: checking if cpu $target_cpu is supported" >&5
    20011320if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then
    20021321  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"
    20041323else
    20051324  { echo "configure: error: no" 1>&2; exit 1; }
    20061325fi
    20071326
    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
     1329echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6
     1330echo "configure:1331: checking for Makefile.in in c/src/exec/rtems" >&5
     1331if 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
     1338else
     1339  echo "$ac_t""no" 1>&6
     1340fi
     1341
     1342
     1343
     1344echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
     1345echo "configure:1346: checking for Makefile.in in c/src/exec/posix" >&5
     1346if 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
     1353else
     1354  echo "$ac_t""no" 1>&6
     1355fi
     1356
     1357
     1358
     1359echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6
     1360echo "configure:1361: checking for Makefile.in in c/src/exec/sapi" >&5
     1361if 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
     1368else
     1369  echo "$ac_t""no" 1>&6
     1370fi
     1371
     1372
     1373
     1374echo $ac_n "checking for Makefile.in in c/src/exec/wrapup""... $ac_c" 1>&6
     1375echo "configure:1376: checking for Makefile.in in c/src/exec/wrapup" >&5
     1376if 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
     1383else
     1384  echo "$ac_t""no" 1>&6
     1385fi
     1386
     1387
     1388
     1389# find all the Makefiles for the BSPs
     1390if 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
     1395echo "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   
     1413echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$i""... $ac_c" 1>&6
     1414echo "configure:1415: checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$i" >&5
     1415if 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
     1422else
     1423  echo "$ac_t""no" 1>&6
     1424fi
     1425
     1426
    20281427  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"
     1428fi
     1429
     1430# find all the CPU dependent library Makefiles
     1431
     1432echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
     1433echo "configure:1434: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     1434if 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
     1441else
     1442  echo "$ac_t""no" 1>&6
     1443fi
     1444
     1445
     1446
     1447if test "$skip_startfiles" != "yes"; then
     1448 
     1449echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
     1450echo "configure:1451: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     1451if 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
     1458else
     1459  echo "$ac_t""no" 1>&6
     1460fi
     1461
     1462
     1463fi
    21581464
    21591465
     
    21731479fi
    21741480
    2175 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    2176 echo "configure:2177: checking whether ln -s works" >&5
    2177 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    2178   echo $ac_n "(cached) $ac_c" 1>&6
    2179 else
    2180   rm -f conftestdata
    2181 if ln -s X conftestdata 2>/dev/null
    2182 then
    2183   rm -f conftestdata
    2184   ac_cv_prog_LN_S="ln -s"
    2185 else
    2186   ac_cv_prog_LN_S=ln
    2187 fi
    2188 fi
    2189 LN_S="$ac_cv_prog_LN_S"
    2190 if test "$ac_cv_prog_LN_S" = "ln -s"; then
    2191   echo "$ac_t""yes" 1>&6
    2192 else
    2193   echo "$ac_t""no" 1>&6
    2194 fi
    2195 
    21961481
    21971482RTEMS_BSP=$rtems_bsp
     
    22011486
    22021487# For now always generate the KA9Q TCP/IP Makefiles
    2203 makefiles="$makefiles $ka9q_mk $rtemscpp_mk"
    2204 
     1488makefiles="$makefiles c/src/lib/libka9q/Makefile"
     1489
     1490# For now always generate the C++ Makefiles
     1491makefiles="$makefiles c/src/lib/librtems++/Makefile"
     1492
     1493# If the tests are enabled, then find all the test suite Makefiles
     1494echo $ac_n "checking Are the test suites enabled? ""... $ac_c" 1>&6
     1495echo "configure:1496: checking Are the test suites enabled? " >&5
    22051496# Check whether --enable-tests or --disable-tests was given.
    22061497if test "${enable_tests+set}" = set; then
    22071498  enableval="$enable_tests"
    22081499  \
    2209 tests_mk=
    2210 else
    2211   makefiles="${makefiles} ${tests_mk}"
    2212 fi
    2213 
    2214 
     1500   { echo "configure: error: no" 1>&2; exit 1; }
     1501else
     1502  \
     1503   echo "$ac_t""yes" 1>&6 \
     1504     
     1505echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
     1506echo "configure:1507: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     1507if 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
     1514else
     1515  echo "$ac_t""no" 1>&6
     1516fi
     1517
     1518 \
     1519     
     1520echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
     1521echo "configure:1522: checking for Makefile.in in c/src/tests/libtests" >&5
     1522if 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
     1529else
     1530  echo "$ac_t""no" 1>&6
     1531fi
     1532
     1533 \
     1534     
     1535echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
     1536echo "configure:1537: checking for Makefile.in in c/src/tests/sptests" >&5
     1537if 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
     1544else
     1545  echo "$ac_t""no" 1>&6
     1546fi
     1547
     1548 \
     1549     
     1550echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
     1551echo "configure:1552: checking for Makefile.in in c/src/tests/tmtests" >&5
     1552if 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
     1559else
     1560  echo "$ac_t""no" 1>&6
     1561fi
     1562
     1563 \
     1564     
     1565echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
     1566echo "configure:1567: checking for Makefile.in in c/src/tests/mptests" >&5
     1567if 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
     1574else
     1575  echo "$ac_t""no" 1>&6
     1576fi
     1577
     1578 \
     1579     
     1580echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
     1581echo "configure:1582: checking for Makefile.in in c/src/tests/psxtests" >&5
     1582if 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
     1589else
     1590  echo "$ac_t""no" 1>&6
     1591fi
     1592
     1593 \
     1594
     1595fi
     1596
     1597
     1598# If the HWAPI is enabled, the find the HWAPI Makefiles
     1599echo $ac_n "checking Is the HWAPI enabled? ""... $ac_c" 1>&6
     1600echo "configure:1601: checking Is the HWAPI enabled? " >&5
    22151601# Check whether --enable-hwapi or --disable-hwapi was given.
    22161602if test "${enable_hwapi+set}" = set; then
    22171603  enableval="$enable_hwapi"
    22181604  \
    2219 makefiles="${makefiles} ${hwapi_mk}"
    2220 else
    2221   hwapi_mk=
     1605      echo "$ac_t""yes" 1>&6 \
     1606       
     1607echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi""... $ac_c" 1>&6
     1608echo "configure:1609: checking for Makefile.in in c/src/lib/libhwapi" >&5
     1609if 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
     1616else
     1617  echo "$ac_t""no" 1>&6
     1618fi
     1619
     1620
     1621else
     1622  \
     1623      { echo "configure: error: no" 1>&2; exit 1; } \
     1624
    22221625fi
    22231626
     
    22271630  enableval="$enable_rtemsbsp"
    22281631  \
    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
     1634fi
     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
     1653echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6
     1654echo "configure:1655: checking for Makefile.in in c/build-tools" >&5
     1655if 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
     1662else
     1663  echo "$ac_t""no" 1>&6
     1664fi
     1665
     1666
     1667
     1668echo $ac_n "checking for Makefile.in in c/make""... $ac_c" 1>&6
     1669echo "configure:1670: checking for Makefile.in in c/make" >&5
     1670if 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
     1677else
     1678  echo "$ac_t""no" 1>&6
     1679fi
     1680
     1681
     1682
     1683echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
     1684echo "configure:1685: checking for Makefile.in in c/src/lib/libmisc" >&5
     1685if 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
     1692else
     1693  echo "$ac_t""no" 1>&6
     1694fi
     1695
     1696
     1697
     1698echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
     1699echo "configure:1700: checking for Makefile.in in c/src/tests/samples" >&5
     1700if 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
     1707else
     1708  echo "$ac_t""no" 1>&6
     1709fi
     1710
     1711
     1712
     1713# try not to explicitly list a Makefile here
    22481714trap '' 1 2 15
    22491715cat > confcache <<\EOF
     
    23601826trap 'rm -fr `echo "Makefile
    23611827c/Makefile
    2362 c/build-tools/Makefile
    2363 c/build-tools/os/Makefile
    2364 c/build-tools/os/msdos/Makefile
    2365 c/build-tools/scripts/Makefile
    2366 c/build-tools/src/Makefile
    2367 c/make/Makefile
    2368 c/make/host.cfg
    2369 c/make/Templates/Makefile.inc
    23701828c/src/Makefile
    23711829c/src/exec/Makefile
    2372 c/src/exec/posix/Makefile
    2373 c/src/exec/posix/base/Makefile
    2374 c/src/exec/posix/headers/Makefile
    2375 c/src/exec/posix/inline/Makefile
    2376 c/src/exec/posix/macros/Makefile
    2377 c/src/exec/posix/optman/Makefile
    2378 c/src/exec/posix/src/Makefile
    2379 c/src/exec/posix/sys/Makefile
    2380 c/src/exec/rtems/Makefile
    2381 c/src/exec/rtems/headers/Makefile
    2382 c/src/exec/rtems/inline/Makefile
    2383 c/src/exec/rtems/macros/Makefile
    2384 c/src/exec/rtems/optman/Makefile
    2385 c/src/exec/rtems/src/Makefile
    2386 c/src/exec/sapi/Makefile
    2387 c/src/exec/sapi/headers/Makefile
    2388 c/src/exec/sapi/inline/Makefile
    2389 c/src/exec/sapi/macros/Makefile
    2390 c/src/exec/sapi/optman/Makefile
    2391 c/src/exec/sapi/src/Makefile
    23921830c/src/exec/score/Makefile
    23931831c/src/exec/score/cpu/Makefile
    23941832c/src/exec/score/headers/Makefile
    23951833c/src/exec/score/inline/Makefile
    2396 c/src/exec/score/macros/Makefile
    23971834c/src/exec/score/src/Makefile
    23981835c/src/exec/score/tools/Makefile
    23991836c/src/exec/score/tools/generic/Makefile
    2400 c/src/exec/wrapup/Makefile
    2401 c/src/exec/wrapup/posix/Makefile
    2402 c/src/exec/wrapup/rtems/Makefile
    24031837c/src/lib/Makefile
    24041838c/src/lib/include/Makefile
     
    24071841c/src/lib/libc/Makefile
    24081842c/src/lib/libcpu/Makefile
    2409 c/src/lib/libmisc/Makefile
    2410 c/src/lib/libmisc/assoc/Makefile
    2411 c/src/lib/libmisc/cpuuse/Makefile
    2412 c/src/lib/libmisc/error/Makefile
    2413 c/src/lib/libmisc/monitor/Makefile
    2414 c/src/lib/libmisc/rtmonuse/Makefile
    2415 c/src/lib/libmisc/stackchk/Makefile
    2416 c/src/lib/libmisc/wrapup/Makefile
    24171843c/src/lib/start/Makefile
    24181844c/src/lib/wrapup/Makefile
    24191845c/src/tests/Makefile
    2420 c/src/tests/samples/Makefile
    2421 c/src/tests/samples/base_mp/Makefile
    2422 c/src/tests/samples/base_mp/node1/Makefile
    2423 c/src/tests/samples/base_mp/node2/Makefile
    2424 c/src/tests/samples/base_sp/Makefile
    2425 c/src/tests/samples/cdtest/Makefile
    2426 c/src/tests/samples/hello/Makefile
    2427 c/src/tests/samples/paranoia/Makefile
    2428 c/src/tests/samples/ticker/Makefile
    24291846c/src/tests/support/Makefile
    24301847c/src/tests/support/include/Makefile
     
    24331850c/src/tests/tools/Makefile
    24341851c/src/tests/tools/generic/Makefile
    2435 c/src/tests/tools/hppa1_1/Makefile
    2436 c/src/tests/tools/hppa1_1/simhppa/Makefile
    2437 c/src/tests/tools/sparc/Makefile
    2438 c/src/tests/tools/sparc/erc32/Makefile
    2439 c/src/tests/tools/unix/Makefile
    2440 c/src/tests/tools/unix/posix/Makefile
    24411852$makefiles
     1853c/make/host.cfg
     1854c/make/Templates/Makefile.inc
    24421855c/update-tools/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    24431856EOF
     
    24911904s%@MV@%$MV%g
    24921905s%@LN@%$LN%g
     1906s%@LN_S@%$LN_S%g
    24931907s%@CHMOD@%$CHMOD%g
    24941908s%@SORT@%$SORT%g
    24951909s%@MKDIR@%$MKDIR%g
    2496 s%@PR@%$PR%g
    2497 s%@PRINT@%$PRINT%g
    24981910s%@TOUCH@%$TOUCH%g
    24991911s%@CMP@%$CMP%g
    2500 s%@DIRNAME@%$DIRNAME%g
    2501 s%@BASENAME@%$BASENAME%g
    2502 s%@UNIFDEF@%$UNIFDEF%g
    2503 s%@ED@%$ED%g
    25041912s%@SED@%$SED%g
    2505 s%@AWK@%$AWK%g
    25061913s%@M4@%$M4%g
    2507 s%@FGREP@%$FGREP%g
    2508 s%@GREP@%$GREP%g
    2509 s%@EGREP@%$EGREP%g
    2510 s%@CATMAN@%$CATMAN%g
    25111914s%@KSH@%$KSH%g
    2512 s%@RCS_IDENT@%$RCS_IDENT%g
    2513 s%@RCS_CO@%$RCS_CO%g
    2514 s%@LN_S@%$LN_S%g
    25151915s%@RTEMS_BSP@%$RTEMS_BSP%g
    25161916s%@RTEMS_HOST@%$RTEMS_HOST%g
     
    25681968CONFIG_FILES=\${CONFIG_FILES-"Makefile
    25691969c/Makefile
    2570 c/build-tools/Makefile
    2571 c/build-tools/os/Makefile
    2572 c/build-tools/os/msdos/Makefile
    2573 c/build-tools/scripts/Makefile
    2574 c/build-tools/src/Makefile
    2575 c/make/Makefile
    2576 c/make/host.cfg
    2577 c/make/Templates/Makefile.inc
    25781970c/src/Makefile
    25791971c/src/exec/Makefile
    2580 c/src/exec/posix/Makefile
    2581 c/src/exec/posix/base/Makefile
    2582 c/src/exec/posix/headers/Makefile
    2583 c/src/exec/posix/inline/Makefile
    2584 c/src/exec/posix/macros/Makefile
    2585 c/src/exec/posix/optman/Makefile
    2586 c/src/exec/posix/src/Makefile
    2587 c/src/exec/posix/sys/Makefile
    2588 c/src/exec/rtems/Makefile
    2589 c/src/exec/rtems/headers/Makefile
    2590 c/src/exec/rtems/inline/Makefile
    2591 c/src/exec/rtems/macros/Makefile
    2592 c/src/exec/rtems/optman/Makefile
    2593 c/src/exec/rtems/src/Makefile
    2594 c/src/exec/sapi/Makefile
    2595 c/src/exec/sapi/headers/Makefile
    2596 c/src/exec/sapi/inline/Makefile
    2597 c/src/exec/sapi/macros/Makefile
    2598 c/src/exec/sapi/optman/Makefile
    2599 c/src/exec/sapi/src/Makefile
    26001972c/src/exec/score/Makefile
    26011973c/src/exec/score/cpu/Makefile
    26021974c/src/exec/score/headers/Makefile
    26031975c/src/exec/score/inline/Makefile
    2604 c/src/exec/score/macros/Makefile
    26051976c/src/exec/score/src/Makefile
    26061977c/src/exec/score/tools/Makefile
    26071978c/src/exec/score/tools/generic/Makefile
    2608 c/src/exec/wrapup/Makefile
    2609 c/src/exec/wrapup/posix/Makefile
    2610 c/src/exec/wrapup/rtems/Makefile
    26111979c/src/lib/Makefile
    26121980c/src/lib/include/Makefile
     
    26151983c/src/lib/libc/Makefile
    26161984c/src/lib/libcpu/Makefile
    2617 c/src/lib/libmisc/Makefile
    2618 c/src/lib/libmisc/assoc/Makefile
    2619 c/src/lib/libmisc/cpuuse/Makefile
    2620 c/src/lib/libmisc/error/Makefile
    2621 c/src/lib/libmisc/monitor/Makefile
    2622 c/src/lib/libmisc/rtmonuse/Makefile
    2623 c/src/lib/libmisc/stackchk/Makefile
    2624 c/src/lib/libmisc/wrapup/Makefile
    26251985c/src/lib/start/Makefile
    26261986c/src/lib/wrapup/Makefile
    26271987c/src/tests/Makefile
    2628 c/src/tests/samples/Makefile
    2629 c/src/tests/samples/base_mp/Makefile
    2630 c/src/tests/samples/base_mp/node1/Makefile
    2631 c/src/tests/samples/base_mp/node2/Makefile
    2632 c/src/tests/samples/base_sp/Makefile
    2633 c/src/tests/samples/cdtest/Makefile
    2634 c/src/tests/samples/hello/Makefile
    2635 c/src/tests/samples/paranoia/Makefile
    2636 c/src/tests/samples/ticker/Makefile
    26371988c/src/tests/support/Makefile
    26381989c/src/tests/support/include/Makefile
     
    26411992c/src/tests/tools/Makefile
    26421993c/src/tests/tools/generic/Makefile
    2643 c/src/tests/tools/hppa1_1/Makefile
    2644 c/src/tests/tools/hppa1_1/simhppa/Makefile
    2645 c/src/tests/tools/sparc/Makefile
    2646 c/src/tests/tools/sparc/erc32/Makefile
    2647 c/src/tests/tools/unix/Makefile
    2648 c/src/tests/tools/unix/posix/Makefile
    26491994$makefiles
     1995c/make/host.cfg
     1996c/make/Templates/Makefile.inc
    26501997c/update-tools/Makefile"}
    26511998EOF
  • configure.in

    rbbb2816 r37717818  
    22AC_PREREQ(2.12)
    33AC_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"
    2054
    2065dnl Checks for programs.
     
    24342
    24443AC_ARG_ENABLE(cpp, \
    245 [  --enable-cpp                           enable C++ support, and build the rtems++ library], \
     44[  --enable-cpp            enable C++ support, and build the rtems++ library], \
    24645[case "${enableval}" in
    24746  yes) RTEMS_HAS_CPLUSPLUS=yes ;;
    248   no) RTEMS_HAS_CPLUSPLUS=no ;;
     47  no) RTEMS_HAS_CPLUSPLUS=no   ;;
    24948  *)  AC_MSG_ERROR(bad value ${enableval} for enable-cpp option) ;;
    250 esac],[RTEMS_HAS_CPLUSPLUS=no])
     49esac], [RTEMS_HAS_CPLUSPLUS=no])
    25150
    25251AC_ARG_ENABLE(gcc28, \
     
    26867
    26968AC_PATH_PROG(CAT,cat)
    270 dnl FIXME: check if rm accepts -f
    271 dnl NOTE : Check for rm -f seems not to be necessary since autoconf
    272 dnl        itself depends on it
    27369AC_PATH_PROG(RM,rm)
    27470AC_PATH_PROG(CP,cp)
    27571AC_PATH_PROG(MV,mv)
    27672AC_PATH_PROG(LN,ln)
     73AC_PROG_LN_S
    27774AC_PATH_PROG(CHMOD,chmod)
    27875AC_PATH_PROG(SORT,sort)
     
    28582test "$rtems_cv_prog_MKDIR_M" = "yes" && MKDIR="$MKDIR -m 0755"
    28683
    287 dnl determine which program to use to format ps-docs to 2 pages per sheet
    288 dnl try enscript
    289 AC_PATH_PROG(PR,enscript)
    290 test -n "$PR" && PR="$PR -G2r"
    291 
    292 if test -z "$PR"; then
    293 dnl try /usr/openwin/mp
    294 dnl NOTE: Cannot test for mp in $PATH
    295 dnl because there exists a program named mp for TeX
    296 dnl which isn't what we want
    297 AC_PATH_PROG(PR,mp,,/usr/openwin)
    298 test -n "$PR" && PR="$PR -l"
    299 fi
    300 
    301 if test -z "$PR"; then
    302 dnl fallback to pr
    303 AC_PATH_PROG(PR,pr)
    304 fi
    305 
    306 if test -z "$PR"; then
    307 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 fi
    313 
    314 dnl Prefer lp over lpr for SYSV systems
    315 dnl NOTE: Dangerous for SYSV systems using BSD printing
    316 AC_PATH_PROGS(PRINT,lp lpr)
    317 
    31884AC_PATH_PROG(TOUCH,touch)
    31985AC_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
    32787AC_PATH_PROG(SED,sed)
    328 AC_PATH_PROGS(AWK,mawk gawk nawk awk)
    32988AC_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 $PATH
    336 AC_PATH_PROG(CATMAN,catman,,$PATH:/usr/etc:/etc)
    33789
    33890dnl NOTE: prefer bash over ksh over sh
     
    34799fi
    348100
    349 dnl check for RCS
    350 AC_PATH_PROG(RCS_IDENT,ident)
    351 AC_PATH_PROG(RCS_CO,co)
    352 
    353 dnl check for libraries
    354 dnl this does't work, uses host-linker instead of target-linker
    355 dnl Skip for now, since I (RC) don't believe it is used at all
    356 dnl libm
    357 dnl AC_CHECK_LIB(m,cos,
    358 dnl LIB_MATH="-lm")
    359 dnl AC_SUBST(LIB_MATH)
    360 
    361101dnl END configure.host.in
    362102
    363103dnl BEGIN configure.target.in
    364104
    365 echo "TARGET"
    366 echo "cpu    $target_cpu"
    367 echo "os    $target_os"
    368 echo "vendor $target_vendor"
     105dnl echo "TARGET"
     106dnl echo "    cpu    --> $target_cpu"
     107dnl echo "    os     --> $target_os"
     108dnl echo "    vendor --> $target_vendor"
    369109
    370110dnl canonicalize target name
     
    373113dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
    374114dnl and we have to fix it for rtems ourselves
     115dnl
     116dnl The original plan was to do CPU-BSP-rtems or CPU-rtems to
     117dnl imply all BSPs.  Eventually we would like to build a collection
     118dnl of CPU model specific RTEMS libraries which in conjunction with
     119dnl a BSP library would be used to link an application.
    375120
    376121case "${target}" in
     
    382127        target_cpu=i386
    383128        rtems_bsp="go32 go32_p5"
    384         aux_makefiles=$i386_go32_mk
     129        skip_startfiles="yes"
    385130        RTEMS_HAS_POSIX_API=no
    386131        ;;
    387132  i[[3456]]86-rtems*)
    388133        target_cpu=i386
    389         rtems_bsp="force386 i386ex"
    390         aux_makefiles=$i386_mk
    391134        ;;
    392135  i[[3456]]86-pc-linux*)         # unix "simulator" port
     
    410153esac
    411154
     155# Is this a supported CPU?
    412156AC_MSG_CHECKING([if cpu $target_cpu is supported])
    413157if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then
    414158  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"
    416160else
    417161  AC_MSG_ERROR(no)
    418162fi
    419163
    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
     165RTEMS_CHECK_MAKEFILE(c/src/exec/rtems)
     166RTEMS_CHECK_MAKEFILE(c/src/exec/posix)
     167RTEMS_CHECK_MAKEFILE(c/src/exec/sapi)
     168RTEMS_CHECK_MAKEFILE(c/src/exec/wrapup)
     169
     170# find all the Makefiles for the BSPs
    427171if 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)
    437193  done
    438   RTEMS_CHECK_MAKEFILE(c/src/lib/libbsp/$target_cpu)
    439 else
    440   AC_MSG_RESULT(no)
    441 fi
    442 
     194fi
     195
     196# find all the CPU dependent library Makefiles
    443197RTEMS_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
     199dnl Workaround for go32
     200if test "$skip_startfiles" != "yes"; then
     201  RTEMS_CHECK_MAKEFILE(c/src/lib/start/$target_cpu)
     202fi
    449203
    450204dnl END configure.target.in
     
    466220fi
    467221
    468 AC_PROG_LN_S
    469222dnl AC_PROG_CC
    470223dnl AC_PROG_CXX
     
    476229
    477230# For now always generate the KA9Q TCP/IP Makefiles
    478 makefiles="$makefiles $ka9q_mk $rtemscpp_mk"
    479 
     231makefiles="$makefiles c/src/lib/libka9q/Makefile"
     232
     233# For now always generate the C++ Makefiles
     234makefiles="$makefiles c/src/lib/librtems++/Makefile"
     235
     236# If the tests are enabled, then find all the test suite Makefiles
     237AC_MSG_CHECKING([Are the test suites enabled? ])
    480238AC_ARG_ENABLE(tests, \
    481239[  --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
     251AC_MSG_CHECKING([Is the HWAPI enabled? ])
    484252AC_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)
    487258
    488259AC_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)
    491263
    492264AC_SUBST(RTEMS_BSP)
     
    504276AC_SUBST(program_prefix)
    505277
    506 
     278# pick up all the Makefiles in required parts of the tree
     279RTEMS_CHECK_MAKEFILE(c/build-tools)
     280RTEMS_CHECK_MAKEFILE(c/make)
     281RTEMS_CHECK_MAKEFILE(c/src/lib/libmisc)
     282RTEMS_CHECK_MAKEFILE(c/src/tests/samples)
     283
     284# try not to explicitly list a Makefile here
    507285AC_OUTPUT(
    508286Makefile
    509287c/Makefile
    510 c/build-tools/Makefile
    511 c/build-tools/os/Makefile
    512 c/build-tools/os/msdos/Makefile
    513 c/build-tools/scripts/Makefile
    514 c/build-tools/src/Makefile
    515 c/make/Makefile
    516 c/make/host.cfg
    517 c/make/Templates/Makefile.inc
    518288c/src/Makefile
    519289c/src/exec/Makefile
    520 c/src/exec/posix/Makefile
    521 c/src/exec/posix/base/Makefile
    522 c/src/exec/posix/headers/Makefile
    523 c/src/exec/posix/inline/Makefile
    524 c/src/exec/posix/macros/Makefile
    525 c/src/exec/posix/optman/Makefile
    526 c/src/exec/posix/src/Makefile
    527 c/src/exec/posix/sys/Makefile
    528 c/src/exec/rtems/Makefile
    529 c/src/exec/rtems/headers/Makefile
    530 c/src/exec/rtems/inline/Makefile
    531 c/src/exec/rtems/macros/Makefile
    532 c/src/exec/rtems/optman/Makefile
    533 c/src/exec/rtems/src/Makefile
    534 c/src/exec/sapi/Makefile
    535 c/src/exec/sapi/headers/Makefile
    536 c/src/exec/sapi/inline/Makefile
    537 c/src/exec/sapi/macros/Makefile
    538 c/src/exec/sapi/optman/Makefile
    539 c/src/exec/sapi/src/Makefile
    540290c/src/exec/score/Makefile
    541291c/src/exec/score/cpu/Makefile
    542292c/src/exec/score/headers/Makefile
    543293c/src/exec/score/inline/Makefile
    544 c/src/exec/score/macros/Makefile
    545294c/src/exec/score/src/Makefile
    546295c/src/exec/score/tools/Makefile
    547296c/src/exec/score/tools/generic/Makefile
    548 c/src/exec/wrapup/Makefile
    549 c/src/exec/wrapup/posix/Makefile
    550 c/src/exec/wrapup/rtems/Makefile
    551297c/src/lib/Makefile
    552298c/src/lib/include/Makefile
     
    555301c/src/lib/libc/Makefile
    556302c/src/lib/libcpu/Makefile
    557 c/src/lib/libmisc/Makefile
    558 c/src/lib/libmisc/assoc/Makefile
    559 c/src/lib/libmisc/cpuuse/Makefile
    560 c/src/lib/libmisc/error/Makefile
    561 c/src/lib/libmisc/monitor/Makefile
    562 c/src/lib/libmisc/rtmonuse/Makefile
    563 c/src/lib/libmisc/stackchk/Makefile
    564 c/src/lib/libmisc/wrapup/Makefile
    565303c/src/lib/start/Makefile
    566304c/src/lib/wrapup/Makefile
    567305c/src/tests/Makefile
    568 c/src/tests/samples/Makefile
    569 c/src/tests/samples/base_mp/Makefile
    570 c/src/tests/samples/base_mp/node1/Makefile
    571 c/src/tests/samples/base_mp/node2/Makefile
    572 c/src/tests/samples/base_sp/Makefile
    573 c/src/tests/samples/cdtest/Makefile
    574 c/src/tests/samples/hello/Makefile
    575 c/src/tests/samples/paranoia/Makefile
    576 c/src/tests/samples/ticker/Makefile
    577306c/src/tests/support/Makefile
    578307c/src/tests/support/include/Makefile
     
    581310c/src/tests/tools/Makefile
    582311c/src/tests/tools/generic/Makefile
    583 c/src/tests/tools/hppa1_1/Makefile
    584 c/src/tests/tools/hppa1_1/simhppa/Makefile
    585 c/src/tests/tools/sparc/Makefile
    586 c/src/tests/tools/sparc/erc32/Makefile
    587 c/src/tests/tools/unix/Makefile
    588 c/src/tests/tools/unix/posix/Makefile
    589312$makefiles
     313c/make/host.cfg
     314c/make/Templates/Makefile.inc
    590315c/update-tools/Makefile)
    591316
Note: See TracChangeset for help on using the changeset viewer.