Changeset 11cfb6f in rtems


Ignore:
Timestamp:
Oct 14, 1998, 8:19:30 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4cfdf321
Parents:
946b3cb
Message:

Patch from Ralf Corsepius <corsepiu@…>:

  1. Rtems contains some perl scripts that use hard-coded paths to /usr/bin/perl or /usr/local/bin/perl I have already fixed these problems by adding some checks to configure.in. While doing this, I also cleaned up some more autoconf related problems for generating shell scripts. This patch might seem a bit scary to you, but I am quite confident it won't break something (I've been testing it for almost a week now, however it might introduce typos for a limited number configurations I don't have access to - But it shouldn't be a problem for you to test them :-).

I expect to get this finished tonight, hence you will very likely
have the patch when you get up tomorrow.

Changes:

  • Check for PERL and disable all PERL scripts if perl wasn't found.
  • Generate all KSHELL-scripts with autoconf instead of make-script
  • Automatic dependency handling for autoconf generated KSHELL or PERL scripts (make/rtems.cfg)

Notes:

  • this patch contains new files and deletes some other files.
  • The patch is relative to rtems-4.0.0-beta4 with my previous rtems-rc-981014-1.diff patch applied.

Testing:

I tested it with sh-rtems and posix under linux. Now all targets
which are touched by this patch and which are not used while building
for sh-rtems and posix still need to be tested. AFAIS, only the
sparc/erc32 BSP should be affected by this criterion. And if you
like to, you should also consider testing it on a Cygwin32 and a
Solaris host for one arbitrary BSP.

Files:
26 added
14 edited

Legend:

Unmodified
Added
Removed
  • c/build-tools/README

    r946b3cb r11cfb6f  
    2323    "released" trees if they get confused about which
    2424    module they have loaded.
    25 
    26 rtems-glom
    27     glom together all the rtems libraries in order to simplify
    28     the link line used by applications.
    29     Produces rtems.rel.
    30     Not used by the RTEMS src tree at all.
    31     Strictly optional.
    32 
  • c/build-tools/scripts/Makefile.in

    r946b3cb r11cfb6f  
    1515include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    1616include $(RTEMS_ROOT)/make/leaf.cfg
     17include $(RTEMS_ROOT)/make/rtems.cfg
    1718
    1819DESTDIR=$(PROJECT_RELEASE)/build-tools
    1920
    20 PGMS=install-if-change rcs-clean lock-directory unlock-directory \
    21   search-id.sh
     21BUILD_PGMS=install-if-change rcs-clean lock-directory unlock-directory
     22PGMS = $(BUILD_PGMS) search-id.sh
    2223
    23 INSTALLED=$(PGMS:%=$(DESTDIR)/%)
     24CLEAN_ADDITIONS += $(BUILD_PGMS)
     25
     26INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
    2427
    2528all:    $(DESTDIR) $(PGMS) install
     
    2831        @INSTALL@ $(INSTDIRFLAGS) $@
    2932
    30 install:  $(INSTALLED)
     33$(INSTALLED_PGMS): $(PGMS)
     34        @INSTALL@ $(INSTBINFLAGS) $^ $(DESTDIR)
    3135
    32 # Install the program
    33 $(DESTDIR)/%: %
    34         $(make-script)
     36install:  $(DESTDIR) $(INSTALLED_PGMS)
  • c/build-tools/scripts/README

    r946b3cb r11cfb6f  
    2323    "released" trees if they get confused about which
    2424    module they have loaded.
    25 
    26 rtems-glom
    27     glom together all the rtems libraries in order to simplify
    28     the link line used by applications.
    29     Produces rtems.rel.
    30     Not used by the RTEMS src tree at all.
    31     Strictly optional.
    32 
  • c/src/exec/score/tools/generic/Makefile.in

    r946b3cb r11cfb6f  
    1515include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    1616include $(RTEMS_ROOT)/make/leaf.cfg
     17include $(RTEMS_ROOT)/make/rtems.cfg
    1718
    1819DESTDIR=$(PROJECT_RELEASE)/bin
    1920
    20 PGMS=size_rtems
     21BUILD_PGMS=size_rtems
     22PGMS=$(BUILD_PGMS)
    2123
    22 INSTALLED=$(PGMS:%=$(DESTDIR)/%)
     24CLEAN_ADDITIONS += $(BUILD_PGMS)
     25
     26INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
    2327
    2428all:    $(DESTDIR) $(PGMS) install
     
    2731        @INSTALL@ $(INSTDIRFLAGS) $@
    2832
    29 install:  $(INSTALLED)
     33$(INSTALLED_PGMS): $(PGMS)
     34        @INSTALL@ $(INSTBINFLAGS) $^ $@
    3035
    31 # Install the program
    32 $(DESTDIR)/%: %
    33         @INSTALL@ $(INSTBINFLAGS) $^ $@
     36install:  $(DESTDIR) $(INSTALLED_PGMS)
  • c/src/lib/libbsp/sparc/erc32/tools/Makefile.in

    r946b3cb r11cfb6f  
    1111include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    1212include $(RTEMS_ROOT)/make/leaf.cfg
     13include $(RTEMS_ROOT)/make/rtems.cfg
    1314
    1415DESTDIR=$(PROJECT_RELEASE)/tests
    1516
    16 PGMS=runtest
     17BUILD_PGMS = runtest
     18PGMS = $(BUILD_PGMS)
    1719
    18 INSTALLED=$(PGMS:%=$(DESTDIR)/%)
     20CLEAN_ADDITIONS += $(BUILD_PGMS)
     21
     22INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
    1923
    2024all:    $(DESTDIR) $(PGMS) install
    2125
    22 install:  $(INSTALLED)
     26$(DESTDIR):
     27        @INSTALL@ $(INSTDIRFLAGS) $@
    2328
    24 # Install the program
    25 $(DESTDIR)/%: %
    26         $(make-script)
     29$(INSTALLED_PGMS): $(PGMS)
     30        @INSTALL@ $(INSTBINFLAGS) $^ $(DESTDIR)
     31
     32install: $(DESTDIR) $(INSTALLED_PGMS)
  • c/src/lib/libbsp/unix/posix/tools/Makefile.in

    r946b3cb r11cfb6f  
    1111include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    1212include $(RTEMS_ROOT)/make/leaf.cfg
     13include $(RTEMS_ROOT)/make/rtems.cfg
    1314
    1415DESTDIR=$(PROJECT_RELEASE)/tests
    1516
    1617# We use the generic difftest
    17 PGMS=runtest looptest semdump shmdump
     18BUILD_PGMS=runtest looptest
     19ifneq (@PERL@,)
     20BUILD_PGMS+=semdump shmdump
     21endif
    1822
    19 INSTALLED=$(PGMS:%=$(DESTDIR)/%)
     23PGMS = $(BUILD_PGMS)
     24
     25CLEAN_ADDITIONS += $(BUILD_PGMS)
     26
     27INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
    2028
    2129all:    $(DESTDIR) $(PGMS) install
    2230
    23 install:  $(INSTALLED)
     31$(DESTDIR):
     32        @INSTALL@ $(INSTDIRFLAGS) $@
    2433
    25 # Install the program, replacing #!KSHELL with $(KSH)
    26 # and first line #!SHELL with $(SHELL)
    27 $(DESTDIR)/%: %
    28         -$(RM) $@.old
    29         -$(MV) $@ $@.old >/dev/null 2>&1
    30         $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@
    31         $(CHMOD) 0555 $@
     34$(INSTALLED_PGMS): $(PGMS)
     35        @INSTALL@ $(INSTBINFLAGS) $^ $(DESTDIR)
     36
     37install:  $(DESTDIR) $(INSTALLED_PGMS)
  • c/update-tools/Makefile.in

    r946b3cb r11cfb6f  
    11#
    22# $Id$
    3 #
    4 # NOTE: of course we can't use any of these tools
    5 #   in this Makefile.  Most notably: install-if-change
    63#
    74
     
    1411include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    1512include $(RTEMS_ROOT)/make/leaf.cfg
     13include $(RTEMS_ROOT)/make/rtems.cfg
    1614
    1715DESTDIR=$(PROJECT_RELEASE)/update-tools
    1816
    19 PGMS=update word-replace
     17BUILD_PGMS = update
     18ifneq (@PERL@,)
     19BUILD_PGMS += word-replace
     20endif
     21
     22PGMS = $(BUILD_PGMS)
     23
     24CLEAN_ADDITIONS += $(BUILD_PGMS)
     25
    2026MISC_SUPPORT=310_to_320_list
    2127
    22 INSTALL_LIST= $(PGMS) $(MISC_SUPPORT)
     28INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
     29INSTALLED_DATA=$(MISC_SUPPORT:%=$(DESTDIR)/%)
    2330
    24 INSTALLED=$(INSTALL_LIST:%=$(DESTDIR)/%)
    25 
    26 all:  $(DESTDIR)
     31all:  $(PGMS)
    2732
    2833$(DESTDIR):
    2934        @INSTALL@ $(INSTDIRFLAGS) $@
    3035
    31 install:  $(INSTALLED)
     36$(INSTALLED_PGMS): $(PGMS)
     37        @INSTALL@ $(INSTBINFLAGS) $^ $(DESTDIR)
    3238
    33 # Install the program
    34 # FIXME: This isn't correct
    35 $(DESTDIR)/%: %
    36         $(make-script)
    37         @INSTALL@  $(INSTBINFLAGS) $(PERL_PGMS) ${DESTDIR}
    38         @INSTALL@  $(INSTDATAFLAGS) $(MISC_SUPPORT) ${DESTDIR}
     39$(INSTALLED_DATA): $(MISC_SUPPORT)
     40        @INSTALL@ $(INSTDATAFLAGS) $^ $(DESTDIR)
     41
     42install: $(DESTDIR) $(INSTALLED_PGMS) $(INSTALLED_DATA)
     43
  • configure

    r946b3cb r11cfb6f  
    11531153test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    11541154
     1155# Extract the first word of "perl", so it can be a program name with args.
     1156set dummy perl; ac_word=$2
     1157echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1158echo "configure:1159: checking for $ac_word" >&5
     1159if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
     1160  echo $ac_n "(cached) $ac_c" 1>&6
     1161else
     1162  case "$PERL" in
     1163  /*)
     1164  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
     1165  ;;
     1166  *)
     1167  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
     1168  for ac_dir in $PATH; do
     1169    test -z "$ac_dir" && ac_dir=.
     1170    if test -f $ac_dir/$ac_word; then
     1171      ac_cv_path_PERL="$ac_dir/$ac_word"
     1172      break
     1173    fi
     1174  done
     1175  IFS="$ac_save_ifs"
     1176  ;;
     1177esac
     1178fi
     1179PERL="$ac_cv_path_PERL"
     1180if test -n "$PERL"; then
     1181  echo "$ac_t""$PERL" 1>&6
     1182else
     1183  echo "$ac_t""no" 1>&6
     1184fi
     1185
     1186if test -z "$PERL" ; then
     1187echo "configure: warning: ***
     1188   perl was not found
     1189   Note: Some tools will not be built." 1>&2
     1190fi
    11551191
    11561192# Extract the first word of "mkdir", so it can be a program name with args.
    11571193set dummy mkdir; ac_word=$2
    11581194echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1159 echo "configure:1160: checking for $ac_word" >&5
     1195echo "configure:1196: checking for $ac_word" >&5
    11601196if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
    11611197  echo $ac_n "(cached) $ac_c" 1>&6
     
    11891225
    11901226echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6
    1191 echo "configure:1192: checking for working $MKDIR -m 0755" >&5
     1227echo "configure:1228: checking for working $MKDIR -m 0755" >&5
    11921228if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then
    11931229  echo $ac_n "(cached) $ac_c" 1>&6
     
    12061242
    12071243echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6
    1208 echo "configure:1209: checking for working $MKDIR -p" >&5
     1244echo "configure:1245: checking for working $MKDIR -p" >&5
    12091245if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then
    12101246  echo $ac_n "(cached) $ac_c" 1>&6
     
    12261262set dummy touch; ac_word=$2
    12271263echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1228 echo "configure:1229: checking for $ac_word" >&5
     1264echo "configure:1265: checking for $ac_word" >&5
    12291265if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then
    12301266  echo $ac_n "(cached) $ac_c" 1>&6
     
    12571293set dummy cmp; ac_word=$2
    12581294echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1259 echo "configure:1260: checking for $ac_word" >&5
     1295echo "configure:1296: checking for $ac_word" >&5
    12601296if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
    12611297  echo $ac_n "(cached) $ac_c" 1>&6
     
    12891325set dummy sed; ac_word=$2
    12901326echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1291 echo "configure:1292: checking for $ac_word" >&5
     1327echo "configure:1328: checking for $ac_word" >&5
    12921328if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
    12931329  echo $ac_n "(cached) $ac_c" 1>&6
     
    13221358set dummy $ac_prog; ac_word=$2
    13231359echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1324 echo "configure:1325: checking for $ac_word" >&5
     1360echo "configure:1361: checking for $ac_word" >&5
    13251361if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
    13261362  echo $ac_n "(cached) $ac_c" 1>&6
     
    13591395set dummy $ac_prog; ac_word=$2
    13601396echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1361 echo "configure:1362: checking for $ac_word" >&5
     1397echo "configure:1398: checking for $ac_word" >&5
    13621398if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    13631399  echo $ac_n "(cached) $ac_c" 1>&6
     
    14371473  *)
    14381474        echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1439 echo "configure:1440: checking rtems target cpu" >&5
     1475echo "configure:1476: checking rtems target cpu" >&5
    14401476target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    14411477echo "$ac_t""$target_cpu" 1>&6
     
    14561492# Is this a supported CPU?
    14571493echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    1458 echo "configure:1459: checking if cpu $target_cpu is supported" >&5
     1494echo "configure:1495: checking if cpu $target_cpu is supported" >&5
    14591495if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then
    14601496  echo "$ac_t""yes" 1>&6
     
    14811517set dummy $ac_prog; ac_word=$2
    14821518echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1483 echo "configure:1484: checking for $ac_word" >&5
     1519echo "configure:1520: checking for $ac_word" >&5
    14841520if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then
    14851521  echo $ac_n "(cached) $ac_c" 1>&6
     
    15211557
    15221558echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1523 echo "configure:1524: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1559echo "configure:1560: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    15241560
    15251561ac_ext=c
     
    15311567
    15321568cat > conftest.$ac_ext <<EOF
    1533 #line 1534 "configure"
     1569#line 1570 "configure"
    15341570#include "confdefs.h"
    15351571main(){return(0);}
    15361572EOF
    1537 if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1573if { (eval echo configure:1574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    15381574  ac_cv_prog_cc_works=yes
    15391575  # If we can't run a trivial program, we are probably using a cross compiler.
     
    15551591fi
    15561592echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1557 echo "configure:1558: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1593echo "configure:1594: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    15581594echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    15591595cross_compiling=$ac_cv_prog_cc_cross
    15601596
    15611597echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1562 echo "configure:1563: checking whether we are using GNU C" >&5
     1598echo "configure:1599: checking whether we are using GNU C" >&5
    15631599if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    15641600  echo $ac_n "(cached) $ac_c" 1>&6
     
    15691605#endif
    15701606EOF
    1571 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1607if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    15721608  ac_cv_prog_gcc=yes
    15731609else
     
    15841620  CFLAGS=
    15851621  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1586 echo "configure:1587: checking whether ${CC-cc} accepts -g" >&5
     1622echo "configure:1623: checking whether ${CC-cc} accepts -g" >&5
    15871623if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    15881624  echo $ac_n "(cached) $ac_c" 1>&6
     
    16261662
    16271663echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6
    1628 echo "configure:1629: checking whether $CC_FOR_TARGET accepts -specs" >&5
     1664echo "configure:1665: checking whether $CC_FOR_TARGET accepts -specs" >&5
    16291665if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then
    16301666  echo $ac_n "(cached) $ac_c" 1>&6
     
    16471683
    16481684echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6
    1649 echo "configure:1650: checking whether $CC_FOR_TARGET accepts --pipe" >&5
     1685echo "configure:1686: checking whether $CC_FOR_TARGET accepts --pipe" >&5
    16501686if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then
    16511687  echo $ac_n "(cached) $ac_c" 1>&6
     
    16881724set dummy $ac_prog; ac_word=$2
    16891725echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1690 echo "configure:1691: checking for $ac_word" >&5
     1726echo "configure:1727: checking for $ac_word" >&5
    16911727if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then
    16921728  echo $ac_n "(cached) $ac_c" 1>&6
     
    17281764
    17291765echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1730 echo "configure:1731: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1766echo "configure:1767: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    17311767
    17321768ac_ext=C
     
    17381774
    17391775cat > conftest.$ac_ext <<EOF
    1740 #line 1741 "configure"
     1776#line 1777 "configure"
    17411777#include "confdefs.h"
    17421778main(){return(0);}
    17431779EOF
    1744 if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1780if { (eval echo configure:1781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    17451781  ac_cv_prog_cxx_works=yes
    17461782  # If we can't run a trivial program, we are probably using a cross compiler.
     
    17681804fi
    17691805echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1770 echo "configure:1771: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1806echo "configure:1807: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    17711807echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    17721808cross_compiling=$ac_cv_prog_cxx_cross
    17731809
    17741810echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1775 echo "configure:1776: checking whether we are using GNU C++" >&5
     1811echo "configure:1812: checking whether we are using GNU C++" >&5
    17761812if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    17771813  echo $ac_n "(cached) $ac_c" 1>&6
     
    17821818#endif
    17831819EOF
    1784 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1820if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    17851821  ac_cv_prog_gxx=yes
    17861822else
     
    17971833  CXXFLAGS=
    17981834  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1799 echo "configure:1800: checking whether ${CXX-g++} accepts -g" >&5
     1835echo "configure:1836: checking whether ${CXX-g++} accepts -g" >&5
    18001836if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    18011837  echo $ac_n "(cached) $ac_c" 1>&6
     
    18511887 
    18521888echo $ac_n "checking target's ar""... $ac_c" 1>&6
    1853 echo "configure:1854: checking target's ar" >&5
     1889echo "configure:1890: checking target's ar" >&5
    18541890if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    18551891  echo $ac_n "(cached) $ac_c" 1>&6
     
    18841920    # intends
    18851921    echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1886 echo "configure:1887: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
     1922echo "configure:1923: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
    18871923    case "$AR_FOR_TARGET" in
    18881924    /*) # valid
     
    19011937set dummy "$program_prefix"ar; ac_word=$2
    19021938echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1903 echo "configure:1904: checking for $ac_word" >&5
     1939echo "configure:1940: checking for $ac_word" >&5
    19041940if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    19051941  echo $ac_n "(cached) $ac_c" 1>&6
     
    19341970 
    19351971echo $ac_n "checking target's as""... $ac_c" 1>&6
    1936 echo "configure:1937: checking target's as" >&5
     1972echo "configure:1973: checking target's as" >&5
    19371973if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    19381974  echo $ac_n "(cached) $ac_c" 1>&6
     
    19672003    # intends
    19682004    echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1969 echo "configure:1970: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
     2005echo "configure:2006: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
    19702006    case "$AS_FOR_TARGET" in
    19712007    /*) # valid
     
    19842020set dummy "$program_prefix"as; ac_word=$2
    19852021echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1986 echo "configure:1987: checking for $ac_word" >&5
     2022echo "configure:2023: checking for $ac_word" >&5
    19872023if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    19882024  echo $ac_n "(cached) $ac_c" 1>&6
     
    20172053 
    20182054echo $ac_n "checking target's ld""... $ac_c" 1>&6
    2019 echo "configure:2020: checking target's ld" >&5
     2055echo "configure:2056: checking target's ld" >&5
    20202056if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    20212057  echo $ac_n "(cached) $ac_c" 1>&6
     
    20502086    # intends
    20512087    echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2052 echo "configure:2053: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
     2088echo "configure:2089: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
    20532089    case "$LD_FOR_TARGET" in
    20542090    /*) # valid
     
    20672103set dummy "$program_prefix"ld; ac_word=$2
    20682104echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2069 echo "configure:2070: checking for $ac_word" >&5
     2105echo "configure:2106: checking for $ac_word" >&5
    20702106if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    20712107  echo $ac_n "(cached) $ac_c" 1>&6
     
    21002136 
    21012137echo $ac_n "checking target's nm""... $ac_c" 1>&6
    2102 echo "configure:2103: checking target's nm" >&5
     2138echo "configure:2139: checking target's nm" >&5
    21032139if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    21042140  echo $ac_n "(cached) $ac_c" 1>&6
     
    21332169    # intends
    21342170    echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2135 echo "configure:2136: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
     2171echo "configure:2172: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
    21362172    case "$NM_FOR_TARGET" in
    21372173    /*) # valid
     
    21502186set dummy "$program_prefix"nm; ac_word=$2
    21512187echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2152 echo "configure:2153: checking for $ac_word" >&5
     2188echo "configure:2189: checking for $ac_word" >&5
    21532189if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    21542190  echo $ac_n "(cached) $ac_c" 1>&6
     
    21842220 
    21852221echo $ac_n "checking target's ranlib""... $ac_c" 1>&6
    2186 echo "configure:2187: checking target's ranlib" >&5
     2222echo "configure:2223: checking target's ranlib" >&5
    21872223if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    21882224  echo $ac_n "(cached) $ac_c" 1>&6
     
    22172253    # intends
    22182254    echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2219 echo "configure:2220: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
     2255echo "configure:2256: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
    22202256    case "$RANLIB_FOR_TARGET" in
    22212257    /*) # valid
     
    22342270set dummy "$program_prefix"ranlib; ac_word=$2
    22352271echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2236 echo "configure:2237: checking for $ac_word" >&5
     2272echo "configure:2273: checking for $ac_word" >&5
    22372273if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    22382274  echo $ac_n "(cached) $ac_c" 1>&6
     
    22692305   
    22702306echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6
    2271 echo "configure:2272: checking whether $AR_FOR_TARGET -s works" >&5
     2307echo "configure:2308: checking whether $AR_FOR_TARGET -s works" >&5
    22722308if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then
    22732309  echo $ac_n "(cached) $ac_c" 1>&6
     
    22782314{ return b; }
    22792315EOF
    2280 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    2281   && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2316if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2317  && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    22822318  && test -s conftest.a ; \
    22832319then
     
    23042340 
    23052341echo $ac_n "checking target's objcopy""... $ac_c" 1>&6
    2306 echo "configure:2307: checking target's objcopy" >&5
     2342echo "configure:2343: checking target's objcopy" >&5
    23072343if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    23082344  echo $ac_n "(cached) $ac_c" 1>&6
     
    23372373    # intends
    23382374    echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2339 echo "configure:2340: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
     2375echo "configure:2376: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
    23402376    case "$OBJCOPY_FOR_TARGET" in
    23412377    /*) # valid
     
    23542390set dummy "$program_prefix"objcopy; ac_word=$2
    23552391echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2356 echo "configure:2357: checking for $ac_word" >&5
     2392echo "configure:2393: checking for $ac_word" >&5
    23572393if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    23582394  echo $ac_n "(cached) $ac_c" 1>&6
     
    23872423 
    23882424echo $ac_n "checking target's size""... $ac_c" 1>&6
    2389 echo "configure:2390: checking target's size" >&5
     2425echo "configure:2426: checking target's size" >&5
    23902426if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    23912427  echo $ac_n "(cached) $ac_c" 1>&6
     
    24202456    # intends
    24212457    echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2422 echo "configure:2423: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
     2458echo "configure:2459: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
    24232459    case "$SIZE_FOR_TARGET" in
    24242460    /*) # valid
     
    24372473set dummy "$program_prefix"size; ac_word=$2
    24382474echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2439 echo "configure:2440: checking for $ac_word" >&5
     2475echo "configure:2476: checking for $ac_word" >&5
    24402476if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    24412477  echo $ac_n "(cached) $ac_c" 1>&6
     
    24722508if test "${target_cpu}" = "i386"; then
    24732509    echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6
    2474 echo "configure:2475: checking for 16 bit mode assembler support" >&5
     2510echo "configure:2511: checking for 16 bit mode assembler support" >&5
    24752511if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then
    24762512  echo $ac_n "(cached) $ac_c" 1>&6
     
    24822518         lgdt 0
    24832519EOF
    2484       if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
     2520      if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
    24852521        rtems_cv_prog_gas_code16=yes
    24862522      else
     
    24972533set dummy gcc; ac_word=$2
    24982534echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2499 echo "configure:2500: checking for $ac_word" >&5
     2535echo "configure:2536: checking for $ac_word" >&5
    25002536if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    25012537  echo $ac_n "(cached) $ac_c" 1>&6
     
    25262562set dummy cc; ac_word=$2
    25272563echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2528 echo "configure:2529: checking for $ac_word" >&5
     2564echo "configure:2565: checking for $ac_word" >&5
    25292565if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    25302566  echo $ac_n "(cached) $ac_c" 1>&6
     
    25742610
    25752611echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2576 echo "configure:2577: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2612echo "configure:2613: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    25772613
    25782614ac_ext=c
     
    25842620
    25852621cat > conftest.$ac_ext <<EOF
    2586 #line 2587 "configure"
     2622#line 2623 "configure"
    25872623#include "confdefs.h"
    25882624main(){return(0);}
    25892625EOF
    2590 if { (eval echo configure:2591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2626if { (eval echo configure:2627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    25912627  ac_cv_prog_cc_works=yes
    25922628  # If we can't run a trivial program, we are probably using a cross compiler.
     
    26082644fi
    26092645echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2610 echo "configure:2611: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2646echo "configure:2647: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    26112647echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    26122648cross_compiling=$ac_cv_prog_cc_cross
    26132649
    26142650echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2615 echo "configure:2616: checking whether we are using GNU C" >&5
     2651echo "configure:2652: checking whether we are using GNU C" >&5
    26162652if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    26172653  echo $ac_n "(cached) $ac_c" 1>&6
     
    26222658#endif
    26232659EOF
    2624 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2660if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    26252661  ac_cv_prog_gcc=yes
    26262662else
     
    26372673  CFLAGS=
    26382674  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2639 echo "configure:2640: checking whether ${CC-cc} accepts -g" >&5
     2675echo "configure:2676: checking whether ${CC-cc} accepts -g" >&5
    26402676if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    26412677  echo $ac_n "(cached) $ac_c" 1>&6
     
    26662702
    26672703echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
    2668 echo "configure:2669: checking for Cygwin32 environment" >&5
     2704echo "configure:2705: checking for Cygwin32 environment" >&5
    26692705if eval "test \"`echo '$''{'rtems_cv_cygwin32'+set}'`\" = set"; then
    26702706  echo $ac_n "(cached) $ac_c" 1>&6
    26712707else
    26722708  cat > conftest.$ac_ext <<EOF
    2673 #line 2674 "configure"
     2709#line 2710 "configure"
    26742710#include "confdefs.h"
    26752711
     
    26782714; return 0; }
    26792715EOF
    2680 if { (eval echo configure:2681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2716if { (eval echo configure:2717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26812717  rm -rf conftest*
    26822718  rtems_cv_cygwin32=yes
     
    26962732
    26972733echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2698 echo "configure:2699: checking for executable suffix" >&5
     2734echo "configure:2735: checking for executable suffix" >&5
    26992735if eval "test \"`echo '$''{'rtems_cv_exeext'+set}'`\" = set"; then
    27002736  echo $ac_n "(cached) $ac_c" 1>&6
     
    27372773do
    27382774echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2739 echo "configure:2740: checking for $ac_func" >&5
     2775echo "configure:2776: checking for $ac_func" >&5
    27402776if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    27412777  echo $ac_n "(cached) $ac_c" 1>&6
    27422778else
    27432779  cat > conftest.$ac_ext <<EOF
    2744 #line 2745 "configure"
     2780#line 2781 "configure"
    27452781#include "confdefs.h"
    27462782/* System header to define __stub macros and hopefully few prototypes,
     
    27652801; return 0; }
    27662802EOF
    2767 if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2803if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    27682804  rm -rf conftest*
    27692805  eval "ac_cv_func_$ac_func=yes"
     
    27942830
    27952831echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6
    2796 echo "configure:2797: checking whether $RTEMS_HOST supports System V semaphores" >&5
     2832echo "configure:2833: checking whether $RTEMS_HOST supports System V semaphores" >&5
    27972833if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then
    27982834  echo $ac_n "(cached) $ac_c" 1>&6
     
    28032839else
    28042840  cat > conftest.$ac_ext <<EOF
    2805 #line 2806 "configure"
     2841#line 2842 "configure"
    28062842#include "confdefs.h"
    28072843
     
    28292865
    28302866EOF
    2831 if { (eval echo configure:2832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2867if { (eval echo configure:2868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    28322868then
    28332869  rtems_cv_sysv_sem="yes"
     
    28522888
    28532889echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6
    2854 echo "configure:2855: checking whether $RTEMS_HOST supports System V shared memory" >&5
     2890echo "configure:2891: checking whether $RTEMS_HOST supports System V shared memory" >&5
    28552891if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then
    28562892  echo $ac_n "(cached) $ac_c" 1>&6
     
    28612897else
    28622898  cat > conftest.$ac_ext <<EOF
    2863 #line 2864 "configure"
     2899#line 2900 "configure"
    28642900#include "confdefs.h"
    28652901
     
    28772913
    28782914EOF
    2879 if { (eval echo configure:2880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2915if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    28802916then
    28812917  rtems_cv_sysv_shm="yes"
     
    29002936
    29012937echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6
    2902 echo "configure:2903: checking whether $RTEMS_HOST supports System V messages" >&5
     2938echo "configure:2939: checking whether $RTEMS_HOST supports System V messages" >&5
    29032939if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then
    29042940  echo $ac_n "(cached) $ac_c" 1>&6
     
    29092945else
    29102946  cat > conftest.$ac_ext <<EOF
    2911 #line 2912 "configure"
     2947#line 2948 "configure"
    29122948#include "confdefs.h"
    29132949
     
    29252961
    29262962EOF
    2927 if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2963if { (eval echo configure:2964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    29282964then
    29292965  rtems_cv_sysv_msg="yes"
     
    29502986
    29512987echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6
    2952 echo "configure:2953: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
     2988echo "configure:2989: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
    29532989if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then
    29542990  rtems_av_save_dir=`pwd`;
     
    29653001
    29663002echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6
    2967 echo "configure:2968: checking for Makefile.in in c/src/exec/rtems" >&5
     3003echo "configure:3004: checking for Makefile.in in c/src/exec/rtems" >&5
    29683004if test -d $srcdir/c/src/exec/rtems; then
    29693005  rtems_av_save_dir=`pwd`;
     
    29803016
    29813017echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6
    2982 echo "configure:2983: checking for Makefile.in in c/src/exec/sapi" >&5
     3018echo "configure:3019: checking for Makefile.in in c/src/exec/sapi" >&5
    29833019if test -d $srcdir/c/src/exec/sapi; then
    29843020  rtems_av_save_dir=`pwd`;
     
    29973033 
    29983034echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
    2999 echo "configure:3000: checking for Makefile.in in c/src/exec/posix" >&5
     3035echo "configure:3036: checking for Makefile.in in c/src/exec/posix" >&5
    30003036if test -d $srcdir/c/src/exec/posix; then
    30013037  rtems_av_save_dir=`pwd`;
     
    30193055  if test -z "$rtems_bsp"; then
    30203056    echo $ac_n "checking for bsps""... $ac_c" 1>&6
    3021 echo "configure:3022: checking for bsps" >&5
     3057echo "configure:3058: checking for bsps" >&5
    30223058    files=`ls $srcdir/c/src/lib/libbsp/$target_cpu`
    30233059    for file in $files; do
     
    30843120       
    30853121echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6
    3086 echo "configure:3087: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
     3122echo "configure:3123: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
    30873123if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then
    30883124  rtems_av_save_dir=`pwd`;
     
    30993135       
    31003136echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6
    3101 echo "configure:3102: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
     3137echo "configure:3138: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
    31023138if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then
    31033139  rtems_av_save_dir=`pwd`;
     
    31223158
    31233159echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    3124 echo "configure:3125: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     3160echo "configure:3161: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    31253161if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    31263162  rtems_av_save_dir=`pwd`;
     
    31393175 
    31403176echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    3141 echo "configure:3142: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     3177echo "configure:3178: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    31423178if test -d $srcdir/c/src/lib/start/$target_cpu; then
    31433179  rtems_av_save_dir=`pwd`;
     
    31713207# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
    31723208echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6
    3173 echo "configure:3174: checking if networking is enabled? " >&5
     3209echo "configure:3210: checking if networking is enabled? " >&5
    31743210echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6
    31753211if test "$RTEMS_HAS_NETWORKING" = "yes"; then
    31763212 
    31773213echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6
    3178 echo "configure:3179: checking for Makefile.in in c/src/lib/libnetworking" >&5
     3214echo "configure:3215: checking for Makefile.in in c/src/lib/libnetworking" >&5
    31793215if test -d $srcdir/c/src/lib/libnetworking; then
    31803216  rtems_av_save_dir=`pwd`;
     
    31983234# If the tests are enabled, then find all the test suite Makefiles
    31993235echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6
    3200 echo "configure:3201: checking if the test suites are enabled? " >&5
     3236echo "configure:3237: checking if the test suites are enabled? " >&5
    32013237tests_enabled=yes
    32023238# Check whether --enable-tests or --disable-tests was given.
     
    32173253
    32183254echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
    3219 echo "configure:3220: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     3255echo "configure:3256: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
    32203256if test -d $srcdir/c/src/tests/tools/$target_cpu; then
    32213257  rtems_av_save_dir=`pwd`;
     
    32343270   
    32353271echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    3236 echo "configure:3237: checking for Makefile.in in c/src/tests/libtests" >&5
     3272echo "configure:3273: checking for Makefile.in in c/src/tests/libtests" >&5
    32373273if test -d $srcdir/c/src/tests/libtests; then
    32383274  rtems_av_save_dir=`pwd`;
     
    32493285   
    32503286echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    3251 echo "configure:3252: checking for Makefile.in in c/src/tests/sptests" >&5
     3287echo "configure:3288: checking for Makefile.in in c/src/tests/sptests" >&5
    32523288if test -d $srcdir/c/src/tests/sptests; then
    32533289  rtems_av_save_dir=`pwd`;
     
    32643300   
    32653301echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    3266 echo "configure:3267: checking for Makefile.in in c/src/tests/tmtests" >&5
     3302echo "configure:3303: checking for Makefile.in in c/src/tests/tmtests" >&5
    32673303if test -d $srcdir/c/src/tests/tmtests; then
    32683304  rtems_av_save_dir=`pwd`;
     
    32793315   
    32803316echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    3281 echo "configure:3282: checking for Makefile.in in c/src/tests/mptests" >&5
     3317echo "configure:3318: checking for Makefile.in in c/src/tests/mptests" >&5
    32823318if test -d $srcdir/c/src/tests/mptests; then
    32833319  rtems_av_save_dir=`pwd`;
     
    32953331     
    32963332echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    3297 echo "configure:3298: checking for Makefile.in in c/src/tests/psxtests" >&5
     3333echo "configure:3334: checking for Makefile.in in c/src/tests/psxtests" >&5
    32983334if test -d $srcdir/c/src/tests/psxtests; then
    32993335  rtems_av_save_dir=`pwd`;
     
    33133349# If the HWAPI is enabled, the find the HWAPI Makefiles
    33143350echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6
    3315 echo "configure:3316: checking if the HWAPI is enabled? " >&5
     3351echo "configure:3352: checking if the HWAPI is enabled? " >&5
    33163352# Check whether --enable-hwapi or --disable-hwapi was given.
    33173353if test "${enable_hwapi+set}" = set; then
     
    33243360           
    33253361echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6
    3326 echo "configure:3327: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
     3362echo "configure:3363: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
    33273363if test -d $srcdir/c/src/lib/libhwapi/analog; then
    33283364  rtems_av_save_dir=`pwd`;
     
    33393375           
    33403376echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6
    3341 echo "configure:3342: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
     3377echo "configure:3378: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
    33423378if test -d $srcdir/c/src/lib/libhwapi/discrete; then
    33433379  rtems_av_save_dir=`pwd`;
     
    33543390           
    33553391echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6
    3356 echo "configure:3357: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
     3392echo "configure:3393: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
    33573393if test -d $srcdir/c/src/lib/libhwapi/drivers; then
    33583394  rtems_av_save_dir=`pwd`;
     
    33693405           
    33703406echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6
    3371 echo "configure:3372: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
     3407echo "configure:3408: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
    33723408if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then
    33733409  rtems_av_save_dir=`pwd`;
     
    33843420           
    33853421echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6
    3386 echo "configure:3387: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
     3422echo "configure:3423: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
    33873423if test -d $srcdir/c/src/lib/libhwapi/serial; then
    33883424  rtems_av_save_dir=`pwd`;
     
    33993435           
    34003436echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6
    3401 echo "configure:3402: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
     3437echo "configure:3438: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
    34023438if test -d $srcdir/c/src/lib/libhwapi/support; then
    34033439  rtems_av_save_dir=`pwd`;
     
    34143450           
    34153451echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6
    3416 echo "configure:3417: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
     3452echo "configure:3453: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
    34173453if test -d $srcdir/c/src/lib/libhwapi/wrapup; then
    34183454  rtems_av_save_dir=`pwd`;
     
    34643500
    34653501echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6
    3466 echo "configure:3467: checking for Makefile.in in c/build-tools" >&5
     3502echo "configure:3503: checking for Makefile.in in c/build-tools" >&5
    34673503if test -d $srcdir/c/build-tools; then
    34683504  rtems_av_save_dir=`pwd`;
     
    34793515
    34803516echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6
    3481 echo "configure:3482: checking for Makefile.in in make" >&5
     3517echo "configure:3518: checking for Makefile.in in make" >&5
    34823518if test -d $srcdir/make; then
    34833519  rtems_av_save_dir=`pwd`;
     
    34943530
    34953531echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    3496 echo "configure:3497: checking for Makefile.in in c/src/lib/libmisc" >&5
     3532echo "configure:3533: checking for Makefile.in in c/src/lib/libmisc" >&5
    34973533if test -d $srcdir/c/src/lib/libmisc; then
    34983534  rtems_av_save_dir=`pwd`;
     
    35093545
    35103546echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    3511 echo "configure:3512: checking for Makefile.in in c/src/tests/samples" >&5
     3547echo "configure:3548: checking for Makefile.in in c/src/tests/samples" >&5
    35123548if test -d $srcdir/c/src/tests/samples; then
    35133549  rtems_av_save_dir=`pwd`;
     
    36423678c/src/exec/score/tools/Makefile
    36433679c/src/exec/score/tools/generic/Makefile
    3644 c/src/exec/score/tools/generic/size_rtems
    36453680c/src/exec/wrapup/Makefile
    36463681c/src/exec/wrapup/rtems/Makefile
     
    37173752s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    37183753s%@INSTALL_DATA@%$INSTALL_DATA%g
     3754s%@PERL@%$PERL%g
    37193755s%@MKDIR@%$MKDIR%g
    37203756s%@TOUCH@%$TOUCH%g
     
    38103846c/src/exec/score/tools/Makefile
    38113847c/src/exec/score/tools/generic/Makefile
    3812 c/src/exec/score/tools/generic/size_rtems
    38133848c/src/exec/wrapup/Makefile
    38143849c/src/exec/wrapup/rtems/Makefile
  • configure.in

    r946b3cb r11cfb6f  
    9696AC_PATH_PROG(SORT,sort)
    9797AC_PROG_INSTALL
     98AC_PATH_PROG(PERL,perl)
     99if test -z "$PERL" ; then
     100AC_MSG_WARN(
     101[***]
     102[   perl was not found]
     103[   Note: Some tools will not be built.])
     104fi
    98105
    99106dnl check mkdir behaviour, try to get mkdir -p -m 0755
     
    497504c/src/exec/score/tools/Makefile
    498505c/src/exec/score/tools/generic/Makefile
    499 c/src/exec/score/tools/generic/size_rtems
    500506c/src/exec/wrapup/Makefile
    501507c/src/exec/wrapup/rtems/Makefile
  • tools/build/README

    r946b3cb r11cfb6f  
    2323    "released" trees if they get confused about which
    2424    module they have loaded.
    25 
    26 rtems-glom
    27     glom together all the rtems libraries in order to simplify
    28     the link line used by applications.
    29     Produces rtems.rel.
    30     Not used by the RTEMS src tree at all.
    31     Strictly optional.
    32 
  • tools/build/scripts/Makefile.in

    r946b3cb r11cfb6f  
    1515include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    1616include $(RTEMS_ROOT)/make/leaf.cfg
     17include $(RTEMS_ROOT)/make/rtems.cfg
    1718
    1819DESTDIR=$(PROJECT_RELEASE)/build-tools
    1920
    20 PGMS=install-if-change rcs-clean lock-directory unlock-directory \
    21   search-id.sh
     21BUILD_PGMS=install-if-change rcs-clean lock-directory unlock-directory
     22PGMS = $(BUILD_PGMS) search-id.sh
    2223
    23 INSTALLED=$(PGMS:%=$(DESTDIR)/%)
     24CLEAN_ADDITIONS += $(BUILD_PGMS)
     25
     26INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
    2427
    2528all:    $(DESTDIR) $(PGMS) install
     
    2831        @INSTALL@ $(INSTDIRFLAGS) $@
    2932
    30 install:  $(INSTALLED)
     33$(INSTALLED_PGMS): $(PGMS)
     34        @INSTALL@ $(INSTBINFLAGS) $^ $(DESTDIR)
    3135
    32 # Install the program
    33 $(DESTDIR)/%: %
    34         $(make-script)
     36install:  $(DESTDIR) $(INSTALLED_PGMS)
  • tools/build/scripts/README

    r946b3cb r11cfb6f  
    2323    "released" trees if they get confused about which
    2424    module they have loaded.
    25 
    26 rtems-glom
    27     glom together all the rtems libraries in order to simplify
    28     the link line used by applications.
    29     Produces rtems.rel.
    30     Not used by the RTEMS src tree at all.
    31     Strictly optional.
    32 
  • tools/cpu/generic/Makefile.in

    r946b3cb r11cfb6f  
    1515include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    1616include $(RTEMS_ROOT)/make/leaf.cfg
     17include $(RTEMS_ROOT)/make/rtems.cfg
    1718
    1819DESTDIR=$(PROJECT_RELEASE)/bin
    1920
    20 PGMS=size_rtems
     21BUILD_PGMS=size_rtems
     22PGMS=$(BUILD_PGMS)
    2123
    22 INSTALLED=$(PGMS:%=$(DESTDIR)/%)
     24CLEAN_ADDITIONS += $(BUILD_PGMS)
     25
     26INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
    2327
    2428all:    $(DESTDIR) $(PGMS) install
     
    2731        @INSTALL@ $(INSTDIRFLAGS) $@
    2832
    29 install:  $(INSTALLED)
     33$(INSTALLED_PGMS): $(PGMS)
     34        @INSTALL@ $(INSTBINFLAGS) $^ $@
    3035
    31 # Install the program
    32 $(DESTDIR)/%: %
    33         @INSTALL@ $(INSTBINFLAGS) $^ $@
     36install:  $(DESTDIR) $(INSTALLED_PGMS)
  • tools/update/Makefile.in

    r946b3cb r11cfb6f  
    11#
    22# $Id$
    3 #
    4 # NOTE: of course we can't use any of these tools
    5 #   in this Makefile.  Most notably: install-if-change
    63#
    74
     
    1411include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    1512include $(RTEMS_ROOT)/make/leaf.cfg
     13include $(RTEMS_ROOT)/make/rtems.cfg
    1614
    1715DESTDIR=$(PROJECT_RELEASE)/update-tools
    1816
    19 PGMS=update word-replace
     17BUILD_PGMS = update
     18ifneq (@PERL@,)
     19BUILD_PGMS += word-replace
     20endif
     21
     22PGMS = $(BUILD_PGMS)
     23
     24CLEAN_ADDITIONS += $(BUILD_PGMS)
     25
    2026MISC_SUPPORT=310_to_320_list
    2127
    22 INSTALL_LIST= $(PGMS) $(MISC_SUPPORT)
     28INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
     29INSTALLED_DATA=$(MISC_SUPPORT:%=$(DESTDIR)/%)
    2330
    24 INSTALLED=$(INSTALL_LIST:%=$(DESTDIR)/%)
    25 
    26 all:  $(DESTDIR)
     31all:  $(PGMS)
    2732
    2833$(DESTDIR):
    2934        @INSTALL@ $(INSTDIRFLAGS) $@
    3035
    31 install:  $(INSTALLED)
     36$(INSTALLED_PGMS): $(PGMS)
     37        @INSTALL@ $(INSTBINFLAGS) $^ $(DESTDIR)
    3238
    33 # Install the program
    34 # FIXME: This isn't correct
    35 $(DESTDIR)/%: %
    36         $(make-script)
    37         @INSTALL@  $(INSTBINFLAGS) $(PERL_PGMS) ${DESTDIR}
    38         @INSTALL@  $(INSTDATAFLAGS) $(MISC_SUPPORT) ${DESTDIR}
     39$(INSTALLED_DATA): $(MISC_SUPPORT)
     40        @INSTALL@ $(INSTDATAFLAGS) $^ $(DESTDIR)
     41
     42install: $(DESTDIR) $(INSTALLED_PGMS) $(INSTALLED_DATA)
     43
Note: See TracChangeset for help on using the changeset viewer.