Changeset 6b7ab9bf in rtems


Ignore:
Timestamp:
04/16/99 18:23:48 (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
60e6a0f
Parents:
c00fa38
Message:

Patch from Ralf Corsepius <corsepiu@…>:

FYI: I am not talking about using "make -C <dir>", which probably
is much faster on M$ hosts than RTEMS's implementation, but about
removing --enable-gmake-print support and to apply a variant of
automake's subdirectory.

Automake's subdirectory rule seems to be a little bit faster, but I
wouldn't bet on this.

Attached to this mail is my proposal.

After applying the patch, please run

cvs rm aclocal/enable-gmake-print.m4
./autogen

Files:
1 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • README.configure

    rc00fa38 r6b7ab9bf  
    2727        --enable-bare-cpu-cflags=<FLAGS>
    2828        --enable-gcc28               (also use enable-libcdir when disabled)
    29         --enable-gmake-print-directory
    3029        --enable-libcdir=<DIRECTORY>      (do not use if gcc 2.8 is enabled)
    3130        --enable-rtemsbsp="bsp1 bsp2 ..."
  • aclocal.m4

    rc00fa38 r6b7ab9bf  
    5151AC_SUBST(RTEMS_ROOT)
    5252])dnl
    53 
    54 dnl $Id$
    55 dnl
    56 dnl Note: This option is considered obsolete
    57 
    58 AC_DEFUN(RTEMS_ENABLE_GMAKE_PRINT,
    59 [
    60 AC_ARG_ENABLE(gmake-print-directory,
    61 [  --enable-gmake-print-directory       enable GNU Make's print directory],
    62 [case "${enableval}" in
    63   yes) RTEMS_USE_OWN_PDIR=no ;;
    64   no) RTEMS_USE_OWN_PDIR=yes ;;
    65   *)  AC_MSG_ERROR(bad value ${enableval} for gmake-print-directory option)
    66 ;;
    67 esac],[RTEMS_USE_OWN_PDIR=yes])
    68 AC_SUBST(RTEMS_USE_OWN_PDIR)dnl
    69 ])
    7053
    7154dnl $Id$
  • c/src/make/directory.cfg

    rc00fa38 r6b7ab9bf  
    99#
    1010
    11 # include $(RTEMS_ROOT)/make/main.cfg
     11# RULE=$(shell echo $@ | $(SED) -e s/debug_// -e s/profile_//)
    1212
    13 # on a 'make -k' we don't want to bomb out of directory list
    14 EXIT_CMD=exit 1
    15 ifeq (k, $(findstring k, $(MAKEFLAGS)))
    16 EXIT_CMD=true
    17 endif
    18 
    19 RULE=$(shell echo $@ | $(SED) -e s/debug_// -e s/profile_//)
    20 
    21 ifeq ($(RTEMS_USE_OWN_PDIR),yes)
     13# This is a simplified variant of automake-1.4's rule for handling
     14# subdirectories
    2215$(RECURSE_TARGETS):
    23         @$(ECHO); \
    24         BASEDIR=`pwd`; \
    25         test -d $$BASEDIR || $(EXIT_CMD) ; \
    26         for subd in $(SUB_DIRS) xxx; \
    27         do if [ $$subd != xxx ] ; then  \
    28             cd $$BASEDIR; \
    29             if [ ! -d $$subd ] ; then \
    30               $(ECHO) "*** ERROR -- Directory ($$subd) does not exist!!!"; \
    31               $(EXIT_CMD) ; \
    32             fi ; \
    33             $(ECHO); \
    34             $(ECHO) "***  $$BASEDIR/$$subd ($@)" ; \
    35             cmd="cd $$subd; $(MAKE) $(RULE)"; \
    36             $(ECHO) $$cmd; \
    37             eval $$cmd || $(EXIT_CMD); \
    38   fi; done; \
    39         $(ECHO); \
    40         $(ECHO) "***  $$BASEDIR/$@ ($@) Finished."; \
    41         $(ECHO)
    42         $($@_WRAPUP)
    43 else
    44 ifdef RECURSE_TARGETS
    45 $(RECURSE_TARGETS):
    46         @$(ECHO) ; set -e ; \
    47         if [ "$(SUB_DIRS)" != "" ] ; then \
    48           sdirs="$(SUB_DIRS)" ; \
    49         else \
    50           sdirs="xxx" ; \
    51         fi ; \
    52         if [ "$$sdirs" != "xxx" ] ; then \
    53           for subd in $$sdirs; do $(MAKE) -w -C $$subd $(RULE); done ;\
    54         fi
    55 endif
    56 endif
    57 
     16        @set fnord $(MAKEFLAGS); amf=$$2; \
     17        dot_seen=no; \
     18        target=`echo $@ | sed -e s/-recursive// -e s/debug_// -e s/profile_// `; \
     19        list='$(SUB_DIRS)'; for subdir in $$list; do \
     20          echo "Making $$target RTEMS_BSP=${RTEMS_BSP} in $$subdir"; \
     21          local_target="$$target"; \
     22          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     23           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
     24        done && test -z "$$fail"
  • c/update-tools/cipolish

    rc00fa38 r6b7ab9bf  
    8282    #remove the line
    8383  }
    84   elsif ( /^[   ]*AC_SUBST\(RTEMS_USE_OWN_PDIR\)[       ]*$/o )
    85   {
     84  elsif ( /^[\s\t]*AC_SUBST\(RTEMS_USE_OWN_PDIR\)[      ]*$/o )
     85  { # obsolete option
     86    #remove the line
     87  }
     88  elsif ( /^[\s\t]*RTEMS_ENABLE_GMAKE_PRINT[     ]*$/o )
     89  { # obsolete macro
    8690    #remove the line
    8791  }
  • configure

    rc00fa38 r6b7ab9bf  
    1616ac_help="$ac_help
    1717  --with-cross-host=HOST      host (cygnus)"
    18 ac_help="$ac_help
    19   --enable-gmake-print-directory       enable GNU Make's print directory"
    2018ac_help="$ac_help
    2119  --enable-multiprocessing             enable multiprocessing interface"
     
    577575
    578576echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
    579 echo "configure:580: checking for RTEMS Version" >&5
     577echo "configure:578: checking for RTEMS Version" >&5
    580578if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
    581579RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     
    594592
    595593echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    596 echo "configure:597: checking whether ${MAKE-make} sets \${MAKE}" >&5
     594echo "configure:595: checking whether ${MAKE-make} sets \${MAKE}" >&5
    597595set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    598596if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    667665
    668666echo $ac_n "checking host system type""... $ac_c" 1>&6
    669 echo "configure:670: checking host system type" >&5
     667echo "configure:668: checking host system type" >&5
    670668
    671669host_alias=$host
     
    688686
    689687echo $ac_n "checking target system type""... $ac_c" 1>&6
    690 echo "configure:691: checking target system type" >&5
     688echo "configure:689: checking target system type" >&5
    691689
    692690target_alias=$target
     
    706704
    707705echo $ac_n "checking build system type""... $ac_c" 1>&6
    708 echo "configure:709: checking build system type" >&5
     706echo "configure:707: checking build system type" >&5
    709707
    710708build_alias=$build
     
    734732  \
    735733host=$withval
    736 fi
    737 
    738 
    739 
    740 # Check whether --enable-gmake-print-directory or --disable-gmake-print-directory was given.
    741 if test "${enable_gmake_print_directory+set}" = set; then
    742   enableval="$enable_gmake_print_directory"
    743   case "${enableval}" in
    744   yes) RTEMS_USE_OWN_PDIR=no ;;
    745   no) RTEMS_USE_OWN_PDIR=yes ;;
    746   *)  { echo "configure: error: bad value ${enableval} for gmake-print-directory option" 1>&2; exit 1; }
    747 ;;
    748 esac
    749 else
    750   RTEMS_USE_OWN_PDIR=yes
    751734fi
    752735
     
    913896set dummy cat; ac_word=$2
    914897echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    915 echo "configure:916: checking for $ac_word" >&5
     898echo "configure:899: checking for $ac_word" >&5
    916899if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then
    917900  echo $ac_n "(cached) $ac_c" 1>&6
     
    948931set dummy rm; ac_word=$2
    949932echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    950 echo "configure:951: checking for $ac_word" >&5
     933echo "configure:934: checking for $ac_word" >&5
    951934if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
    952935  echo $ac_n "(cached) $ac_c" 1>&6
     
    983966set dummy cp; ac_word=$2
    984967echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    985 echo "configure:986: checking for $ac_word" >&5
     968echo "configure:969: checking for $ac_word" >&5
    986969if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
    987970  echo $ac_n "(cached) $ac_c" 1>&6
     
    10181001set dummy mv; ac_word=$2
    10191002echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1020 echo "configure:1021: checking for $ac_word" >&5
     1003echo "configure:1004: checking for $ac_word" >&5
    10211004if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
    10221005  echo $ac_n "(cached) $ac_c" 1>&6
     
    10531036set dummy ln; ac_word=$2
    10541037echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1055 echo "configure:1056: checking for $ac_word" >&5
     1038echo "configure:1039: checking for $ac_word" >&5
    10561039if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
    10571040  echo $ac_n "(cached) $ac_c" 1>&6
     
    10861069
    10871070echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1088 echo "configure:1089: checking whether ln -s works" >&5
     1071echo "configure:1072: checking whether ln -s works" >&5
    10891072if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    10901073  echo $ac_n "(cached) $ac_c" 1>&6
     
    11091092set dummy chmod; ac_word=$2
    11101093echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1111 echo "configure:1112: checking for $ac_word" >&5
     1094echo "configure:1095: checking for $ac_word" >&5
    11121095if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
    11131096  echo $ac_n "(cached) $ac_c" 1>&6
     
    11441127set dummy sort; ac_word=$2
    11451128echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1146 echo "configure:1147: checking for $ac_word" >&5
     1129echo "configure:1130: checking for $ac_word" >&5
    11471130if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then
    11481131  echo $ac_n "(cached) $ac_c" 1>&6
     
    11881171# ./install, which can be erroneously created by make from ./install.sh.
    11891172echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1190 echo "configure:1191: checking for a BSD compatible install" >&5
     1173echo "configure:1174: checking for a BSD compatible install" >&5
    11911174if test -z "$INSTALL"; then
    11921175if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    12441227set dummy perl; ac_word=$2
    12451228echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1246 echo "configure:1247: checking for $ac_word" >&5
     1229echo "configure:1230: checking for $ac_word" >&5
    12471230if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
    12481231  echo $ac_n "(cached) $ac_c" 1>&6
     
    12861269set dummy mkdir; ac_word=$2
    12871270echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1288 echo "configure:1289: checking for $ac_word" >&5
     1271echo "configure:1272: checking for $ac_word" >&5
    12891272if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
    12901273  echo $ac_n "(cached) $ac_c" 1>&6
     
    13221305
    13231306echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6
    1324 echo "configure:1325: checking for working $MKDIR -m 0755" >&5
     1307echo "configure:1308: checking for working $MKDIR -m 0755" >&5
    13251308if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then
    13261309  echo $ac_n "(cached) $ac_c" 1>&6
     
    13391322
    13401323echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6
    1341 echo "configure:1342: checking for working $MKDIR -p" >&5
     1324echo "configure:1325: checking for working $MKDIR -p" >&5
    13421325if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then
    13431326  echo $ac_n "(cached) $ac_c" 1>&6
     
    13591342set dummy touch; ac_word=$2
    13601343echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1361 echo "configure:1362: checking for $ac_word" >&5
     1344echo "configure:1345: checking for $ac_word" >&5
    13621345if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then
    13631346  echo $ac_n "(cached) $ac_c" 1>&6
     
    13941377set dummy cmp; ac_word=$2
    13951378echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1396 echo "configure:1397: checking for $ac_word" >&5
     1379echo "configure:1380: checking for $ac_word" >&5
    13971380if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
    13981381  echo $ac_n "(cached) $ac_c" 1>&6
     
    14301413set dummy sed; ac_word=$2
    14311414echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1432 echo "configure:1433: checking for $ac_word" >&5
     1415echo "configure:1416: checking for $ac_word" >&5
    14331416if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
    14341417  echo $ac_n "(cached) $ac_c" 1>&6
     
    14671450set dummy $ac_prog; ac_word=$2
    14681451echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1469 echo "configure:1470: checking for $ac_word" >&5
     1452echo "configure:1453: checking for $ac_word" >&5
    14701453if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
    14711454  echo $ac_n "(cached) $ac_c" 1>&6
     
    15091492set dummy $ac_prog; ac_word=$2
    15101493echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1511 echo "configure:1512: checking for $ac_word" >&5
     1494echo "configure:1495: checking for $ac_word" >&5
    15121495if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    15131496  echo $ac_n "(cached) $ac_c" 1>&6
     
    15571540
    15581541echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1559 echo "configure:1560: checking rtems target cpu" >&5
     1542echo "configure:1543: checking rtems target cpu" >&5
    15601543case "${target}" in
    15611544  # hpux unix port should go here
     
    15881571# Is this a supported CPU?
    15891572echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    1590 echo "configure:1591: checking if cpu $target_cpu is supported" >&5
     1573echo "configure:1574: checking if cpu $target_cpu is supported" >&5
    15911574if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$target_cpu"; then
    15921575  echo "$ac_t""yes" 1>&6
     
    16501633set dummy $ac_prog; ac_word=$2
    16511634echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1652 echo "configure:1653: checking for $ac_word" >&5
     1635echo "configure:1636: checking for $ac_word" >&5
    16531636if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then
    16541637  echo $ac_n "(cached) $ac_c" 1>&6
     
    16941677
    16951678echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1696 echo "configure:1697: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1679echo "configure:1680: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    16971680
    16981681ac_ext=c
     
    17051688cat > conftest.$ac_ext << EOF
    17061689
    1707 #line 1708 "configure"
     1690#line 1691 "configure"
    17081691#include "confdefs.h"
    17091692
    17101693main(){return(0);}
    17111694EOF
    1712 if { (eval echo configure:1713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1695if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17131696  ac_cv_prog_cc_works=yes
    17141697  # If we can't run a trivial program, we are probably using a cross compiler.
     
    17361719fi
    17371720echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1738 echo "configure:1739: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1721echo "configure:1722: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    17391722echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    17401723cross_compiling=$ac_cv_prog_cc_cross
    17411724
    17421725echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1743 echo "configure:1744: checking whether we are using GNU C" >&5
     1726echo "configure:1727: checking whether we are using GNU C" >&5
    17441727if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    17451728  echo $ac_n "(cached) $ac_c" 1>&6
     
    17501733#endif
    17511734EOF
    1752 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1735if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    17531736  ac_cv_prog_gcc=yes
    17541737else
     
    17651748  CFLAGS=
    17661749  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1767 echo "configure:1768: checking whether ${CC-cc} accepts -g" >&5
     1750echo "configure:1751: checking whether ${CC-cc} accepts -g" >&5
    17681751if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    17691752  echo $ac_n "(cached) $ac_c" 1>&6
     
    18071790
    18081791echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6
    1809 echo "configure:1810: checking whether $CC_FOR_TARGET accepts -specs" >&5
     1792echo "configure:1793: checking whether $CC_FOR_TARGET accepts -specs" >&5
    18101793if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then
    18111794  echo $ac_n "(cached) $ac_c" 1>&6
     
    18281811
    18291812echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6
    1830 echo "configure:1831: checking whether $CC_FOR_TARGET accepts --pipe" >&5
     1813echo "configure:1814: checking whether $CC_FOR_TARGET accepts --pipe" >&5
    18311814if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then
    18321815  echo $ac_n "(cached) $ac_c" 1>&6
     
    18691852set dummy $ac_prog; ac_word=$2
    18701853echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1871 echo "configure:1872: checking for $ac_word" >&5
     1854echo "configure:1855: checking for $ac_word" >&5
    18721855if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then
    18731856  echo $ac_n "(cached) $ac_c" 1>&6
     
    19131896
    19141897echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1915 echo "configure:1916: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1898echo "configure:1899: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    19161899
    19171900ac_ext=C
     
    19241907cat > conftest.$ac_ext << EOF
    19251908
    1926 #line 1927 "configure"
     1909#line 1910 "configure"
    19271910#include "confdefs.h"
    19281911
    19291912int main(){return(0);}
    19301913EOF
    1931 if { (eval echo configure:1932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1914if { (eval echo configure:1915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19321915  ac_cv_prog_cxx_works=yes
    19331916  # If we can't run a trivial program, we are probably using a cross compiler.
     
    19551938fi
    19561939echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1957 echo "configure:1958: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1940echo "configure:1941: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    19581941echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    19591942cross_compiling=$ac_cv_prog_cxx_cross
    19601943
    19611944echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1962 echo "configure:1963: checking whether we are using GNU C++" >&5
     1945echo "configure:1946: checking whether we are using GNU C++" >&5
    19631946if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    19641947  echo $ac_n "(cached) $ac_c" 1>&6
     
    19691952#endif
    19701953EOF
    1971 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1954if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    19721955  ac_cv_prog_gxx=yes
    19731956else
     
    19841967  CXXFLAGS=
    19851968  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1986 echo "configure:1987: checking whether ${CXX-g++} accepts -g" >&5
     1969echo "configure:1970: checking whether ${CXX-g++} accepts -g" >&5
    19871970if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    19881971  echo $ac_n "(cached) $ac_c" 1>&6
     
    20382021 
    20392022echo $ac_n "checking target's ar""... $ac_c" 1>&6
    2040 echo "configure:2041: checking target's ar" >&5
     2023echo "configure:2024: checking target's ar" >&5
    20412024if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    20422025  echo $ac_n "(cached) $ac_c" 1>&6
     
    20712054    # intends
    20722055    echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2073 echo "configure:2074: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
     2056echo "configure:2057: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
    20742057    case "$AR_FOR_TARGET" in
    20752058    /*) # valid
     
    20882071set dummy "$program_prefix"ar; ac_word=$2
    20892072echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2090 echo "configure:2091: checking for $ac_word" >&5
     2073echo "configure:2074: checking for $ac_word" >&5
    20912074if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    20922075  echo $ac_n "(cached) $ac_c" 1>&6
     
    21252108 
    21262109echo $ac_n "checking target's as""... $ac_c" 1>&6
    2127 echo "configure:2128: checking target's as" >&5
     2110echo "configure:2111: checking target's as" >&5
    21282111if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    21292112  echo $ac_n "(cached) $ac_c" 1>&6
     
    21582141    # intends
    21592142    echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2160 echo "configure:2161: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
     2143echo "configure:2144: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
    21612144    case "$AS_FOR_TARGET" in
    21622145    /*) # valid
     
    21752158set dummy "$program_prefix"as; ac_word=$2
    21762159echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2177 echo "configure:2178: checking for $ac_word" >&5
     2160echo "configure:2161: checking for $ac_word" >&5
    21782161if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    21792162  echo $ac_n "(cached) $ac_c" 1>&6
     
    22122195 
    22132196echo $ac_n "checking target's ld""... $ac_c" 1>&6
    2214 echo "configure:2215: checking target's ld" >&5
     2197echo "configure:2198: checking target's ld" >&5
    22152198if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    22162199  echo $ac_n "(cached) $ac_c" 1>&6
     
    22452228    # intends
    22462229    echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2247 echo "configure:2248: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
     2230echo "configure:2231: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
    22482231    case "$LD_FOR_TARGET" in
    22492232    /*) # valid
     
    22622245set dummy "$program_prefix"ld; ac_word=$2
    22632246echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2264 echo "configure:2265: checking for $ac_word" >&5
     2247echo "configure:2248: checking for $ac_word" >&5
    22652248if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    22662249  echo $ac_n "(cached) $ac_c" 1>&6
     
    22992282 
    23002283echo $ac_n "checking target's nm""... $ac_c" 1>&6
    2301 echo "configure:2302: checking target's nm" >&5
     2284echo "configure:2285: checking target's nm" >&5
    23022285if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    23032286  echo $ac_n "(cached) $ac_c" 1>&6
     
    23322315    # intends
    23332316    echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2334 echo "configure:2335: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
     2317echo "configure:2318: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
    23352318    case "$NM_FOR_TARGET" in
    23362319    /*) # valid
     
    23492332set dummy "$program_prefix"nm; ac_word=$2
    23502333echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2351 echo "configure:2352: checking for $ac_word" >&5
     2334echo "configure:2335: checking for $ac_word" >&5
    23522335if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    23532336  echo $ac_n "(cached) $ac_c" 1>&6
     
    23872370 
    23882371echo $ac_n "checking target's ranlib""... $ac_c" 1>&6
    2389 echo "configure:2390: checking target's ranlib" >&5
     2372echo "configure:2373: checking target's ranlib" >&5
    23902373if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    23912374  echo $ac_n "(cached) $ac_c" 1>&6
     
    24202403    # intends
    24212404    echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2422 echo "configure:2423: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
     2405echo "configure:2406: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
    24232406    case "$RANLIB_FOR_TARGET" in
    24242407    /*) # valid
     
    24372420set dummy "$program_prefix"ranlib; ac_word=$2
    24382421echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2439 echo "configure:2440: checking for $ac_word" >&5
     2422echo "configure:2423: checking for $ac_word" >&5
    24402423if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    24412424  echo $ac_n "(cached) $ac_c" 1>&6
     
    24762459   
    24772460echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6
    2478 echo "configure:2479: checking whether $AR_FOR_TARGET -s works" >&5
     2461echo "configure:2462: checking whether $AR_FOR_TARGET -s works" >&5
    24792462if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then
    24802463  echo $ac_n "(cached) $ac_c" 1>&6
     
    24852468{ return b; }
    24862469EOF
    2487 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    2488   && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2470if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2471  && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    24892472  && test -s conftest.a ; \
    24902473then
     
    25112494 
    25122495echo $ac_n "checking target's objcopy""... $ac_c" 1>&6
    2513 echo "configure:2514: checking target's objcopy" >&5
     2496echo "configure:2497: checking target's objcopy" >&5
    25142497if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    25152498  echo $ac_n "(cached) $ac_c" 1>&6
     
    25442527    # intends
    25452528    echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2546 echo "configure:2547: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
     2529echo "configure:2530: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
    25472530    case "$OBJCOPY_FOR_TARGET" in
    25482531    /*) # valid
     
    25612544set dummy "$program_prefix"objcopy; ac_word=$2
    25622545echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2563 echo "configure:2564: checking for $ac_word" >&5
     2546echo "configure:2547: checking for $ac_word" >&5
    25642547if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    25652548  echo $ac_n "(cached) $ac_c" 1>&6
     
    25982581 
    25992582echo $ac_n "checking target's size""... $ac_c" 1>&6
    2600 echo "configure:2601: checking target's size" >&5
     2583echo "configure:2584: checking target's size" >&5
    26012584if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    26022585  echo $ac_n "(cached) $ac_c" 1>&6
     
    26312614    # intends
    26322615    echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2633 echo "configure:2634: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
     2616echo "configure:2617: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
    26342617    case "$SIZE_FOR_TARGET" in
    26352618    /*) # valid
     
    26482631set dummy "$program_prefix"size; ac_word=$2
    26492632echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2650 echo "configure:2651: checking for $ac_word" >&5
     2633echo "configure:2634: checking for $ac_word" >&5
    26512634if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    26522635  echo $ac_n "(cached) $ac_c" 1>&6
     
    26852668 
    26862669echo $ac_n "checking target's strip""... $ac_c" 1>&6
    2687 echo "configure:2688: checking target's strip" >&5
     2670echo "configure:2671: checking target's strip" >&5
    26882671if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
    26892672  echo $ac_n "(cached) $ac_c" 1>&6
     
    27182701    # intends
    27192702    echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2720 echo "configure:2721: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5
     2703echo "configure:2704: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5
    27212704    case "$STRIP_FOR_TARGET" in
    27222705    /*) # valid
     
    27352718set dummy "$program_prefix"strip; ac_word=$2
    27362719echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2737 echo "configure:2738: checking for $ac_word" >&5
     2720echo "configure:2721: checking for $ac_word" >&5
    27382721if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
    27392722  echo $ac_n "(cached) $ac_c" 1>&6
     
    27742757 if test "${target_cpu}" = "i386"; then
    27752758    echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6
    2776 echo "configure:2777: checking for 16 bit mode assembler support" >&5
     2759echo "configure:2760: checking for 16 bit mode assembler support" >&5
    27772760if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then
    27782761  echo $ac_n "(cached) $ac_c" 1>&6
     
    27842767         lgdt 0
    27852768EOF
    2786       if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
     2769      if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
    27872770        rtems_cv_prog_gas_code16=yes
    27882771      else
     
    28002783set dummy gcc; ac_word=$2
    28012784echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2802 echo "configure:2803: checking for $ac_word" >&5
     2785echo "configure:2786: checking for $ac_word" >&5
    28032786if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    28042787  echo $ac_n "(cached) $ac_c" 1>&6
     
    28302813set dummy cc; ac_word=$2
    28312814echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2832 echo "configure:2833: checking for $ac_word" >&5
     2815echo "configure:2816: checking for $ac_word" >&5
    28332816if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    28342817  echo $ac_n "(cached) $ac_c" 1>&6
     
    28812864set dummy cl; ac_word=$2
    28822865echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2883 echo "configure:2884: checking for $ac_word" >&5
     2866echo "configure:2867: checking for $ac_word" >&5
    28842867if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    28852868  echo $ac_n "(cached) $ac_c" 1>&6
     
    29132896
    29142897echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2915 echo "configure:2916: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2898echo "configure:2899: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    29162899
    29172900ac_ext=c
     
    29242907cat > conftest.$ac_ext << EOF
    29252908
    2926 #line 2927 "configure"
     2909#line 2910 "configure"
    29272910#include "confdefs.h"
    29282911
    29292912main(){return(0);}
    29302913EOF
    2931 if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2914if { (eval echo configure:2915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29322915  ac_cv_prog_cc_works=yes
    29332916  # If we can't run a trivial program, we are probably using a cross compiler.
     
    29552938fi
    29562939echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2957 echo "configure:2958: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2940echo "configure:2941: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    29582941echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    29592942cross_compiling=$ac_cv_prog_cc_cross
    29602943
    29612944echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2962 echo "configure:2963: checking whether we are using GNU C" >&5
     2945echo "configure:2946: checking whether we are using GNU C" >&5
    29632946if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    29642947  echo $ac_n "(cached) $ac_c" 1>&6
     
    29692952#endif
    29702953EOF
    2971 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2954if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    29722955  ac_cv_prog_gcc=yes
    29732956else
     
    29882971CFLAGS=
    29892972echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2990 echo "configure:2991: checking whether ${CC-cc} accepts -g" >&5
     2973echo "configure:2974: checking whether ${CC-cc} accepts -g" >&5
    29912974if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    29922975  echo $ac_n "(cached) $ac_c" 1>&6
     
    30203003
    30213004echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    3022 echo "configure:3023: checking for Cygwin environment" >&5
     3005echo "configure:3006: checking for Cygwin environment" >&5
    30233006if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    30243007  echo $ac_n "(cached) $ac_c" 1>&6
    30253008else
    30263009  cat > conftest.$ac_ext <<EOF
    3027 #line 3028 "configure"
     3010#line 3011 "configure"
    30283011#include "confdefs.h"
    30293012
     
    30363019; return 0; }
    30373020EOF
    3038 if { (eval echo configure:3039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3021if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30393022  rm -rf conftest*
    30403023  ac_cv_cygwin=yes
     
    30533036test "$ac_cv_cygwin" = yes && CYGWIN=yes
    30543037echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    3055 echo "configure:3056: checking for mingw32 environment" >&5
     3038echo "configure:3039: checking for mingw32 environment" >&5
    30563039if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    30573040  echo $ac_n "(cached) $ac_c" 1>&6
    30583041else
    30593042  cat > conftest.$ac_ext <<EOF
    3060 #line 3061 "configure"
     3043#line 3044 "configure"
    30613044#include "confdefs.h"
    30623045
     
    30653048; return 0; }
    30663049EOF
    3067 if { (eval echo configure:3068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3050if { (eval echo configure:3051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30683051  rm -rf conftest*
    30693052  ac_cv_mingw32=yes
     
    30843067
    30853068echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    3086 echo "configure:3087: checking for executable suffix" >&5
     3069echo "configure:3070: checking for executable suffix" >&5
    30873070if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    30883071  echo $ac_n "(cached) $ac_c" 1>&6
     
    30943077  echo 'int main () { return 0; }' > conftest.$ac_ext
    30953078  ac_cv_exeext=
    3096   if { (eval echo configure:3097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     3079  if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    30973080    for file in conftest.*; do
    30983081      case $file in
     
    31333116
    31343117echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6
    3135 echo "configure:3136: checking whether $RTEMS_HOST supports System V semaphores" >&5
     3118echo "configure:3119: checking whether $RTEMS_HOST supports System V semaphores" >&5
    31363119if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then
    31373120  echo $ac_n "(cached) $ac_c" 1>&6
     
    31423125else
    31433126  cat > conftest.$ac_ext <<EOF
    3144 #line 3145 "configure"
     3127#line 3128 "configure"
    31453128#include "confdefs.h"
    31463129
     
    31683151
    31693152EOF
    3170 if { (eval echo configure:3171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3153if { (eval echo configure:3154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31713154then
    31723155  rtems_cv_sysv_sem="yes"
     
    31913174
    31923175echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6
    3193 echo "configure:3194: checking whether $RTEMS_HOST supports System V shared memory" >&5
     3176echo "configure:3177: checking whether $RTEMS_HOST supports System V shared memory" >&5
    31943177if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then
    31953178  echo $ac_n "(cached) $ac_c" 1>&6
     
    32003183else
    32013184  cat > conftest.$ac_ext <<EOF
    3202 #line 3203 "configure"
     3185#line 3186 "configure"
    32033186#include "confdefs.h"
    32043187
     
    32163199
    32173200EOF
    3218 if { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3201if { (eval echo configure:3202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32193202then
    32203203  rtems_cv_sysv_shm="yes"
     
    32393222
    32403223echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6
    3241 echo "configure:3242: checking whether $RTEMS_HOST supports System V messages" >&5
     3224echo "configure:3225: checking whether $RTEMS_HOST supports System V messages" >&5
    32423225if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then
    32433226  echo $ac_n "(cached) $ac_c" 1>&6
     
    32483231else
    32493232  cat > conftest.$ac_ext <<EOF
    3250 #line 3251 "configure"
     3233#line 3234 "configure"
    32513234#include "confdefs.h"
    32523235
     
    32643247
    32653248EOF
    3266 if { (eval echo configure:3267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3249if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32673250then
    32683251  rtems_cv_sysv_msg="yes"
     
    32963279
    32973280echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6
    3298 echo "configure:3299: checking for Makefile.in in c/src/exec/rtems" >&5
     3281echo "configure:3282: checking for Makefile.in in c/src/exec/rtems" >&5
    32993282if test -d $srcdir/c/src/exec/rtems; then
    33003283  rtems_av_save_dir=`pwd`;
     
    33113294
    33123295echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6
    3313 echo "configure:3314: checking for Makefile.in in c/src/exec/sapi" >&5
     3296echo "configure:3297: checking for Makefile.in in c/src/exec/sapi" >&5
    33143297if test -d $srcdir/c/src/exec/sapi; then
    33153298  rtems_av_save_dir=`pwd`;
     
    33263309
    33273310echo $ac_n "checking for Makefile.in in c/src/exec/score/cpu/$target_cpu""... $ac_c" 1>&6
    3328 echo "configure:3329: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&5
     3311echo "configure:3312: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&5
    33293312if test -d $srcdir/c/src/exec/score/cpu/$target_cpu; then
    33303313  rtems_av_save_dir=`pwd`;
     
    33433326 
    33443327echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
    3345 echo "configure:3346: checking for Makefile.in in c/src/exec/posix" >&5
     3328echo "configure:3329: checking for Makefile.in in c/src/exec/posix" >&5
    33463329if test -d $srcdir/c/src/exec/posix; then
    33473330  rtems_av_save_dir=`pwd`;
     
    33653348  if test -z "$rtems_bsp"; then
    33663349    echo $ac_n "checking for bsps""... $ac_c" 1>&6
    3367 echo "configure:3368: checking for bsps" >&5
     3350echo "configure:3351: checking for bsps" >&5
    33683351    files=`ls $srcdir/c/src/lib/libbsp/$target_cpu`
    33693352    for file in $files; do
     
    34303413       
    34313414echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6
    3432 echo "configure:3433: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
     3415echo "configure:3416: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
    34333416if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then
    34343417  rtems_av_save_dir=`pwd`;
     
    34453428       
    34463429echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6
    3447 echo "configure:3448: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
     3430echo "configure:3431: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
    34483431if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then
    34493432  rtems_av_save_dir=`pwd`;
     
    34753458
    34763459echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    3477 echo "configure:3478: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     3460echo "configure:3461: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    34783461if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    34793462  rtems_av_save_dir=`pwd`;
     
    34923475 
    34933476echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    3494 echo "configure:3495: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     3477echo "configure:3478: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    34953478if test -d $srcdir/c/src/lib/start/$target_cpu; then
    34963479  rtems_av_save_dir=`pwd`;
     
    35213504# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
    35223505echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6
    3523 echo "configure:3524: checking if networking is enabled? " >&5
     3506echo "configure:3507: checking if networking is enabled? " >&5
    35243507echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6
    35253508if test "$RTEMS_HAS_NETWORKING" = "yes"; then
    35263509 
    35273510echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6
    3528 echo "configure:3529: checking for Makefile.in in c/src/lib/libnetworking" >&5
     3511echo "configure:3512: checking for Makefile.in in c/src/lib/libnetworking" >&5
    35293512if test -d $srcdir/c/src/lib/libnetworking; then
    35303513  rtems_av_save_dir=`pwd`;
     
    35413524 
    35423525echo $ac_n "checking for Makefile.in in c/src/lib/librpc""... $ac_c" 1>&6
    3543 echo "configure:3544: checking for Makefile.in in c/src/lib/librpc" >&5
     3526echo "configure:3527: checking for Makefile.in in c/src/lib/librpc" >&5
    35443527if test -d $srcdir/c/src/lib/librpc; then
    35453528  rtems_av_save_dir=`pwd`;
     
    35563539  if test "$RTEMS_HAS_RDBG" = "yes"; then
    35573540    echo $ac_n "checking whether cpu supports rdbg? ""... $ac_c" 1>&6
    3558 echo "configure:3559: checking whether cpu supports rdbg? " >&5
     3541echo "configure:3542: checking whether cpu supports rdbg? " >&5
    35593542    test ! -d "$srcdir/c/src/lib/librdbg/$target_cpu" && RTEMS_HAS_RDBG="no" ;
    35603543    echo "$ac_t""$RTEMS_HAS_RDBG" 1>&6
     
    35633546set dummy rpcgen; ac_word=$2
    35643547echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3565 echo "configure:3566: checking for $ac_word" >&5
     3548echo "configure:3549: checking for $ac_word" >&5
    35663549if eval "test \"`echo '$''{'ac_cv_path_RPCGEN'+set}'`\" = set"; then
    35673550  echo $ac_n "(cached) $ac_c" 1>&6
     
    36033586set dummy $ac_prog; ac_word=$2
    36043587echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3605 echo "configure:3606: checking for $ac_word" >&5
     3588echo "configure:3589: checking for $ac_word" >&5
    36063589if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
    36073590  echo $ac_n "(cached) $ac_c" 1>&6
     
    36373620     
    36383621echo $ac_n "checking for Makefile.in in c/src/lib/librdbg""... $ac_c" 1>&6
    3639 echo "configure:3640: checking for Makefile.in in c/src/lib/librdbg" >&5
     3622echo "configure:3623: checking for Makefile.in in c/src/lib/librdbg" >&5
    36403623if test -d $srcdir/c/src/lib/librdbg; then
    36413624  rtems_av_save_dir=`pwd`;
     
    36643647# If the tests are enabled, then find all the test suite Makefiles
    36653648echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6
    3666 echo "configure:3667: checking if the test suites are enabled? " >&5
     3649echo "configure:3650: checking if the test suites are enabled? " >&5
    36673650# Check whether --enable-tests or --disable-tests was given.
    36683651if test "${enable_tests+set}" = set; then
     
    36853668   
    36863669echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    3687 echo "configure:3688: checking for Makefile.in in c/src/tests/libtests" >&5
     3670echo "configure:3671: checking for Makefile.in in c/src/tests/libtests" >&5
    36883671if test -d $srcdir/c/src/tests/libtests; then
    36893672  rtems_av_save_dir=`pwd`;
     
    37003683   
    37013684echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    3702 echo "configure:3703: checking for Makefile.in in c/src/tests/sptests" >&5
     3685echo "configure:3686: checking for Makefile.in in c/src/tests/sptests" >&5
    37033686if test -d $srcdir/c/src/tests/sptests; then
    37043687  rtems_av_save_dir=`pwd`;
     
    37153698   
    37163699echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    3717 echo "configure:3718: checking for Makefile.in in c/src/tests/tmtests" >&5
     3700echo "configure:3701: checking for Makefile.in in c/src/tests/tmtests" >&5
    37183701if test -d $srcdir/c/src/tests/tmtests; then
    37193702  rtems_av_save_dir=`pwd`;
     
    37313714       
    37323715echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    3733 echo "configure:3734: checking for Makefile.in in c/src/tests/mptests" >&5
     3716echo "configure:3717: checking for Makefile.in in c/src/tests/mptests" >&5
    37343717if test -d $srcdir/c/src/tests/mptests; then
    37353718  rtems_av_save_dir=`pwd`;
     
    37483731     
    37493732echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    3750 echo "configure:3751: checking for Makefile.in in c/src/tests/psxtests" >&5
     3733echo "configure:3734: checking for Makefile.in in c/src/tests/psxtests" >&5
    37513734if test -d $srcdir/c/src/tests/psxtests; then
    37523735  rtems_av_save_dir=`pwd`;
     
    37833766if test "$RTEMS_HAS_HWAPI" = "yes"; then
    37843767  echo $ac_n "checking whether libwapi is present""... $ac_c" 1>&6
    3785 echo "configure:3786: checking whether libwapi is present" >&5
     3768echo "configure:3769: checking whether libwapi is present" >&5
    37863769  if test -f ${srcdir}/c/src/lib/libhwapi/Makefile.in ; then
    37873770    echo "$ac_t""yes" 1>&6
     
    37893772   
    37903773echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6
    3791 echo "configure:3792: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
     3774echo "configure:3775: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
    37923775if test -d $srcdir/c/src/lib/libhwapi/analog; then
    37933776  rtems_av_save_dir=`pwd`;
     
    38043787   
    38053788echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6
    3806 echo "configure:3807: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
     3789echo "configure:3790: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
    38073790if test -d $srcdir/c/src/lib/libhwapi/discrete; then
    38083791  rtems_av_save_dir=`pwd`;
     
    38193802   
    38203803echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6
    3821 echo "configure:3822: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
     3804echo "configure:3805: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
    38223805if test -d $srcdir/c/src/lib/libhwapi/drivers; then
    38233806  rtems_av_save_dir=`pwd`;
     
    38343817   
    38353818echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6
    3836 echo "configure:3837: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
     3819echo "configure:3820: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
    38373820if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then
    38383821  rtems_av_save_dir=`pwd`;
     
    38493832   
    38503833echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6
    3851 echo "configure:3852: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
     3834echo "configure:3835: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
    38523835if test -d $srcdir/c/src/lib/libhwapi/serial; then
    38533836  rtems_av_save_dir=`pwd`;
     
    38643847   
    38653848echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6
    3866 echo "configure:3867: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
     3849echo "configure:3850: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
    38673850if test -d $srcdir/c/src/lib/libhwapi/support; then
    38683851  rtems_av_save_dir=`pwd`;
     
    38793862   
    38803863echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6
    3881 echo "configure:3882: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
     3864echo "configure:3865: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
    38823865if test -d $srcdir/c/src/lib/libhwapi/wrapup; then
    38833866  rtems_av_save_dir=`pwd`;
     
    39123895
    39133896echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6
    3914 echo "configure:3915: checking for Makefile.in in make" >&5
     3897echo "configure:3898: checking for Makefile.in in make" >&5
    39153898if test -d $srcdir/make; then
    39163899  rtems_av_save_dir=`pwd`;
     
    39273910
    39283911echo $ac_n "checking for Makefile.in in c/src/lib/libchip""... $ac_c" 1>&6
    3929 echo "configure:3930: checking for Makefile.in in c/src/lib/libchip" >&5
     3912echo "configure:3913: checking for Makefile.in in c/src/lib/libchip" >&5
    39303913if test -d $srcdir/c/src/lib/libchip; then
    39313914  rtems_av_save_dir=`pwd`;
     
    39423925
    39433926echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    3944 echo "configure:3945: checking for Makefile.in in c/src/lib/libmisc" >&5
     3927echo "configure:3928: checking for Makefile.in in c/src/lib/libmisc" >&5
    39453928if test -d $srcdir/c/src/lib/libmisc; then
    39463929  rtems_av_save_dir=`pwd`;
     
    39573940
    39583941echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    3959 echo "configure:3960: checking for Makefile.in in c/src/tests/samples" >&5
     3942echo "configure:3943: checking for Makefile.in in c/src/tests/samples" >&5
    39603943if test -d $srcdir/c/src/tests/samples; then
    39613944  rtems_av_save_dir=`pwd`;
     
    41854168s%@build_vendor@%$build_vendor%g
    41864169s%@build_os@%$build_os%g
    4187 s%@RTEMS_USE_OWN_PDIR@%$RTEMS_USE_OWN_PDIR%g
    41884170s%@RTEMS_HAS_MULTIPROCESSING@%$RTEMS_HAS_MULTIPROCESSING%g
    41894171s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g
  • configure.in

    rc00fa38 r6b7ab9bf  
    1515host=$withval)
    1616
    17 RTEMS_ENABLE_GMAKE_PRINT
    1817RTEMS_ENABLE_MULTIPROCESSING
    1918RTEMS_ENABLE_POSIX
  • make/Templates/Makefile.inc.in

    rc00fa38 r6b7ab9bf  
    3333RTEMS_CUSTOM = $(prefix)/make/custom/$(RTEMS_BSP).cfg
    3434PROJECT_ROOT = $(prefix)/
    35 RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
     35RTEMS_USE_OWN_PDIR = no
    3636RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
    3737RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
  • make/directory.cfg

    rc00fa38 r6b7ab9bf  
    99#
    1010
    11 # include $(RTEMS_ROOT)/make/main.cfg
     11# RULE=$(shell echo $@ | $(SED) -e s/debug_// -e s/profile_//)
    1212
    13 # on a 'make -k' we don't want to bomb out of directory list
    14 EXIT_CMD=exit 1
    15 ifeq (k, $(findstring k, $(MAKEFLAGS)))
    16 EXIT_CMD=true
    17 endif
    18 
    19 RULE=$(shell echo $@ | $(SED) -e s/debug_// -e s/profile_//)
    20 
    21 ifeq ($(RTEMS_USE_OWN_PDIR),yes)
     13# This is a simplified variant of automake-1.4's rule for handling
     14# subdirectories
    2215$(RECURSE_TARGETS):
    23         @$(ECHO); \
    24         BASEDIR=`pwd`; \
    25         test -d $$BASEDIR || $(EXIT_CMD) ; \
    26         for subd in $(SUB_DIRS) xxx; \
    27         do if [ $$subd != xxx ] ; then  \
    28             cd $$BASEDIR; \
    29             if [ ! -d $$subd ] ; then \
    30               $(ECHO) "*** ERROR -- Directory ($$subd) does not exist!!!"; \
    31               $(EXIT_CMD) ; \
    32             fi ; \
    33             $(ECHO); \
    34             $(ECHO) "***  $$BASEDIR/$$subd ($@)" ; \
    35             cmd="cd $$subd; $(MAKE) $(RULE)"; \
    36             $(ECHO) $$cmd; \
    37             eval $$cmd || $(EXIT_CMD); \
    38   fi; done; \
    39         $(ECHO); \
    40         $(ECHO) "***  $$BASEDIR/$@ ($@) Finished."; \
    41         $(ECHO)
    42         $($@_WRAPUP)
    43 else
    44 ifdef RECURSE_TARGETS
    45 $(RECURSE_TARGETS):
    46         @$(ECHO) ; set -e ; \
    47         if [ "$(SUB_DIRS)" != "" ] ; then \
    48           sdirs="$(SUB_DIRS)" ; \
    49         else \
    50           sdirs="xxx" ; \
    51         fi ; \
    52         if [ "$$sdirs" != "xxx" ] ; then \
    53           for subd in $$sdirs; do $(MAKE) -w -C $$subd $(RULE); done ;\
    54         fi
    55 endif
    56 endif
    57 
     16        @set fnord $(MAKEFLAGS); amf=$$2; \
     17        dot_seen=no; \
     18        target=`echo $@ | sed -e s/-recursive// -e s/debug_// -e s/profile_// `; \
     19        list='$(SUB_DIRS)'; for subdir in $$list; do \
     20          echo "Making $$target RTEMS_BSP=${RTEMS_BSP} in $$subdir"; \
     21          local_target="$$target"; \
     22          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     23           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
     24        done && test -z "$$fail"
  • make/main.cfg

    rc00fa38 r6b7ab9bf  
    6767                $(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_install)
    6868
    69 ifeq ($(RTEMS_USE_OWN_PDIR),yes)
    70 MAKEFLAGS += --no-print-directory
    71 endif
    72 
    7369${ARCH}:
    7470        test -d ${ARCH} || $(MKDIR) ${ARCH}
  • make/target.cfg.in

    rc00fa38 r6b7ab9bf  
    3939
    4040RTEMS_HOST = @RTEMS_HOST@
    41 RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
    4241RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@
    4342RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
  • tools/update/cipolish

    rc00fa38 r6b7ab9bf  
    8282    #remove the line
    8383  }
    84   elsif ( /^[   ]*AC_SUBST\(RTEMS_USE_OWN_PDIR\)[       ]*$/o )
    85   {
     84  elsif ( /^[\s\t]*AC_SUBST\(RTEMS_USE_OWN_PDIR\)[      ]*$/o )
     85  { # obsolete option
     86    #remove the line
     87  }
     88  elsif ( /^[\s\t]*RTEMS_ENABLE_GMAKE_PRINT[     ]*$/o )
     89  { # obsolete macro
    8690    #remove the line
    8791  }
Note: See TracChangeset for help on using the changeset viewer.