Changeset 6b7ab9bf in rtems
- Timestamp:
- 04/16/99 18:23:48 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 60e6a0f
- Parents:
- c00fa38
- Files:
-
- 1 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
README.configure
rc00fa38 r6b7ab9bf 27 27 --enable-bare-cpu-cflags=<FLAGS> 28 28 --enable-gcc28 (also use enable-libcdir when disabled) 29 --enable-gmake-print-directory30 29 --enable-libcdir=<DIRECTORY> (do not use if gcc 2.8 is enabled) 31 30 --enable-rtemsbsp="bsp1 bsp2 ..." -
aclocal.m4
rc00fa38 r6b7ab9bf 51 51 AC_SUBST(RTEMS_ROOT) 52 52 ])dnl 53 54 dnl $Id$55 dnl56 dnl Note: This option is considered obsolete57 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}" in63 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)dnl69 ])70 53 71 54 dnl $Id$ -
c/src/make/directory.cfg
rc00fa38 r6b7ab9bf 9 9 # 10 10 11 # include $(RTEMS_ROOT)/make/main.cfg11 # RULE=$(shell echo $@ | $(SED) -e s/debug_// -e s/profile_//) 12 12 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 22 15 $(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 82 82 #remove the line 83 83 } 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 86 90 #remove the line 87 91 } -
configure
rc00fa38 r6b7ab9bf 16 16 ac_help="$ac_help 17 17 --with-cross-host=HOST host (cygnus)" 18 ac_help="$ac_help19 --enable-gmake-print-directory enable GNU Make's print directory"20 18 ac_help="$ac_help 21 19 --enable-multiprocessing enable multiprocessing interface" … … 577 575 578 576 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 579 echo "configure:5 80: checking for RTEMS Version" >&5577 echo "configure:578: checking for RTEMS Version" >&5 580 578 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 581 579 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ … … 594 592 595 593 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 596 echo "configure:59 7: checking whether ${MAKE-make} sets \${MAKE}" >&5594 echo "configure:595: checking whether ${MAKE-make} sets \${MAKE}" >&5 597 595 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 598 596 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 667 665 668 666 echo $ac_n "checking host system type""... $ac_c" 1>&6 669 echo "configure:6 70: checking host system type" >&5667 echo "configure:668: checking host system type" >&5 670 668 671 669 host_alias=$host … … 688 686 689 687 echo $ac_n "checking target system type""... $ac_c" 1>&6 690 echo "configure:6 91: checking target system type" >&5688 echo "configure:689: checking target system type" >&5 691 689 692 690 target_alias=$target … … 706 704 707 705 echo $ac_n "checking build system type""... $ac_c" 1>&6 708 echo "configure:70 9: checking build system type" >&5706 echo "configure:707: checking build system type" >&5 709 707 710 708 build_alias=$build … … 734 732 \ 735 733 host=$withval 736 fi737 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; then742 enableval="$enable_gmake_print_directory"743 case "${enableval}" in744 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 esac749 else750 RTEMS_USE_OWN_PDIR=yes751 734 fi 752 735 … … 913 896 set dummy cat; ac_word=$2 914 897 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 915 echo "configure: 916: checking for $ac_word" >&5898 echo "configure:899: checking for $ac_word" >&5 916 899 if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then 917 900 echo $ac_n "(cached) $ac_c" 1>&6 … … 948 931 set dummy rm; ac_word=$2 949 932 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 950 echo "configure:9 51: checking for $ac_word" >&5933 echo "configure:934: checking for $ac_word" >&5 951 934 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then 952 935 echo $ac_n "(cached) $ac_c" 1>&6 … … 983 966 set dummy cp; ac_word=$2 984 967 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 985 echo "configure:9 86: checking for $ac_word" >&5968 echo "configure:969: checking for $ac_word" >&5 986 969 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then 987 970 echo $ac_n "(cached) $ac_c" 1>&6 … … 1018 1001 set dummy mv; ac_word=$2 1019 1002 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1020 echo "configure:10 21: checking for $ac_word" >&51003 echo "configure:1004: checking for $ac_word" >&5 1021 1004 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then 1022 1005 echo $ac_n "(cached) $ac_c" 1>&6 … … 1053 1036 set dummy ln; ac_word=$2 1054 1037 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1055 echo "configure:10 56: checking for $ac_word" >&51038 echo "configure:1039: checking for $ac_word" >&5 1056 1039 if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then 1057 1040 echo $ac_n "(cached) $ac_c" 1>&6 … … 1086 1069 1087 1070 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1088 echo "configure:10 89: checking whether ln -s works" >&51071 echo "configure:1072: checking whether ln -s works" >&5 1089 1072 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1090 1073 echo $ac_n "(cached) $ac_c" 1>&6 … … 1109 1092 set dummy chmod; ac_word=$2 1110 1093 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1111 echo "configure:1 112: checking for $ac_word" >&51094 echo "configure:1095: checking for $ac_word" >&5 1112 1095 if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then 1113 1096 echo $ac_n "(cached) $ac_c" 1>&6 … … 1144 1127 set dummy sort; ac_word=$2 1145 1128 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1146 echo "configure:11 47: checking for $ac_word" >&51129 echo "configure:1130: checking for $ac_word" >&5 1147 1130 if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then 1148 1131 echo $ac_n "(cached) $ac_c" 1>&6 … … 1188 1171 # ./install, which can be erroneously created by make from ./install.sh. 1189 1172 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1190 echo "configure:11 91: checking for a BSD compatible install" >&51173 echo "configure:1174: checking for a BSD compatible install" >&5 1191 1174 if test -z "$INSTALL"; then 1192 1175 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1244 1227 set dummy perl; ac_word=$2 1245 1228 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1246 echo "configure:12 47: checking for $ac_word" >&51229 echo "configure:1230: checking for $ac_word" >&5 1247 1230 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then 1248 1231 echo $ac_n "(cached) $ac_c" 1>&6 … … 1286 1269 set dummy mkdir; ac_word=$2 1287 1270 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1288 echo "configure:12 89: checking for $ac_word" >&51271 echo "configure:1272: checking for $ac_word" >&5 1289 1272 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then 1290 1273 echo $ac_n "(cached) $ac_c" 1>&6 … … 1322 1305 1323 1306 echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6 1324 echo "configure:13 25: checking for working $MKDIR -m 0755" >&51307 echo "configure:1308: checking for working $MKDIR -m 0755" >&5 1325 1308 if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then 1326 1309 echo $ac_n "(cached) $ac_c" 1>&6 … … 1339 1322 1340 1323 echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6 1341 echo "configure:13 42: checking for working $MKDIR -p" >&51324 echo "configure:1325: checking for working $MKDIR -p" >&5 1342 1325 if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then 1343 1326 echo $ac_n "(cached) $ac_c" 1>&6 … … 1359 1342 set dummy touch; ac_word=$2 1360 1343 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1361 echo "configure:13 62: checking for $ac_word" >&51344 echo "configure:1345: checking for $ac_word" >&5 1362 1345 if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then 1363 1346 echo $ac_n "(cached) $ac_c" 1>&6 … … 1394 1377 set dummy cmp; ac_word=$2 1395 1378 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1396 echo "configure:13 97: checking for $ac_word" >&51379 echo "configure:1380: checking for $ac_word" >&5 1397 1380 if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then 1398 1381 echo $ac_n "(cached) $ac_c" 1>&6 … … 1430 1413 set dummy sed; ac_word=$2 1431 1414 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1432 echo "configure:14 33: checking for $ac_word" >&51415 echo "configure:1416: checking for $ac_word" >&5 1433 1416 if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then 1434 1417 echo $ac_n "(cached) $ac_c" 1>&6 … … 1467 1450 set dummy $ac_prog; ac_word=$2 1468 1451 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1469 echo "configure:14 70: checking for $ac_word" >&51452 echo "configure:1453: checking for $ac_word" >&5 1470 1453 if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then 1471 1454 echo $ac_n "(cached) $ac_c" 1>&6 … … 1509 1492 set dummy $ac_prog; ac_word=$2 1510 1493 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1511 echo "configure:1 512: checking for $ac_word" >&51494 echo "configure:1495: checking for $ac_word" >&5 1512 1495 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then 1513 1496 echo $ac_n "(cached) $ac_c" 1>&6 … … 1557 1540 1558 1541 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 1559 echo "configure:15 60: checking rtems target cpu" >&51542 echo "configure:1543: checking rtems target cpu" >&5 1560 1543 case "${target}" in 1561 1544 # hpux unix port should go here … … 1588 1571 # Is this a supported CPU? 1589 1572 echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6 1590 echo "configure:15 91: checking if cpu $target_cpu is supported" >&51573 echo "configure:1574: checking if cpu $target_cpu is supported" >&5 1591 1574 if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$target_cpu"; then 1592 1575 echo "$ac_t""yes" 1>&6 … … 1650 1633 set dummy $ac_prog; ac_word=$2 1651 1634 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1652 echo "configure:16 53: checking for $ac_word" >&51635 echo "configure:1636: checking for $ac_word" >&5 1653 1636 if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then 1654 1637 echo $ac_n "(cached) $ac_c" 1>&6 … … 1694 1677 1695 1678 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1696 echo "configure:16 97: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51679 echo "configure:1680: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1697 1680 1698 1681 ac_ext=c … … 1705 1688 cat > conftest.$ac_ext << EOF 1706 1689 1707 #line 1 708"configure"1690 #line 1691 "configure" 1708 1691 #include "confdefs.h" 1709 1692 1710 1693 main(){return(0);} 1711 1694 EOF 1712 if { (eval echo configure:1 713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1695 if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1713 1696 ac_cv_prog_cc_works=yes 1714 1697 # If we can't run a trivial program, we are probably using a cross compiler. … … 1736 1719 fi 1737 1720 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1738 echo "configure:17 39: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51721 echo "configure:1722: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1739 1722 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1740 1723 cross_compiling=$ac_cv_prog_cc_cross 1741 1724 1742 1725 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1743 echo "configure:17 44: checking whether we are using GNU C" >&51726 echo "configure:1727: checking whether we are using GNU C" >&5 1744 1727 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1745 1728 echo $ac_n "(cached) $ac_c" 1>&6 … … 1750 1733 #endif 1751 1734 EOF 1752 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:17 53: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1735 if { 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 1753 1736 ac_cv_prog_gcc=yes 1754 1737 else … … 1765 1748 CFLAGS= 1766 1749 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1767 echo "configure:17 68: checking whether ${CC-cc} accepts -g" >&51750 echo "configure:1751: checking whether ${CC-cc} accepts -g" >&5 1768 1751 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1769 1752 echo $ac_n "(cached) $ac_c" 1>&6 … … 1807 1790 1808 1791 echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6 1809 echo "configure:1 810: checking whether $CC_FOR_TARGET accepts -specs" >&51792 echo "configure:1793: checking whether $CC_FOR_TARGET accepts -specs" >&5 1810 1793 if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then 1811 1794 echo $ac_n "(cached) $ac_c" 1>&6 … … 1828 1811 1829 1812 echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6 1830 echo "configure:18 31: checking whether $CC_FOR_TARGET accepts --pipe" >&51813 echo "configure:1814: checking whether $CC_FOR_TARGET accepts --pipe" >&5 1831 1814 if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then 1832 1815 echo $ac_n "(cached) $ac_c" 1>&6 … … 1869 1852 set dummy $ac_prog; ac_word=$2 1870 1853 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1871 echo "configure:18 72: checking for $ac_word" >&51854 echo "configure:1855: checking for $ac_word" >&5 1872 1855 if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then 1873 1856 echo $ac_n "(cached) $ac_c" 1>&6 … … 1913 1896 1914 1897 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1915 echo "configure:1 916: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&51898 echo "configure:1899: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1916 1899 1917 1900 ac_ext=C … … 1924 1907 cat > conftest.$ac_ext << EOF 1925 1908 1926 #line 19 27"configure"1909 #line 1910 "configure" 1927 1910 #include "confdefs.h" 1928 1911 1929 1912 int main(){return(0);} 1930 1913 EOF 1931 if { (eval echo configure:19 32: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1914 if { (eval echo configure:1915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1932 1915 ac_cv_prog_cxx_works=yes 1933 1916 # If we can't run a trivial program, we are probably using a cross compiler. … … 1955 1938 fi 1956 1939 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1957 echo "configure:19 58: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51940 echo "configure:1941: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1958 1941 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1959 1942 cross_compiling=$ac_cv_prog_cxx_cross 1960 1943 1961 1944 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1962 echo "configure:19 63: checking whether we are using GNU C++" >&51945 echo "configure:1946: checking whether we are using GNU C++" >&5 1963 1946 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1964 1947 echo $ac_n "(cached) $ac_c" 1>&6 … … 1969 1952 #endif 1970 1953 EOF 1971 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:19 72: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1954 if { 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 1972 1955 ac_cv_prog_gxx=yes 1973 1956 else … … 1984 1967 CXXFLAGS= 1985 1968 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1986 echo "configure:19 87: checking whether ${CXX-g++} accepts -g" >&51969 echo "configure:1970: checking whether ${CXX-g++} accepts -g" >&5 1987 1970 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1988 1971 echo $ac_n "(cached) $ac_c" 1>&6 … … 2038 2021 2039 2022 echo $ac_n "checking target's ar""... $ac_c" 1>&6 2040 echo "configure:20 41: checking target's ar" >&52023 echo "configure:2024: checking target's ar" >&5 2041 2024 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 2042 2025 echo $ac_n "(cached) $ac_c" 1>&6 … … 2071 2054 # intends 2072 2055 echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2073 echo "configure:20 74: checking whether environment variable AR_FOR_TARGET is an absolute path" >&52056 echo "configure:2057: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 2074 2057 case "$AR_FOR_TARGET" in 2075 2058 /*) # valid … … 2088 2071 set dummy "$program_prefix"ar; ac_word=$2 2089 2072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2090 echo "configure:20 91: checking for $ac_word" >&52073 echo "configure:2074: checking for $ac_word" >&5 2091 2074 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 2092 2075 echo $ac_n "(cached) $ac_c" 1>&6 … … 2125 2108 2126 2109 echo $ac_n "checking target's as""... $ac_c" 1>&6 2127 echo "configure:21 28: checking target's as" >&52110 echo "configure:2111: checking target's as" >&5 2128 2111 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 2129 2112 echo $ac_n "(cached) $ac_c" 1>&6 … … 2158 2141 # intends 2159 2142 echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2160 echo "configure:21 61: checking whether environment variable AS_FOR_TARGET is an absolute path" >&52143 echo "configure:2144: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 2161 2144 case "$AS_FOR_TARGET" in 2162 2145 /*) # valid … … 2175 2158 set dummy "$program_prefix"as; ac_word=$2 2176 2159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2177 echo "configure:21 78: checking for $ac_word" >&52160 echo "configure:2161: checking for $ac_word" >&5 2178 2161 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 2179 2162 echo $ac_n "(cached) $ac_c" 1>&6 … … 2212 2195 2213 2196 echo $ac_n "checking target's ld""... $ac_c" 1>&6 2214 echo "configure:2 215: checking target's ld" >&52197 echo "configure:2198: checking target's ld" >&5 2215 2198 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 2216 2199 echo $ac_n "(cached) $ac_c" 1>&6 … … 2245 2228 # intends 2246 2229 echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2247 echo "configure:22 48: checking whether environment variable LD_FOR_TARGET is an absolute path" >&52230 echo "configure:2231: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 2248 2231 case "$LD_FOR_TARGET" in 2249 2232 /*) # valid … … 2262 2245 set dummy "$program_prefix"ld; ac_word=$2 2263 2246 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2264 echo "configure:22 65: checking for $ac_word" >&52247 echo "configure:2248: checking for $ac_word" >&5 2265 2248 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 2266 2249 echo $ac_n "(cached) $ac_c" 1>&6 … … 2299 2282 2300 2283 echo $ac_n "checking target's nm""... $ac_c" 1>&6 2301 echo "configure:2 302: checking target's nm" >&52284 echo "configure:2285: checking target's nm" >&5 2302 2285 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 2303 2286 echo $ac_n "(cached) $ac_c" 1>&6 … … 2332 2315 # intends 2333 2316 echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2334 echo "configure:23 35: checking whether environment variable NM_FOR_TARGET is an absolute path" >&52317 echo "configure:2318: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 2335 2318 case "$NM_FOR_TARGET" in 2336 2319 /*) # valid … … 2349 2332 set dummy "$program_prefix"nm; ac_word=$2 2350 2333 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2351 echo "configure:23 52: checking for $ac_word" >&52334 echo "configure:2335: checking for $ac_word" >&5 2352 2335 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 2353 2336 echo $ac_n "(cached) $ac_c" 1>&6 … … 2387 2370 2388 2371 echo $ac_n "checking target's ranlib""... $ac_c" 1>&6 2389 echo "configure:23 90: checking target's ranlib" >&52372 echo "configure:2373: checking target's ranlib" >&5 2390 2373 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 2391 2374 echo $ac_n "(cached) $ac_c" 1>&6 … … 2420 2403 # intends 2421 2404 echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2422 echo "configure:24 23: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&52405 echo "configure:2406: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 2423 2406 case "$RANLIB_FOR_TARGET" in 2424 2407 /*) # valid … … 2437 2420 set dummy "$program_prefix"ranlib; ac_word=$2 2438 2421 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2439 echo "configure:24 40: checking for $ac_word" >&52422 echo "configure:2423: checking for $ac_word" >&5 2440 2423 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 2441 2424 echo $ac_n "(cached) $ac_c" 1>&6 … … 2476 2459 2477 2460 echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6 2478 echo "configure:24 79: checking whether $AR_FOR_TARGET -s works" >&52461 echo "configure:2462: checking whether $AR_FOR_TARGET -s works" >&5 2479 2462 if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then 2480 2463 echo $ac_n "(cached) $ac_c" 1>&6 … … 2485 2468 { return b; } 2486 2469 EOF 2487 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:24 88: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \2488 && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:24 89: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \2470 if { 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; }; } \ 2489 2472 && test -s conftest.a ; \ 2490 2473 then … … 2511 2494 2512 2495 echo $ac_n "checking target's objcopy""... $ac_c" 1>&6 2513 echo "configure:2 514: checking target's objcopy" >&52496 echo "configure:2497: checking target's objcopy" >&5 2514 2497 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 2515 2498 echo $ac_n "(cached) $ac_c" 1>&6 … … 2544 2527 # intends 2545 2528 echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2546 echo "configure:25 47: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&52529 echo "configure:2530: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 2547 2530 case "$OBJCOPY_FOR_TARGET" in 2548 2531 /*) # valid … … 2561 2544 set dummy "$program_prefix"objcopy; ac_word=$2 2562 2545 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2563 echo "configure:25 64: checking for $ac_word" >&52546 echo "configure:2547: checking for $ac_word" >&5 2564 2547 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 2565 2548 echo $ac_n "(cached) $ac_c" 1>&6 … … 2598 2581 2599 2582 echo $ac_n "checking target's size""... $ac_c" 1>&6 2600 echo "configure:2 601: checking target's size" >&52583 echo "configure:2584: checking target's size" >&5 2601 2584 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2602 2585 echo $ac_n "(cached) $ac_c" 1>&6 … … 2631 2614 # intends 2632 2615 echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2633 echo "configure:26 34: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&52616 echo "configure:2617: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 2634 2617 case "$SIZE_FOR_TARGET" in 2635 2618 /*) # valid … … 2648 2631 set dummy "$program_prefix"size; ac_word=$2 2649 2632 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2650 echo "configure:26 51: checking for $ac_word" >&52633 echo "configure:2634: checking for $ac_word" >&5 2651 2634 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2652 2635 echo $ac_n "(cached) $ac_c" 1>&6 … … 2685 2668 2686 2669 echo $ac_n "checking target's strip""... $ac_c" 1>&6 2687 echo "configure:26 88: checking target's strip" >&52670 echo "configure:2671: checking target's strip" >&5 2688 2671 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then 2689 2672 echo $ac_n "(cached) $ac_c" 1>&6 … … 2718 2701 # intends 2719 2702 echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2720 echo "configure:27 21: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&52703 echo "configure:2704: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 2721 2704 case "$STRIP_FOR_TARGET" in 2722 2705 /*) # valid … … 2735 2718 set dummy "$program_prefix"strip; ac_word=$2 2736 2719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2737 echo "configure:27 38: checking for $ac_word" >&52720 echo "configure:2721: checking for $ac_word" >&5 2738 2721 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then 2739 2722 echo $ac_n "(cached) $ac_c" 1>&6 … … 2774 2757 if test "${target_cpu}" = "i386"; then 2775 2758 echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6 2776 echo "configure:27 77: checking for 16 bit mode assembler support" >&52759 echo "configure:2760: checking for 16 bit mode assembler support" >&5 2777 2760 if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then 2778 2761 echo $ac_n "(cached) $ac_c" 1>&6 … … 2784 2767 lgdt 0 2785 2768 EOF 2786 if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:27 87: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then2769 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 2787 2770 rtems_cv_prog_gas_code16=yes 2788 2771 else … … 2800 2783 set dummy gcc; ac_word=$2 2801 2784 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2802 echo "configure:2 803: checking for $ac_word" >&52785 echo "configure:2786: checking for $ac_word" >&5 2803 2786 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2804 2787 echo $ac_n "(cached) $ac_c" 1>&6 … … 2830 2813 set dummy cc; ac_word=$2 2831 2814 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2832 echo "configure:28 33: checking for $ac_word" >&52815 echo "configure:2816: checking for $ac_word" >&5 2833 2816 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2834 2817 echo $ac_n "(cached) $ac_c" 1>&6 … … 2881 2864 set dummy cl; ac_word=$2 2882 2865 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2883 echo "configure:28 84: checking for $ac_word" >&52866 echo "configure:2867: checking for $ac_word" >&5 2884 2867 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2885 2868 echo $ac_n "(cached) $ac_c" 1>&6 … … 2913 2896 2914 2897 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2915 echo "configure:2 916: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52898 echo "configure:2899: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2916 2899 2917 2900 ac_ext=c … … 2924 2907 cat > conftest.$ac_ext << EOF 2925 2908 2926 #line 29 27"configure"2909 #line 2910 "configure" 2927 2910 #include "confdefs.h" 2928 2911 2929 2912 main(){return(0);} 2930 2913 EOF 2931 if { (eval echo configure:29 32: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2914 if { (eval echo configure:2915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2932 2915 ac_cv_prog_cc_works=yes 2933 2916 # If we can't run a trivial program, we are probably using a cross compiler. … … 2955 2938 fi 2956 2939 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2957 echo "configure:29 58: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52940 echo "configure:2941: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2958 2941 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2959 2942 cross_compiling=$ac_cv_prog_cc_cross 2960 2943 2961 2944 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2962 echo "configure:29 63: checking whether we are using GNU C" >&52945 echo "configure:2946: checking whether we are using GNU C" >&5 2963 2946 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2964 2947 echo $ac_n "(cached) $ac_c" 1>&6 … … 2969 2952 #endif 2970 2953 EOF 2971 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:29 72: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2954 if { 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 2972 2955 ac_cv_prog_gcc=yes 2973 2956 else … … 2988 2971 CFLAGS= 2989 2972 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2990 echo "configure:29 91: checking whether ${CC-cc} accepts -g" >&52973 echo "configure:2974: checking whether ${CC-cc} accepts -g" >&5 2991 2974 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2992 2975 echo $ac_n "(cached) $ac_c" 1>&6 … … 3020 3003 3021 3004 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 3022 echo "configure:30 23: checking for Cygwin environment" >&53005 echo "configure:3006: checking for Cygwin environment" >&5 3023 3006 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 3024 3007 echo $ac_n "(cached) $ac_c" 1>&6 3025 3008 else 3026 3009 cat > conftest.$ac_ext <<EOF 3027 #line 30 28"configure"3010 #line 3011 "configure" 3028 3011 #include "confdefs.h" 3029 3012 … … 3036 3019 ; return 0; } 3037 3020 EOF 3038 if { (eval echo configure:30 39: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3021 if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3039 3022 rm -rf conftest* 3040 3023 ac_cv_cygwin=yes … … 3053 3036 test "$ac_cv_cygwin" = yes && CYGWIN=yes 3054 3037 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 3055 echo "configure:30 56: checking for mingw32 environment" >&53038 echo "configure:3039: checking for mingw32 environment" >&5 3056 3039 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 3057 3040 echo $ac_n "(cached) $ac_c" 1>&6 3058 3041 else 3059 3042 cat > conftest.$ac_ext <<EOF 3060 #line 30 61"configure"3043 #line 3044 "configure" 3061 3044 #include "confdefs.h" 3062 3045 … … 3065 3048 ; return 0; } 3066 3049 EOF 3067 if { (eval echo configure:30 68: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3050 if { (eval echo configure:3051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3068 3051 rm -rf conftest* 3069 3052 ac_cv_mingw32=yes … … 3084 3067 3085 3068 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 3086 echo "configure:30 87: checking for executable suffix" >&53069 echo "configure:3070: checking for executable suffix" >&5 3087 3070 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 3088 3071 echo $ac_n "(cached) $ac_c" 1>&6 … … 3094 3077 echo 'int main () { return 0; }' > conftest.$ac_ext 3095 3078 ac_cv_exeext= 3096 if { (eval echo configure:30 97: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3079 if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 3097 3080 for file in conftest.*; do 3098 3081 case $file in … … 3133 3116 3134 3117 echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6 3135 echo "configure:31 36: checking whether $RTEMS_HOST supports System V semaphores" >&53118 echo "configure:3119: checking whether $RTEMS_HOST supports System V semaphores" >&5 3136 3119 if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then 3137 3120 echo $ac_n "(cached) $ac_c" 1>&6 … … 3142 3125 else 3143 3126 cat > conftest.$ac_ext <<EOF 3144 #line 31 45"configure"3127 #line 3128 "configure" 3145 3128 #include "confdefs.h" 3146 3129 … … 3168 3151 3169 3152 EOF 3170 if { (eval echo configure:31 71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3153 if { (eval echo configure:3154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3171 3154 then 3172 3155 rtems_cv_sysv_sem="yes" … … 3191 3174 3192 3175 echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6 3193 echo "configure:31 94: checking whether $RTEMS_HOST supports System V shared memory" >&53176 echo "configure:3177: checking whether $RTEMS_HOST supports System V shared memory" >&5 3194 3177 if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then 3195 3178 echo $ac_n "(cached) $ac_c" 1>&6 … … 3200 3183 else 3201 3184 cat > conftest.$ac_ext <<EOF 3202 #line 3 203"configure"3185 #line 3186 "configure" 3203 3186 #include "confdefs.h" 3204 3187 … … 3216 3199 3217 3200 EOF 3218 if { (eval echo configure:32 19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3201 if { (eval echo configure:3202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3219 3202 then 3220 3203 rtems_cv_sysv_shm="yes" … … 3239 3222 3240 3223 echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6 3241 echo "configure:32 42: checking whether $RTEMS_HOST supports System V messages" >&53224 echo "configure:3225: checking whether $RTEMS_HOST supports System V messages" >&5 3242 3225 if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then 3243 3226 echo $ac_n "(cached) $ac_c" 1>&6 … … 3248 3231 else 3249 3232 cat > conftest.$ac_ext <<EOF 3250 #line 32 51"configure"3233 #line 3234 "configure" 3251 3234 #include "confdefs.h" 3252 3235 … … 3264 3247 3265 3248 EOF 3266 if { (eval echo configure:32 67: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3249 if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3267 3250 then 3268 3251 rtems_cv_sysv_msg="yes" … … 3296 3279 3297 3280 echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6 3298 echo "configure:32 99: checking for Makefile.in in c/src/exec/rtems" >&53281 echo "configure:3282: checking for Makefile.in in c/src/exec/rtems" >&5 3299 3282 if test -d $srcdir/c/src/exec/rtems; then 3300 3283 rtems_av_save_dir=`pwd`; … … 3311 3294 3312 3295 echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6 3313 echo "configure:3 314: checking for Makefile.in in c/src/exec/sapi" >&53296 echo "configure:3297: checking for Makefile.in in c/src/exec/sapi" >&5 3314 3297 if test -d $srcdir/c/src/exec/sapi; then 3315 3298 rtems_av_save_dir=`pwd`; … … 3326 3309 3327 3310 echo $ac_n "checking for Makefile.in in c/src/exec/score/cpu/$target_cpu""... $ac_c" 1>&6 3328 echo "configure:33 29: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&53311 echo "configure:3312: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&5 3329 3312 if test -d $srcdir/c/src/exec/score/cpu/$target_cpu; then 3330 3313 rtems_av_save_dir=`pwd`; … … 3343 3326 3344 3327 echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6 3345 echo "configure:33 46: checking for Makefile.in in c/src/exec/posix" >&53328 echo "configure:3329: checking for Makefile.in in c/src/exec/posix" >&5 3346 3329 if test -d $srcdir/c/src/exec/posix; then 3347 3330 rtems_av_save_dir=`pwd`; … … 3365 3348 if test -z "$rtems_bsp"; then 3366 3349 echo $ac_n "checking for bsps""... $ac_c" 1>&6 3367 echo "configure:33 68: checking for bsps" >&53350 echo "configure:3351: checking for bsps" >&5 3368 3351 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 3369 3352 for file in $files; do … … 3430 3413 3431 3414 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6 3432 echo "configure:34 33: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&53415 echo "configure:3416: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5 3433 3416 if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then 3434 3417 rtems_av_save_dir=`pwd`; … … 3445 3428 3446 3429 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6 3447 echo "configure:34 48: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&53430 echo "configure:3431: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5 3448 3431 if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then 3449 3432 rtems_av_save_dir=`pwd`; … … 3475 3458 3476 3459 echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 3477 echo "configure:34 78: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&53460 echo "configure:3461: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5 3478 3461 if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then 3479 3462 rtems_av_save_dir=`pwd`; … … 3492 3475 3493 3476 echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 3494 echo "configure:34 95: checking for Makefile.in in c/src/lib/start/$target_cpu" >&53477 echo "configure:3478: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5 3495 3478 if test -d $srcdir/c/src/lib/start/$target_cpu; then 3496 3479 rtems_av_save_dir=`pwd`; … … 3521 3504 # If the TCP/IP stack is enabled, then find all TCP/IP Makefiles 3522 3505 echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6 3523 echo "configure:35 24: checking if networking is enabled? " >&53506 echo "configure:3507: checking if networking is enabled? " >&5 3524 3507 echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6 3525 3508 if test "$RTEMS_HAS_NETWORKING" = "yes"; then 3526 3509 3527 3510 echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6 3528 echo "configure:35 29: checking for Makefile.in in c/src/lib/libnetworking" >&53511 echo "configure:3512: checking for Makefile.in in c/src/lib/libnetworking" >&5 3529 3512 if test -d $srcdir/c/src/lib/libnetworking; then 3530 3513 rtems_av_save_dir=`pwd`; … … 3541 3524 3542 3525 echo $ac_n "checking for Makefile.in in c/src/lib/librpc""... $ac_c" 1>&6 3543 echo "configure:35 44: checking for Makefile.in in c/src/lib/librpc" >&53526 echo "configure:3527: checking for Makefile.in in c/src/lib/librpc" >&5 3544 3527 if test -d $srcdir/c/src/lib/librpc; then 3545 3528 rtems_av_save_dir=`pwd`; … … 3556 3539 if test "$RTEMS_HAS_RDBG" = "yes"; then 3557 3540 echo $ac_n "checking whether cpu supports rdbg? ""... $ac_c" 1>&6 3558 echo "configure:35 59: checking whether cpu supports rdbg? " >&53541 echo "configure:3542: checking whether cpu supports rdbg? " >&5 3559 3542 test ! -d "$srcdir/c/src/lib/librdbg/$target_cpu" && RTEMS_HAS_RDBG="no" ; 3560 3543 echo "$ac_t""$RTEMS_HAS_RDBG" 1>&6 … … 3563 3546 set dummy rpcgen; ac_word=$2 3564 3547 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3565 echo "configure:35 66: checking for $ac_word" >&53548 echo "configure:3549: checking for $ac_word" >&5 3566 3549 if eval "test \"`echo '$''{'ac_cv_path_RPCGEN'+set}'`\" = set"; then 3567 3550 echo $ac_n "(cached) $ac_c" 1>&6 … … 3603 3586 set dummy $ac_prog; ac_word=$2 3604 3587 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3605 echo "configure:3 606: checking for $ac_word" >&53588 echo "configure:3589: checking for $ac_word" >&5 3606 3589 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then 3607 3590 echo $ac_n "(cached) $ac_c" 1>&6 … … 3637 3620 3638 3621 echo $ac_n "checking for Makefile.in in c/src/lib/librdbg""... $ac_c" 1>&6 3639 echo "configure:36 40: checking for Makefile.in in c/src/lib/librdbg" >&53622 echo "configure:3623: checking for Makefile.in in c/src/lib/librdbg" >&5 3640 3623 if test -d $srcdir/c/src/lib/librdbg; then 3641 3624 rtems_av_save_dir=`pwd`; … … 3664 3647 # If the tests are enabled, then find all the test suite Makefiles 3665 3648 echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6 3666 echo "configure:36 67: checking if the test suites are enabled? " >&53649 echo "configure:3650: checking if the test suites are enabled? " >&5 3667 3650 # Check whether --enable-tests or --disable-tests was given. 3668 3651 if test "${enable_tests+set}" = set; then … … 3685 3668 3686 3669 echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6 3687 echo "configure:36 88: checking for Makefile.in in c/src/tests/libtests" >&53670 echo "configure:3671: checking for Makefile.in in c/src/tests/libtests" >&5 3688 3671 if test -d $srcdir/c/src/tests/libtests; then 3689 3672 rtems_av_save_dir=`pwd`; … … 3700 3683 3701 3684 echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6 3702 echo "configure:3 703: checking for Makefile.in in c/src/tests/sptests" >&53685 echo "configure:3686: checking for Makefile.in in c/src/tests/sptests" >&5 3703 3686 if test -d $srcdir/c/src/tests/sptests; then 3704 3687 rtems_av_save_dir=`pwd`; … … 3715 3698 3716 3699 echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6 3717 echo "configure:37 18: checking for Makefile.in in c/src/tests/tmtests" >&53700 echo "configure:3701: checking for Makefile.in in c/src/tests/tmtests" >&5 3718 3701 if test -d $srcdir/c/src/tests/tmtests; then 3719 3702 rtems_av_save_dir=`pwd`; … … 3731 3714 3732 3715 echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6 3733 echo "configure:37 34: checking for Makefile.in in c/src/tests/mptests" >&53716 echo "configure:3717: checking for Makefile.in in c/src/tests/mptests" >&5 3734 3717 if test -d $srcdir/c/src/tests/mptests; then 3735 3718 rtems_av_save_dir=`pwd`; … … 3748 3731 3749 3732 echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6 3750 echo "configure:37 51: checking for Makefile.in in c/src/tests/psxtests" >&53733 echo "configure:3734: checking for Makefile.in in c/src/tests/psxtests" >&5 3751 3734 if test -d $srcdir/c/src/tests/psxtests; then 3752 3735 rtems_av_save_dir=`pwd`; … … 3783 3766 if test "$RTEMS_HAS_HWAPI" = "yes"; then 3784 3767 echo $ac_n "checking whether libwapi is present""... $ac_c" 1>&6 3785 echo "configure:37 86: checking whether libwapi is present" >&53768 echo "configure:3769: checking whether libwapi is present" >&5 3786 3769 if test -f ${srcdir}/c/src/lib/libhwapi/Makefile.in ; then 3787 3770 echo "$ac_t""yes" 1>&6 … … 3789 3772 3790 3773 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6 3791 echo "configure:37 92: checking for Makefile.in in c/src/lib/libhwapi/analog" >&53774 echo "configure:3775: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5 3792 3775 if test -d $srcdir/c/src/lib/libhwapi/analog; then 3793 3776 rtems_av_save_dir=`pwd`; … … 3804 3787 3805 3788 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6 3806 echo "configure:3 807: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&53789 echo "configure:3790: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5 3807 3790 if test -d $srcdir/c/src/lib/libhwapi/discrete; then 3808 3791 rtems_av_save_dir=`pwd`; … … 3819 3802 3820 3803 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6 3821 echo "configure:38 22: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&53804 echo "configure:3805: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5 3822 3805 if test -d $srcdir/c/src/lib/libhwapi/drivers; then 3823 3806 rtems_av_save_dir=`pwd`; … … 3834 3817 3835 3818 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6 3836 echo "configure:38 37: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&53819 echo "configure:3820: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5 3837 3820 if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then 3838 3821 rtems_av_save_dir=`pwd`; … … 3849 3832 3850 3833 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6 3851 echo "configure:38 52: checking for Makefile.in in c/src/lib/libhwapi/serial" >&53834 echo "configure:3835: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5 3852 3835 if test -d $srcdir/c/src/lib/libhwapi/serial; then 3853 3836 rtems_av_save_dir=`pwd`; … … 3864 3847 3865 3848 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6 3866 echo "configure:38 67: checking for Makefile.in in c/src/lib/libhwapi/support" >&53849 echo "configure:3850: checking for Makefile.in in c/src/lib/libhwapi/support" >&5 3867 3850 if test -d $srcdir/c/src/lib/libhwapi/support; then 3868 3851 rtems_av_save_dir=`pwd`; … … 3879 3862 3880 3863 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6 3881 echo "configure:38 82: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&53864 echo "configure:3865: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5 3882 3865 if test -d $srcdir/c/src/lib/libhwapi/wrapup; then 3883 3866 rtems_av_save_dir=`pwd`; … … 3912 3895 3913 3896 echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6 3914 echo "configure:3 915: checking for Makefile.in in make" >&53897 echo "configure:3898: checking for Makefile.in in make" >&5 3915 3898 if test -d $srcdir/make; then 3916 3899 rtems_av_save_dir=`pwd`; … … 3927 3910 3928 3911 echo $ac_n "checking for Makefile.in in c/src/lib/libchip""... $ac_c" 1>&6 3929 echo "configure:39 30: checking for Makefile.in in c/src/lib/libchip" >&53912 echo "configure:3913: checking for Makefile.in in c/src/lib/libchip" >&5 3930 3913 if test -d $srcdir/c/src/lib/libchip; then 3931 3914 rtems_av_save_dir=`pwd`; … … 3942 3925 3943 3926 echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6 3944 echo "configure:39 45: checking for Makefile.in in c/src/lib/libmisc" >&53927 echo "configure:3928: checking for Makefile.in in c/src/lib/libmisc" >&5 3945 3928 if test -d $srcdir/c/src/lib/libmisc; then 3946 3929 rtems_av_save_dir=`pwd`; … … 3957 3940 3958 3941 echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6 3959 echo "configure:39 60: checking for Makefile.in in c/src/tests/samples" >&53942 echo "configure:3943: checking for Makefile.in in c/src/tests/samples" >&5 3960 3943 if test -d $srcdir/c/src/tests/samples; then 3961 3944 rtems_av_save_dir=`pwd`; … … 4185 4168 s%@build_vendor@%$build_vendor%g 4186 4169 s%@build_os@%$build_os%g 4187 s%@RTEMS_USE_OWN_PDIR@%$RTEMS_USE_OWN_PDIR%g4188 4170 s%@RTEMS_HAS_MULTIPROCESSING@%$RTEMS_HAS_MULTIPROCESSING%g 4189 4171 s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g -
configure.in
rc00fa38 r6b7ab9bf 15 15 host=$withval) 16 16 17 RTEMS_ENABLE_GMAKE_PRINT18 17 RTEMS_ENABLE_MULTIPROCESSING 19 18 RTEMS_ENABLE_POSIX -
make/Templates/Makefile.inc.in
rc00fa38 r6b7ab9bf 33 33 RTEMS_CUSTOM = $(prefix)/make/custom/$(RTEMS_BSP).cfg 34 34 PROJECT_ROOT = $(prefix)/ 35 RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@35 RTEMS_USE_OWN_PDIR = no 36 36 RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@ 37 37 RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ -
make/directory.cfg
rc00fa38 r6b7ab9bf 9 9 # 10 10 11 # include $(RTEMS_ROOT)/make/main.cfg11 # RULE=$(shell echo $@ | $(SED) -e s/debug_// -e s/profile_//) 12 12 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 22 15 $(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 67 67 $(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_install) 68 68 69 ifeq ($(RTEMS_USE_OWN_PDIR),yes)70 MAKEFLAGS += --no-print-directory71 endif72 73 69 ${ARCH}: 74 70 test -d ${ARCH} || $(MKDIR) ${ARCH} -
make/target.cfg.in
rc00fa38 r6b7ab9bf 39 39 40 40 RTEMS_HOST = @RTEMS_HOST@ 41 RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@42 41 RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@ 43 42 RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@ -
tools/update/cipolish
rc00fa38 r6b7ab9bf 82 82 #remove the line 83 83 } 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 86 90 #remove the line 87 91 }
Note: See TracChangeset
for help on using the changeset viewer.