Changeset 9ec96478 in rtems
- Timestamp:
- 03/19/99 21:54:36 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- e619c28
- Parents:
- af020036
- Files:
-
- 16 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal.m4
raf020036 r9ec96478 1 dnl aclocal.m4 generated automatically by aclocal 1.2 1 dnl aclocal.m4 generated automatically by aclocal 1.4 2 3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 dnl This file is free software; the Free Software Foundation 5 dnl gives unlimited permission to copy and/or distribute it, 6 dnl with or without modifications, as long as this notice is preserved. 7 8 dnl This program is distributed in the hope that it will be useful, 9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 dnl PARTICULAR PURPOSE. 12 13 dnl $Id$ 14 15 AC_DEFUN(RTEMS_PATH_PERL, 16 [ 17 AC_PATH_PROG(PERL,perl) 18 if test -z "$PERL" ; then 19 AC_MSG_WARN( 20 [***] 21 [ perl was not found] 22 [ Note: Some tools will not be built.]) 23 fi 24 ]) 2 25 3 26 dnl … … 43 66 44 67 45 dnl 46 dnl $Id$ 47 dnl 48 49 dnl canonicalize target name 68 dnl $Id$ 69 70 AC_DEFUN(RTEMS_PATH_KSH, 71 [ 72 dnl NOTE: prefer bash over ksh over sh 73 AC_PATH_PROGS(KSH,bash ksh sh) 74 if test -z "$KSH"; then 75 dnl NOTE: This cannot happen -- /bin/sh must always exist 76 AC_MSG_ERROR( 77 [***] 78 [ Cannot determine a usable shell bash/ksh/sh] 79 [ Please contact your system administrator] ); 80 fi 81 ]) 82 83 dnl 84 dnl $Id$ 85 dnl 86 87 dnl canonicalize target cpu 50 88 dnl NOTE: Most rtems targets do not fullfil autoconf's 51 89 dnl target naming conventions "processor-vendor-os" … … 54 92 55 93 AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU, 56 [AC_MSG_CHECKING(rtems target cpu) 57 changequote(<<, >>)dnl 58 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` 59 changequote([, ])dnl 94 [ 95 AC_REQUIRE([AC_CANONICAL_SYSTEM]) 96 AC_MSG_CHECKING(rtems target cpu) 97 changequote(,)dnl 98 case "${target}" in 99 # hpux unix port should go here 100 i[3456]86-go32-rtems*) 101 target_cpu=i386 102 ;; 103 i[3456]86-pc-linux*) # unix "simulator" port 104 target_cpu=unix 105 ;; 106 i[3456]86-*freebsd2*) # unix "simulator" port 107 target_cpu=unix 108 ;; 109 no_cpu-*rtems*) 110 target_cpu=no_cpu 111 ;; 112 ppc*-*rtems*) 113 target_cpu=powerpc 114 ;; 115 sparc-sun-solaris*) # unix "simulator" port 116 target_cpu=unix 117 ;; 118 *) 119 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` 120 ;; 121 esac 122 changequote([,])dnl 60 123 AC_MSG_RESULT($target_cpu) 61 124 ]) -
configure
raf020036 r9ec96478 36 36 37 37 # Guess values for system-dependent variables and create Makefiles. 38 # Generated automatically using autoconf version 2.1 238 # Generated automatically using autoconf version 2.13 39 39 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 40 40 # … … 128 128 subdirs= 129 129 MFLAGS= MAKEFLAGS= 130 SHELL=${CONFIG_SHELL-/bin/sh} 130 131 # Maximum number of lines to put in a shell here document. 131 132 ac_max_here_lines=12 … … 411 412 412 413 -version | --version | --versio | --versi | --vers) 413 echo "configure generated by autoconf version 2.1 2"414 echo "configure generated by autoconf version 2.13" 414 415 exit 0 ;; 415 416 … … 581 582 ac_cpp='$CPP $CPPFLAGS' 582 583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 583 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 584 585 cross_compiling=$ac_cv_prog_cc_cross 585 586 587 ac_exeext= 588 ac_objext=o 586 589 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 587 590 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 599 602 600 603 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 601 echo "configure:60 2: checking whether ${MAKE-make} sets \${MAKE}" >&5604 echo "configure:605: checking whether ${MAKE-make} sets \${MAKE}" >&5 602 605 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 603 606 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 667 670 668 671 # Make sure we can run config.sub. 669 if $ ac_config_sub sun4 >/dev/null 2>&1; then :672 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 670 673 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 671 674 fi 672 675 673 676 echo $ac_n "checking host system type""... $ac_c" 1>&6 674 echo "configure:67 5: checking host system type" >&5677 echo "configure:678: checking host system type" >&5 675 678 676 679 host_alias=$host … … 679 682 case $nonopt in 680 683 NONE) 681 if host_alias=`$ ac_config_guess`; then :684 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 682 685 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 683 686 fi ;; … … 686 689 esac 687 690 688 host=`$ ac_config_sub $host_alias`691 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 689 692 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 690 693 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 693 696 694 697 echo $ac_n "checking target system type""... $ac_c" 1>&6 695 echo "configure:69 6: checking target system type" >&5698 echo "configure:699: checking target system type" >&5 696 699 697 700 target_alias=$target … … 704 707 esac 705 708 706 target=`$ ac_config_sub $target_alias`709 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 707 710 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 708 711 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 711 714 712 715 echo $ac_n "checking build system type""... $ac_c" 1>&6 713 echo "configure:71 4: checking build system type" >&5716 echo "configure:717: checking build system type" >&5 714 717 715 718 build_alias=$build … … 722 725 esac 723 726 724 build=`$ ac_config_sub $build_alias`727 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` 725 728 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 726 729 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 892 895 set dummy cat; ac_word=$2 893 896 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 894 echo "configure:89 5: checking for $ac_word" >&5897 echo "configure:898: checking for $ac_word" >&5 895 898 if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then 896 899 echo $ac_n "(cached) $ac_c" 1>&6 … … 900 903 ac_cv_path_CAT="$CAT" # Let the user override the test with a path. 901 904 ;; 905 ?:/*) 906 ac_cv_path_CAT="$CAT" # Let the user override the test with a dos path. 907 ;; 902 908 *) 903 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 904 for ac_dir in $PATH; do 909 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 910 ac_dummy="$PATH" 911 for ac_dir in $ac_dummy; do 905 912 test -z "$ac_dir" && ac_dir=. 906 913 if test -f $ac_dir/$ac_word; then … … 923 930 set dummy rm; ac_word=$2 924 931 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 925 echo "configure:9 26: checking for $ac_word" >&5932 echo "configure:933: checking for $ac_word" >&5 926 933 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then 927 934 echo $ac_n "(cached) $ac_c" 1>&6 … … 931 938 ac_cv_path_RM="$RM" # Let the user override the test with a path. 932 939 ;; 940 ?:/*) 941 ac_cv_path_RM="$RM" # Let the user override the test with a dos path. 942 ;; 933 943 *) 934 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 935 for ac_dir in $PATH; do 944 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 945 ac_dummy="$PATH" 946 for ac_dir in $ac_dummy; do 936 947 test -z "$ac_dir" && ac_dir=. 937 948 if test -f $ac_dir/$ac_word; then … … 954 965 set dummy cp; ac_word=$2 955 966 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 956 echo "configure:9 57: checking for $ac_word" >&5967 echo "configure:968: checking for $ac_word" >&5 957 968 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then 958 969 echo $ac_n "(cached) $ac_c" 1>&6 … … 962 973 ac_cv_path_CP="$CP" # Let the user override the test with a path. 963 974 ;; 975 ?:/*) 976 ac_cv_path_CP="$CP" # Let the user override the test with a dos path. 977 ;; 964 978 *) 965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 966 for ac_dir in $PATH; do 979 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 980 ac_dummy="$PATH" 981 for ac_dir in $ac_dummy; do 967 982 test -z "$ac_dir" && ac_dir=. 968 983 if test -f $ac_dir/$ac_word; then … … 985 1000 set dummy mv; ac_word=$2 986 1001 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 987 echo "configure: 988: checking for $ac_word" >&51002 echo "configure:1003: checking for $ac_word" >&5 988 1003 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then 989 1004 echo $ac_n "(cached) $ac_c" 1>&6 … … 993 1008 ac_cv_path_MV="$MV" # Let the user override the test with a path. 994 1009 ;; 1010 ?:/*) 1011 ac_cv_path_MV="$MV" # Let the user override the test with a dos path. 1012 ;; 995 1013 *) 996 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 997 for ac_dir in $PATH; do 1014 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1015 ac_dummy="$PATH" 1016 for ac_dir in $ac_dummy; do 998 1017 test -z "$ac_dir" && ac_dir=. 999 1018 if test -f $ac_dir/$ac_word; then … … 1016 1035 set dummy ln; ac_word=$2 1017 1036 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1018 echo "configure:10 19: checking for $ac_word" >&51037 echo "configure:1038: checking for $ac_word" >&5 1019 1038 if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then 1020 1039 echo $ac_n "(cached) $ac_c" 1>&6 … … 1024 1043 ac_cv_path_LN="$LN" # Let the user override the test with a path. 1025 1044 ;; 1045 ?:/*) 1046 ac_cv_path_LN="$LN" # Let the user override the test with a dos path. 1047 ;; 1026 1048 *) 1027 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1028 for ac_dir in $PATH; do 1049 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1050 ac_dummy="$PATH" 1051 for ac_dir in $ac_dummy; do 1029 1052 test -z "$ac_dir" && ac_dir=. 1030 1053 if test -f $ac_dir/$ac_word; then … … 1045 1068 1046 1069 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1047 echo "configure:10 48: checking whether ln -s works" >&51070 echo "configure:1071: checking whether ln -s works" >&5 1048 1071 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1049 1072 echo $ac_n "(cached) $ac_c" 1>&6 … … 1068 1091 set dummy chmod; ac_word=$2 1069 1092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1070 echo "configure:10 71: checking for $ac_word" >&51093 echo "configure:1094: checking for $ac_word" >&5 1071 1094 if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then 1072 1095 echo $ac_n "(cached) $ac_c" 1>&6 … … 1076 1099 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path. 1077 1100 ;; 1101 ?:/*) 1102 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a dos path. 1103 ;; 1078 1104 *) 1079 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1080 for ac_dir in $PATH; do 1105 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1106 ac_dummy="$PATH" 1107 for ac_dir in $ac_dummy; do 1081 1108 test -z "$ac_dir" && ac_dir=. 1082 1109 if test -f $ac_dir/$ac_word; then … … 1099 1126 set dummy sort; ac_word=$2 1100 1127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1101 echo "configure:11 02: checking for $ac_word" >&51128 echo "configure:1129: checking for $ac_word" >&5 1102 1129 if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then 1103 1130 echo $ac_n "(cached) $ac_c" 1>&6 … … 1107 1134 ac_cv_path_SORT="$SORT" # Let the user override the test with a path. 1108 1135 ;; 1136 ?:/*) 1137 ac_cv_path_SORT="$SORT" # Let the user override the test with a dos path. 1138 ;; 1109 1139 *) 1110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1111 for ac_dir in $PATH; do 1140 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1141 ac_dummy="$PATH" 1142 for ac_dir in $ac_dummy; do 1112 1143 test -z "$ac_dir" && ac_dir=. 1113 1144 if test -f $ac_dir/$ac_word; then … … 1134 1165 # IRIX /sbin/install 1135 1166 # AIX /bin/install 1167 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1136 1168 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1137 1169 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1138 1170 # ./install, which can be erroneously created by make from ./install.sh. 1139 1171 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1140 echo "configure:11 41: checking for a BSD compatible install" >&51172 echo "configure:1173: checking for a BSD compatible install" >&5 1141 1173 if test -z "$INSTALL"; then 1142 1174 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1143 1175 echo $ac_n "(cached) $ac_c" 1>&6 1144 1176 else 1145 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" ${IFS}:"1177 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1146 1178 for ac_dir in $PATH; do 1147 1179 # Account for people who put trailing slashes in PATH elements. … … 1150 1182 *) 1151 1183 # OSF1 and SCO ODT 3.0 have their own names for install. 1152 for ac_prog in ginstall installbsd scoinst install; do 1184 # Don't use installbsd from OSF since it installs stuff as root 1185 # by default. 1186 for ac_prog in ginstall scoinst install; do 1153 1187 if test -f $ac_dir/$ac_prog; then 1154 1188 if test $ac_prog = install && 1155 1189 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 1156 1190 # AIX install. It has an incompatible calling convention. 1157 # OSF/1 installbsd also uses dspmsg, but is usable.1158 1191 : 1159 1192 else … … 1185 1218 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1186 1219 1220 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1221 1187 1222 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1223 1188 1224 1189 1225 # Extract the first word of "perl", so it can be a program name with args. 1190 1226 set dummy perl; ac_word=$2 1191 1227 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1192 echo "configure:1 193: checking for $ac_word" >&51228 echo "configure:1229: checking for $ac_word" >&5 1193 1229 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then 1194 1230 echo $ac_n "(cached) $ac_c" 1>&6 … … 1198 1234 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 1199 1235 ;; 1236 ?:/*) 1237 ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path. 1238 ;; 1200 1239 *) 1201 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1202 for ac_dir in $PATH; do 1240 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1241 ac_dummy="$PATH" 1242 for ac_dir in $ac_dummy; do 1203 1243 test -z "$ac_dir" && ac_dir=. 1204 1244 if test -f $ac_dir/$ac_word; then … … 1224 1264 fi 1225 1265 1266 1226 1267 # Extract the first word of "mkdir", so it can be a program name with args. 1227 1268 set dummy mkdir; ac_word=$2 1228 1269 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1229 echo "configure:12 30: checking for $ac_word" >&51270 echo "configure:1271: checking for $ac_word" >&5 1230 1271 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then 1231 1272 echo $ac_n "(cached) $ac_c" 1>&6 … … 1235 1276 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. 1236 1277 ;; 1278 ?:/*) 1279 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a dos path. 1280 ;; 1237 1281 *) 1238 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1239 for ac_dir in $PATH; do 1282 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1283 ac_dummy="$PATH" 1284 for ac_dir in $ac_dummy; do 1240 1285 test -z "$ac_dir" && ac_dir=. 1241 1286 if test -f $ac_dir/$ac_word; then … … 1259 1304 1260 1305 echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6 1261 echo "configure:1 262: checking for working $MKDIR -m 0755" >&51306 echo "configure:1307: checking for working $MKDIR -m 0755" >&5 1262 1307 if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then 1263 1308 echo $ac_n "(cached) $ac_c" 1>&6 … … 1276 1321 1277 1322 echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6 1278 echo "configure:1 279: checking for working $MKDIR -p" >&51323 echo "configure:1324: checking for working $MKDIR -p" >&5 1279 1324 if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then 1280 1325 echo $ac_n "(cached) $ac_c" 1>&6 … … 1296 1341 set dummy touch; ac_word=$2 1297 1342 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1298 echo "configure:1 299: checking for $ac_word" >&51343 echo "configure:1344: checking for $ac_word" >&5 1299 1344 if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then 1300 1345 echo $ac_n "(cached) $ac_c" 1>&6 … … 1304 1349 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path. 1305 1350 ;; 1351 ?:/*) 1352 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a dos path. 1353 ;; 1306 1354 *) 1307 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1308 for ac_dir in $PATH; do 1355 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1356 ac_dummy="$PATH" 1357 for ac_dir in $ac_dummy; do 1309 1358 test -z "$ac_dir" && ac_dir=. 1310 1359 if test -f $ac_dir/$ac_word; then … … 1327 1376 set dummy cmp; ac_word=$2 1328 1377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1329 echo "configure:13 30: checking for $ac_word" >&51378 echo "configure:1379: checking for $ac_word" >&5 1330 1379 if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then 1331 1380 echo $ac_n "(cached) $ac_c" 1>&6 … … 1335 1384 ac_cv_path_CMP="$CMP" # Let the user override the test with a path. 1336 1385 ;; 1386 ?:/*) 1387 ac_cv_path_CMP="$CMP" # Let the user override the test with a dos path. 1388 ;; 1337 1389 *) 1338 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1339 for ac_dir in $PATH; do 1390 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1391 ac_dummy="$PATH" 1392 for ac_dir in $ac_dummy; do 1340 1393 test -z "$ac_dir" && ac_dir=. 1341 1394 if test -f $ac_dir/$ac_word; then … … 1359 1412 set dummy sed; ac_word=$2 1360 1413 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1361 echo "configure:1 362: checking for $ac_word" >&51414 echo "configure:1415: checking for $ac_word" >&5 1362 1415 if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then 1363 1416 echo $ac_n "(cached) $ac_c" 1>&6 … … 1367 1420 ac_cv_path_SED="$SED" # Let the user override the test with a path. 1368 1421 ;; 1422 ?:/*) 1423 ac_cv_path_SED="$SED" # Let the user override the test with a dos path. 1424 ;; 1369 1425 *) 1370 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1371 for ac_dir in $PATH; do 1426 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1427 ac_dummy="$PATH" 1428 for ac_dir in $ac_dummy; do 1372 1429 test -z "$ac_dir" && ac_dir=. 1373 1430 if test -f $ac_dir/$ac_word; then … … 1392 1449 set dummy $ac_prog; ac_word=$2 1393 1450 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1394 echo "configure:1 395: checking for $ac_word" >&51451 echo "configure:1452: checking for $ac_word" >&5 1395 1452 if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then 1396 1453 echo $ac_n "(cached) $ac_c" 1>&6 … … 1400 1457 ac_cv_path_M4="$M4" # Let the user override the test with a path. 1401 1458 ;; 1459 ?:/*) 1460 ac_cv_path_M4="$M4" # Let the user override the test with a dos path. 1461 ;; 1402 1462 *) 1403 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1404 for ac_dir in $PATH; do 1463 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1464 ac_dummy="$PATH" 1465 for ac_dir in $ac_dummy; do 1405 1466 test -z "$ac_dir" && ac_dir=. 1406 1467 if test -f $ac_dir/$ac_word; then … … 1422 1483 test -n "$M4" && break 1423 1484 done 1485 1424 1486 1425 1487 … … 1429 1491 set dummy $ac_prog; ac_word=$2 1430 1492 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1431 echo "configure:14 32: checking for $ac_word" >&51493 echo "configure:1494: checking for $ac_word" >&5 1432 1494 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then 1433 1495 echo $ac_n "(cached) $ac_c" 1>&6 … … 1437 1499 ac_cv_path_KSH="$KSH" # Let the user override the test with a path. 1438 1500 ;; 1501 ?:/*) 1502 ac_cv_path_KSH="$KSH" # Let the user override the test with a dos path. 1503 ;; 1439 1504 *) 1440 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1441 for ac_dir in $PATH; do 1505 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1506 ac_dummy="$PATH" 1507 for ac_dir in $ac_dummy; do 1442 1508 test -z "$ac_dir" && ac_dir=. 1443 1509 if test -f $ac_dir/$ac_word; then … … 1460 1526 done 1461 1527 1462 1463 1528 if test -z "$KSH"; then 1464 1529 { echo "configure: error: *** … … 1470 1535 1471 1536 1537 1472 1538 RTEMS_HOST=$host_os 1473 1539 1540 1541 1542 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 1543 echo "configure:1544: checking rtems target cpu" >&5 1474 1544 case "${target}" in 1475 1545 # hpux unix port should go here 1476 1546 i[3456]86-go32-rtems*) 1477 1547 target_cpu=i386 1548 ;; 1549 i[3456]86-pc-linux*) # unix "simulator" port 1550 target_cpu=unix 1551 ;; 1552 i[3456]86-*freebsd2*) # unix "simulator" port 1553 target_cpu=unix 1554 ;; 1555 no_cpu-*rtems*) 1556 target_cpu=no_cpu 1557 ;; 1558 ppc*-*rtems*) 1559 target_cpu=powerpc 1560 ;; 1561 sparc-sun-solaris*) # unix "simulator" port 1562 target_cpu=unix 1563 ;; 1564 *) 1565 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` 1566 ;; 1567 esac 1568 echo "$ac_t""$target_cpu" 1>&6 1569 1570 1571 case "${target}" in 1572 # hpux unix port should go here 1573 i[3456]86-go32-rtems*) 1478 1574 rtems_bsp="go32 go32_p5" 1479 1575 skip_startfiles="yes" … … 1481 1577 ;; 1482 1578 i[3456]86-pc-linux*) # unix "simulator" port 1483 target_cpu=unix1484 1579 RTEMS_HOST=Linux 1485 1580 # override these settings … … 1487 1582 ;; 1488 1583 i[3456]86-*freebsd2*) # unix "simulator" port 1489 target_cpu=unix1490 1584 RTEMS_HOST=FreeBSD 1491 1585 # override these settings … … 1493 1587 ;; 1494 1588 no_cpu-*rtems*) 1495 target_cpu=no_cpu1496 1589 RTEMS_HAS_POSIX_API=no 1497 1590 ;; 1498 ppc*-*rtems*)1499 target_cpu=powerpc1500 ;;1501 1591 sparc-sun-solaris*) # unix "simulator" port 1502 target_cpu=unix1503 1592 RTEMS_HOST=Solaris 1504 1593 # override these settings … … 1506 1595 ;; 1507 1596 *) 1508 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&61509 echo "configure:1510: checking rtems target cpu" >&51510 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`1511 echo "$ac_t""$target_cpu" 1>&61512 1513 1597 ;; 1514 1598 esac 1599 1515 1600 1516 1601 # Override the set of BSPs to be built. … … 1526 1611 # Is this a supported CPU? 1527 1612 echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6 1528 echo "configure:1 529: checking if cpu $target_cpu is supported" >&51613 echo "configure:1614: checking if cpu $target_cpu is supported" >&5 1529 1614 if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then 1530 1615 echo "$ac_t""yes" 1>&6 … … 1550 1635 set dummy $ac_prog; ac_word=$2 1551 1636 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1552 echo "configure:1 553: checking for $ac_word" >&51637 echo "configure:1638: checking for $ac_word" >&5 1553 1638 if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then 1554 1639 echo $ac_n "(cached) $ac_c" 1>&6 … … 1558 1643 ac_cv_path_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test with a path. 1559 1644 ;; 1645 ?:/*) 1646 ac_cv_path_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test with a dos path. 1647 ;; 1560 1648 *) 1561 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1562 for ac_dir in $PATH; do 1649 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1650 ac_dummy="$PATH" 1651 for ac_dir in $ac_dummy; do 1563 1652 test -z "$ac_dir" && ac_dir=. 1564 1653 if test -f $ac_dir/$ac_word; then … … 1590 1679 1591 1680 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1592 echo "configure:1 593: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51681 echo "configure:1682: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1593 1682 1594 1683 ac_ext=c … … 1596 1685 ac_cpp='$CPP $CPPFLAGS' 1597 1686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1598 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1599 1688 cross_compiling=$ac_cv_prog_cc_cross 1600 1689 1601 cat > conftest.$ac_ext <<EOF 1602 #line 1603 "configure" 1690 cat > conftest.$ac_ext << EOF 1691 1692 #line 1693 "configure" 1603 1693 #include "confdefs.h" 1694 1604 1695 main(){return(0);} 1605 1696 EOF 1606 if { (eval echo configure:16 07: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1697 if { (eval echo configure:1698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1607 1698 ac_cv_prog_cc_works=yes 1608 1699 # If we can't run a trivial program, we are probably using a cross compiler. … … 1618 1709 fi 1619 1710 rm -fr conftest* 1711 ac_ext=c 1712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1713 ac_cpp='$CPP $CPPFLAGS' 1714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1716 cross_compiling=$ac_cv_prog_cc_cross 1620 1717 1621 1718 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 1624 1721 fi 1625 1722 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1626 echo "configure:1 627: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51723 echo "configure:1724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1627 1724 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1628 1725 cross_compiling=$ac_cv_prog_cc_cross 1629 1726 1630 1727 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1631 echo "configure:1 632: checking whether we are using GNU C" >&51728 echo "configure:1729: checking whether we are using GNU C" >&5 1632 1729 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1633 1730 echo $ac_n "(cached) $ac_c" 1>&6 … … 1638 1735 #endif 1639 1736 EOF 1640 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1737 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1641 1738 ac_cv_prog_gcc=yes 1642 1739 else … … 1653 1750 CFLAGS= 1654 1751 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1655 echo "configure:1 656: checking whether ${CC-cc} accepts -g" >&51752 echo "configure:1753: checking whether ${CC-cc} accepts -g" >&5 1656 1753 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1657 1754 echo $ac_n "(cached) $ac_c" 1>&6 … … 1695 1792 1696 1793 echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6 1697 echo "configure:1 698: checking whether $CC_FOR_TARGET accepts -specs" >&51794 echo "configure:1795: checking whether $CC_FOR_TARGET accepts -specs" >&5 1698 1795 if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then 1699 1796 echo $ac_n "(cached) $ac_c" 1>&6 … … 1716 1813 1717 1814 echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6 1718 echo "configure:1 719: checking whether $CC_FOR_TARGET accepts --pipe" >&51815 echo "configure:1816: checking whether $CC_FOR_TARGET accepts --pipe" >&5 1719 1816 if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then 1720 1817 echo $ac_n "(cached) $ac_c" 1>&6 … … 1757 1854 set dummy $ac_prog; ac_word=$2 1758 1855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1759 echo "configure:1 760: checking for $ac_word" >&51856 echo "configure:1857: checking for $ac_word" >&5 1760 1857 if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then 1761 1858 echo $ac_n "(cached) $ac_c" 1>&6 … … 1765 1862 ac_cv_path_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test with a path. 1766 1863 ;; 1864 ?:/*) 1865 ac_cv_path_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test with a dos path. 1866 ;; 1767 1867 *) 1768 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1769 for ac_dir in $PATH; do 1868 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1869 ac_dummy="$PATH" 1870 for ac_dir in $ac_dummy; do 1770 1871 test -z "$ac_dir" && ac_dir=. 1771 1872 if test -f $ac_dir/$ac_word; then … … 1797 1898 1798 1899 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1799 echo "configure:1 800: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&51900 echo "configure:1901: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1800 1901 1801 1902 ac_ext=C … … 1803 1904 ac_cpp='$CXXCPP $CPPFLAGS' 1804 1905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1805 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1806 1907 cross_compiling=$ac_cv_prog_cxx_cross 1807 1908 1808 cat > conftest.$ac_ext <<EOF 1809 #line 1810 "configure" 1909 cat > conftest.$ac_ext << EOF 1910 1911 #line 1912 "configure" 1810 1912 #include "confdefs.h" 1811 main(){return(0);} 1913 1914 int main(){return(0);} 1812 1915 EOF 1813 if { (eval echo configure:1 814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1916 if { (eval echo configure:1917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1814 1917 ac_cv_prog_cxx_works=yes 1815 1918 # If we can't run a trivial program, we are probably using a cross compiler. … … 1829 1932 ac_cpp='$CPP $CPPFLAGS' 1830 1933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1831 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1832 1935 cross_compiling=$ac_cv_prog_cc_cross 1833 1936 … … 1837 1940 fi 1838 1941 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1839 echo "configure:1 840: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51942 echo "configure:1943: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1840 1943 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1841 1944 cross_compiling=$ac_cv_prog_cxx_cross 1842 1945 1843 1946 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1844 echo "configure:1 845: checking whether we are using GNU C++" >&51947 echo "configure:1948: checking whether we are using GNU C++" >&5 1845 1948 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1846 1949 echo $ac_n "(cached) $ac_c" 1>&6 … … 1851 1954 #endif 1852 1955 EOF 1853 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1 854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1956 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1854 1957 ac_cv_prog_gxx=yes 1855 1958 else … … 1866 1969 CXXFLAGS= 1867 1970 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1868 echo "configure:1 869: checking whether ${CXX-g++} accepts -g" >&51971 echo "configure:1972: checking whether ${CXX-g++} accepts -g" >&5 1869 1972 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1870 1973 echo $ac_n "(cached) $ac_c" 1>&6 … … 1920 2023 1921 2024 echo $ac_n "checking target's ar""... $ac_c" 1>&6 1922 echo "configure: 1923: checking target's ar" >&52025 echo "configure:2026: checking target's ar" >&5 1923 2026 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 1924 2027 echo $ac_n "(cached) $ac_c" 1>&6 … … 1953 2056 # intends 1954 2057 echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6 1955 echo "configure: 1956: checking whether environment variable AR_FOR_TARGET is an absolute path" >&52058 echo "configure:2059: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 1956 2059 case "$AR_FOR_TARGET" in 1957 2060 /*) # valid … … 1970 2073 set dummy "$program_prefix"ar; ac_word=$2 1971 2074 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1972 echo "configure: 1973: checking for $ac_word" >&52075 echo "configure:2076: checking for $ac_word" >&5 1973 2076 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 1974 2077 echo $ac_n "(cached) $ac_c" 1>&6 … … 1978 2081 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path. 1979 2082 ;; 2083 ?:/*) 2084 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a dos path. 2085 ;; 1980 2086 *) 1981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1982 for ac_dir in $PATH; do 2087 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2088 ac_dummy="$PATH" 2089 for ac_dir in $ac_dummy; do 1983 2090 test -z "$ac_dir" && ac_dir=. 1984 2091 if test -f $ac_dir/$ac_word; then … … 2003 2110 2004 2111 echo $ac_n "checking target's as""... $ac_c" 1>&6 2005 echo "configure:2 006: checking target's as" >&52112 echo "configure:2113: checking target's as" >&5 2006 2113 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 2007 2114 echo $ac_n "(cached) $ac_c" 1>&6 … … 2036 2143 # intends 2037 2144 echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2038 echo "configure:2 039: checking whether environment variable AS_FOR_TARGET is an absolute path" >&52145 echo "configure:2146: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 2039 2146 case "$AS_FOR_TARGET" in 2040 2147 /*) # valid … … 2053 2160 set dummy "$program_prefix"as; ac_word=$2 2054 2161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2055 echo "configure:2 056: checking for $ac_word" >&52162 echo "configure:2163: checking for $ac_word" >&5 2056 2163 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 2057 2164 echo $ac_n "(cached) $ac_c" 1>&6 … … 2061 2168 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path. 2062 2169 ;; 2170 ?:/*) 2171 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a dos path. 2172 ;; 2063 2173 *) 2064 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2065 for ac_dir in $PATH; do 2174 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2175 ac_dummy="$PATH" 2176 for ac_dir in $ac_dummy; do 2066 2177 test -z "$ac_dir" && ac_dir=. 2067 2178 if test -f $ac_dir/$ac_word; then … … 2086 2197 2087 2198 echo $ac_n "checking target's ld""... $ac_c" 1>&6 2088 echo "configure:2 089: checking target's ld" >&52199 echo "configure:2200: checking target's ld" >&5 2089 2200 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 2090 2201 echo $ac_n "(cached) $ac_c" 1>&6 … … 2119 2230 # intends 2120 2231 echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2121 echo "configure:2 122: checking whether environment variable LD_FOR_TARGET is an absolute path" >&52232 echo "configure:2233: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 2122 2233 case "$LD_FOR_TARGET" in 2123 2234 /*) # valid … … 2136 2247 set dummy "$program_prefix"ld; ac_word=$2 2137 2248 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2138 echo "configure:2 139: checking for $ac_word" >&52249 echo "configure:2250: checking for $ac_word" >&5 2139 2250 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 2140 2251 echo $ac_n "(cached) $ac_c" 1>&6 … … 2144 2255 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path. 2145 2256 ;; 2257 ?:/*) 2258 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a dos path. 2259 ;; 2146 2260 *) 2147 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2148 for ac_dir in $PATH; do 2261 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2262 ac_dummy="$PATH" 2263 for ac_dir in $ac_dummy; do 2149 2264 test -z "$ac_dir" && ac_dir=. 2150 2265 if test -f $ac_dir/$ac_word; then … … 2169 2284 2170 2285 echo $ac_n "checking target's nm""... $ac_c" 1>&6 2171 echo "configure:2 172: checking target's nm" >&52286 echo "configure:2287: checking target's nm" >&5 2172 2287 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 2173 2288 echo $ac_n "(cached) $ac_c" 1>&6 … … 2202 2317 # intends 2203 2318 echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2204 echo "configure:2 205: checking whether environment variable NM_FOR_TARGET is an absolute path" >&52319 echo "configure:2320: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 2205 2320 case "$NM_FOR_TARGET" in 2206 2321 /*) # valid … … 2219 2334 set dummy "$program_prefix"nm; ac_word=$2 2220 2335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2221 echo "configure:2 222: checking for $ac_word" >&52336 echo "configure:2337: checking for $ac_word" >&5 2222 2337 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 2223 2338 echo $ac_n "(cached) $ac_c" 1>&6 … … 2227 2342 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path. 2228 2343 ;; 2344 ?:/*) 2345 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a dos path. 2346 ;; 2229 2347 *) 2230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2231 for ac_dir in $PATH; do 2348 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2349 ac_dummy="$PATH" 2350 for ac_dir in $ac_dummy; do 2232 2351 test -z "$ac_dir" && ac_dir=. 2233 2352 if test -f $ac_dir/$ac_word; then … … 2253 2372 2254 2373 echo $ac_n "checking target's ranlib""... $ac_c" 1>&6 2255 echo "configure:2 256: checking target's ranlib" >&52374 echo "configure:2375: checking target's ranlib" >&5 2256 2375 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 2257 2376 echo $ac_n "(cached) $ac_c" 1>&6 … … 2286 2405 # intends 2287 2406 echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2288 echo "configure:2 289: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&52407 echo "configure:2408: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 2289 2408 case "$RANLIB_FOR_TARGET" in 2290 2409 /*) # valid … … 2303 2422 set dummy "$program_prefix"ranlib; ac_word=$2 2304 2423 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2305 echo "configure:2 306: checking for $ac_word" >&52424 echo "configure:2425: checking for $ac_word" >&5 2306 2425 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 2307 2426 echo $ac_n "(cached) $ac_c" 1>&6 … … 2311 2430 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path. 2312 2431 ;; 2432 ?:/*) 2433 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a dos path. 2434 ;; 2313 2435 *) 2314 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2315 for ac_dir in $PATH; do 2436 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2437 ac_dummy="$PATH" 2438 for ac_dir in $ac_dummy; do 2316 2439 test -z "$ac_dir" && ac_dir=. 2317 2440 if test -f $ac_dir/$ac_word; then … … 2338 2461 2339 2462 echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6 2340 echo "configure:2 341: checking whether $AR_FOR_TARGET -s works" >&52463 echo "configure:2464: checking whether $AR_FOR_TARGET -s works" >&5 2341 2464 if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then 2342 2465 echo $ac_n "(cached) $ac_c" 1>&6 … … 2347 2470 { return b; } 2348 2471 EOF 2349 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2 350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \2350 && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2 351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \2472 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ 2473 && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ 2351 2474 && test -s conftest.a ; \ 2352 2475 then … … 2373 2496 2374 2497 echo $ac_n "checking target's objcopy""... $ac_c" 1>&6 2375 echo "configure:2 376: checking target's objcopy" >&52498 echo "configure:2499: checking target's objcopy" >&5 2376 2499 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 2377 2500 echo $ac_n "(cached) $ac_c" 1>&6 … … 2406 2529 # intends 2407 2530 echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2408 echo "configure:2 409: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&52531 echo "configure:2532: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 2409 2532 case "$OBJCOPY_FOR_TARGET" in 2410 2533 /*) # valid … … 2423 2546 set dummy "$program_prefix"objcopy; ac_word=$2 2424 2547 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2425 echo "configure:2 426: checking for $ac_word" >&52548 echo "configure:2549: checking for $ac_word" >&5 2426 2549 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 2427 2550 echo $ac_n "(cached) $ac_c" 1>&6 … … 2431 2554 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path. 2432 2555 ;; 2556 ?:/*) 2557 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a dos path. 2558 ;; 2433 2559 *) 2434 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2435 for ac_dir in $PATH; do 2560 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2561 ac_dummy="$PATH" 2562 for ac_dir in $ac_dummy; do 2436 2563 test -z "$ac_dir" && ac_dir=. 2437 2564 if test -f $ac_dir/$ac_word; then … … 2456 2583 2457 2584 echo $ac_n "checking target's size""... $ac_c" 1>&6 2458 echo "configure:2 459: checking target's size" >&52585 echo "configure:2586: checking target's size" >&5 2459 2586 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2460 2587 echo $ac_n "(cached) $ac_c" 1>&6 … … 2489 2616 # intends 2490 2617 echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2491 echo "configure:2 492: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&52618 echo "configure:2619: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 2492 2619 case "$SIZE_FOR_TARGET" in 2493 2620 /*) # valid … … 2506 2633 set dummy "$program_prefix"size; ac_word=$2 2507 2634 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2508 echo "configure:2 509: checking for $ac_word" >&52635 echo "configure:2636: checking for $ac_word" >&5 2509 2636 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2510 2637 echo $ac_n "(cached) $ac_c" 1>&6 … … 2514 2641 ac_cv_path_SIZE_FOR_TARGET="$SIZE_FOR_TARGET" # Let the user override the test with a path. 2515 2642 ;; 2643 ?:/*) 2644 ac_cv_path_SIZE_FOR_TARGET="$SIZE_FOR_TARGET" # Let the user override the test with a dos path. 2645 ;; 2516 2646 *) 2517 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2518 for ac_dir in $PATH; do 2647 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2648 ac_dummy="$PATH" 2649 for ac_dir in $ac_dummy; do 2519 2650 test -z "$ac_dir" && ac_dir=. 2520 2651 if test -f $ac_dir/$ac_word; then … … 2539 2670 2540 2671 echo $ac_n "checking target's strip""... $ac_c" 1>&6 2541 echo "configure:2 542: checking target's strip" >&52672 echo "configure:2673: checking target's strip" >&5 2542 2673 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then 2543 2674 echo $ac_n "(cached) $ac_c" 1>&6 … … 2572 2703 # intends 2573 2704 echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2574 echo "configure:2 575: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&52705 echo "configure:2706: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 2575 2706 case "$STRIP_FOR_TARGET" in 2576 2707 /*) # valid … … 2589 2720 set dummy "$program_prefix"strip; ac_word=$2 2590 2721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2591 echo "configure:2 592: checking for $ac_word" >&52722 echo "configure:2723: checking for $ac_word" >&5 2592 2723 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then 2593 2724 echo $ac_n "(cached) $ac_c" 1>&6 … … 2597 2728 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path. 2598 2729 ;; 2730 ?:/*) 2731 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a dos path. 2732 ;; 2599 2733 *) 2600 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2601 for ac_dir in $PATH; do 2734 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2735 ac_dummy="$PATH" 2736 for ac_dir in $ac_dummy; do 2602 2737 test -z "$ac_dir" && ac_dir=. 2603 2738 if test -f $ac_dir/$ac_word; then … … 2624 2759 if test "${target_cpu}" = "i386"; then 2625 2760 echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6 2626 echo "configure:2 627: checking for 16 bit mode assembler support" >&52761 echo "configure:2762: checking for 16 bit mode assembler support" >&5 2627 2762 if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then 2628 2763 echo $ac_n "(cached) $ac_c" 1>&6 … … 2634 2769 lgdt 0 2635 2770 EOF 2636 if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2 637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then2771 if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then 2637 2772 rtems_cv_prog_gas_code16=yes 2638 2773 else … … 2649 2784 set dummy gcc; ac_word=$2 2650 2785 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2651 echo "configure:2 652: checking for $ac_word" >&52786 echo "configure:2787: checking for $ac_word" >&5 2652 2787 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2653 2788 echo $ac_n "(cached) $ac_c" 1>&6 … … 2656 2791 ac_cv_prog_CC="$CC" # Let the user override the test. 2657 2792 else 2658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2659 for ac_dir in $PATH; do 2793 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2794 ac_dummy="$PATH" 2795 for ac_dir in $ac_dummy; do 2660 2796 test -z "$ac_dir" && ac_dir=. 2661 2797 if test -f $ac_dir/$ac_word; then … … 2678 2814 set dummy cc; ac_word=$2 2679 2815 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2680 echo "configure:2 681: checking for $ac_word" >&52816 echo "configure:2817: checking for $ac_word" >&5 2681 2817 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2682 2818 echo $ac_n "(cached) $ac_c" 1>&6 … … 2685 2821 ac_cv_prog_CC="$CC" # Let the user override the test. 2686 2822 else 2687 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" ${IFS}:"2823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2688 2824 ac_prog_rejected=no 2689 for ac_dir in $PATH; do 2825 ac_dummy="$PATH" 2826 for ac_dir in $ac_dummy; do 2690 2827 test -z "$ac_dir" && ac_dir=. 2691 2828 if test -f $ac_dir/$ac_word; then … … 2722 2859 fi 2723 2860 2861 if test -z "$CC"; then 2862 case "`uname -s`" in 2863 *win32* | *WIN32*) 2864 # Extract the first word of "cl", so it can be a program name with args. 2865 set dummy cl; ac_word=$2 2866 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2867 echo "configure:2868: checking for $ac_word" >&5 2868 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2869 echo $ac_n "(cached) $ac_c" 1>&6 2870 else 2871 if test -n "$CC"; then 2872 ac_cv_prog_CC="$CC" # Let the user override the test. 2873 else 2874 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2875 ac_dummy="$PATH" 2876 for ac_dir in $ac_dummy; do 2877 test -z "$ac_dir" && ac_dir=. 2878 if test -f $ac_dir/$ac_word; then 2879 ac_cv_prog_CC="cl" 2880 break 2881 fi 2882 done 2883 IFS="$ac_save_ifs" 2884 fi 2885 fi 2886 CC="$ac_cv_prog_CC" 2887 if test -n "$CC"; then 2888 echo "$ac_t""$CC" 1>&6 2889 else 2890 echo "$ac_t""no" 1>&6 2891 fi 2892 ;; 2893 esac 2894 fi 2724 2895 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 2725 2896 fi 2726 2897 2727 2898 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2728 echo "configure:2 729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52899 echo "configure:2900: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2729 2900 2730 2901 ac_ext=c … … 2732 2903 ac_cpp='$CPP $CPPFLAGS' 2733 2904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2734 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'2905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2735 2906 cross_compiling=$ac_cv_prog_cc_cross 2736 2907 2737 cat > conftest.$ac_ext <<EOF 2738 #line 2739 "configure" 2908 cat > conftest.$ac_ext << EOF 2909 2910 #line 2911 "configure" 2739 2911 #include "confdefs.h" 2912 2740 2913 main(){return(0);} 2741 2914 EOF 2742 if { (eval echo configure:2 743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2915 if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2743 2916 ac_cv_prog_cc_works=yes 2744 2917 # If we can't run a trivial program, we are probably using a cross compiler. … … 2754 2927 fi 2755 2928 rm -fr conftest* 2929 ac_ext=c 2930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 2931 ac_cpp='$CPP $CPPFLAGS' 2932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2934 cross_compiling=$ac_cv_prog_cc_cross 2756 2935 2757 2936 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 2760 2939 fi 2761 2940 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2762 echo "configure:2 763: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52941 echo "configure:2942: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2763 2942 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2764 2943 cross_compiling=$ac_cv_prog_cc_cross 2765 2944 2766 2945 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2767 echo "configure:2 768: checking whether we are using GNU C" >&52946 echo "configure:2947: checking whether we are using GNU C" >&5 2768 2947 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2769 2948 echo $ac_n "(cached) $ac_c" 1>&6 … … 2774 2953 #endif 2775 2954 EOF 2776 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2 777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2955 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2777 2956 ac_cv_prog_gcc=yes 2778 2957 else … … 2785 2964 if test $ac_cv_prog_gcc = yes; then 2786 2965 GCC=yes 2787 ac_test_CFLAGS="${CFLAGS+set}" 2788 ac_save_CFLAGS="$CFLAGS" 2789 CFLAGS= 2790 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2791 echo "configure:2792: checking whether ${CC-cc} accepts -g" >&5 2966 else 2967 GCC= 2968 fi 2969 2970 ac_test_CFLAGS="${CFLAGS+set}" 2971 ac_save_CFLAGS="$CFLAGS" 2972 CFLAGS= 2973 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2974 echo "configure:2975: checking whether ${CC-cc} accepts -g" >&5 2792 2975 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2793 2976 echo $ac_n "(cached) $ac_c" 1>&6 … … 2804 2987 2805 2988 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 2806 if test "$ac_test_CFLAGS" = set; then 2807 CFLAGS="$ac_save_CFLAGS" 2808 elif test $ac_cv_prog_cc_g = yes; then 2989 if test "$ac_test_CFLAGS" = set; then 2990 CFLAGS="$ac_save_CFLAGS" 2991 elif test $ac_cv_prog_cc_g = yes; then 2992 if test "$GCC" = yes; then 2809 2993 CFLAGS="-g -O2" 2810 2994 else 2995 CFLAGS="-g" 2996 fi 2997 else 2998 if test "$GCC" = yes; then 2811 2999 CFLAGS="-O2" 3000 else 3001 CFLAGS= 2812 3002 fi 2813 else2814 GCC=2815 test "${CFLAGS+set}" = set || CFLAGS="-g"2816 3003 fi 2817 3004 2818 3005 2819 3006 echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6 2820 echo "configure: 2821: checking for Cygwin32 environment" >&53007 echo "configure:3008: checking for Cygwin32 environment" >&5 2821 3008 if eval "test \"`echo '$''{'rtems_cv_cygwin32'+set}'`\" = set"; then 2822 3009 echo $ac_n "(cached) $ac_c" 1>&6 2823 3010 else 2824 3011 cat > conftest.$ac_ext <<EOF 2825 #line 2826"configure"3012 #line 3013 "configure" 2826 3013 #include "confdefs.h" 2827 3014 … … 2830 3017 ; return 0; } 2831 3018 EOF 2832 if { (eval echo configure: 2833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3019 if { (eval echo configure:3020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2833 3020 rm -rf conftest* 2834 3021 rtems_cv_cygwin32=yes … … 2848 3035 2849 3036 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2850 echo "configure: 2851: checking for executable suffix" >&53037 echo "configure:3038: checking for executable suffix" >&5 2851 3038 if eval "test \"`echo '$''{'rtems_cv_exeext'+set}'`\" = set"; then 2852 3039 echo $ac_n "(cached) $ac_c" 1>&6 … … 2889 3076 do 2890 3077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2891 echo "configure: 2892: checking for $ac_func" >&53078 echo "configure:3079: checking for $ac_func" >&5 2892 3079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2893 3080 echo $ac_n "(cached) $ac_c" 1>&6 2894 3081 else 2895 3082 cat > conftest.$ac_ext <<EOF 2896 #line 2897"configure"3083 #line 3084 "configure" 2897 3084 #include "confdefs.h" 2898 3085 /* System header to define __stub macros and hopefully few prototypes, … … 2917 3104 ; return 0; } 2918 3105 EOF 2919 if { (eval echo configure: 2920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3106 if { (eval echo configure:3107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2920 3107 rm -rf conftest* 2921 3108 eval "ac_cv_func_$ac_func=yes" … … 2946 3133 2947 3134 echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6 2948 echo "configure: 2949: checking whether $RTEMS_HOST supports System V semaphores" >&53135 echo "configure:3136: checking whether $RTEMS_HOST supports System V semaphores" >&5 2949 3136 if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then 2950 3137 echo $ac_n "(cached) $ac_c" 1>&6 … … 2955 3142 else 2956 3143 cat > conftest.$ac_ext <<EOF 2957 #line 2958"configure"3144 #line 3145 "configure" 2958 3145 #include "confdefs.h" 2959 3146 … … 2981 3168 2982 3169 EOF 2983 if { (eval echo configure: 2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3170 if { (eval echo configure:3171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2984 3171 then 2985 3172 rtems_cv_sysv_sem="yes" … … 3004 3191 3005 3192 echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6 3006 echo "configure:3 007: checking whether $RTEMS_HOST supports System V shared memory" >&53193 echo "configure:3194: checking whether $RTEMS_HOST supports System V shared memory" >&5 3007 3194 if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then 3008 3195 echo $ac_n "(cached) $ac_c" 1>&6 … … 3013 3200 else 3014 3201 cat > conftest.$ac_ext <<EOF 3015 #line 3 016"configure"3202 #line 3203 "configure" 3016 3203 #include "confdefs.h" 3017 3204 … … 3029 3216 3030 3217 EOF 3031 if { (eval echo configure:3 032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3218 if { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3032 3219 then 3033 3220 rtems_cv_sysv_shm="yes" … … 3052 3239 3053 3240 echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6 3054 echo "configure:3 055: checking whether $RTEMS_HOST supports System V messages" >&53241 echo "configure:3242: checking whether $RTEMS_HOST supports System V messages" >&5 3055 3242 if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then 3056 3243 echo $ac_n "(cached) $ac_c" 1>&6 … … 3061 3248 else 3062 3249 cat > conftest.$ac_ext <<EOF 3063 #line 3 064"configure"3250 #line 3251 "configure" 3064 3251 #include "confdefs.h" 3065 3252 … … 3077 3264 3078 3265 EOF 3079 if { (eval echo configure:3 080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3266 if { (eval echo configure:3267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3080 3267 then 3081 3268 rtems_cv_sysv_msg="yes" … … 3102 3289 3103 3290 echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6 3104 echo "configure:3 105: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&53291 echo "configure:3292: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5 3105 3292 if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then 3106 3293 rtems_av_save_dir=`pwd`; … … 3117 3304 3118 3305 echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6 3119 echo "configure:3 120: checking for Makefile.in in c/src/exec/rtems" >&53306 echo "configure:3307: checking for Makefile.in in c/src/exec/rtems" >&5 3120 3307 if test -d $srcdir/c/src/exec/rtems; then 3121 3308 rtems_av_save_dir=`pwd`; … … 3132 3319 3133 3320 echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6 3134 echo "configure:3 135: checking for Makefile.in in c/src/exec/sapi" >&53321 echo "configure:3322: checking for Makefile.in in c/src/exec/sapi" >&5 3135 3322 if test -d $srcdir/c/src/exec/sapi; then 3136 3323 rtems_av_save_dir=`pwd`; … … 3147 3334 3148 3335 echo $ac_n "checking for Makefile.in in c/src/exec/score/cpu/$target_cpu""... $ac_c" 1>&6 3149 echo "configure:3 150: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&53336 echo "configure:3337: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&5 3150 3337 if test -d $srcdir/c/src/exec/score/cpu/$target_cpu; then 3151 3338 rtems_av_save_dir=`pwd`; … … 3164 3351 3165 3352 echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6 3166 echo "configure:3 167: checking for Makefile.in in c/src/exec/posix" >&53353 echo "configure:3354: checking for Makefile.in in c/src/exec/posix" >&5 3167 3354 if test -d $srcdir/c/src/exec/posix; then 3168 3355 rtems_av_save_dir=`pwd`; … … 3186 3373 if test -z "$rtems_bsp"; then 3187 3374 echo $ac_n "checking for bsps""... $ac_c" 1>&6 3188 echo "configure:3 189: checking for bsps" >&53375 echo "configure:3376: checking for bsps" >&5 3189 3376 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 3190 3377 for file in $files; do … … 3251 3438 3252 3439 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6 3253 echo "configure:3 254: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&53440 echo "configure:3441: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5 3254 3441 if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then 3255 3442 rtems_av_save_dir=`pwd`; … … 3266 3453 3267 3454 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6 3268 echo "configure:3 269: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&53455 echo "configure:3456: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5 3269 3456 if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then 3270 3457 rtems_av_save_dir=`pwd`; … … 3289 3476 3290 3477 echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 3291 echo "configure:3 292: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&53478 echo "configure:3479: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5 3292 3479 if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then 3293 3480 rtems_av_save_dir=`pwd`; … … 3306 3493 3307 3494 echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 3308 echo "configure:3 309: checking for Makefile.in in c/src/lib/start/$target_cpu" >&53495 echo "configure:3496: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5 3309 3496 if test -d $srcdir/c/src/lib/start/$target_cpu; then 3310 3497 rtems_av_save_dir=`pwd`; … … 3338 3525 # If the TCP/IP stack is enabled, then find all TCP/IP Makefiles 3339 3526 echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6 3340 echo "configure:3 341: checking if networking is enabled? " >&53527 echo "configure:3528: checking if networking is enabled? " >&5 3341 3528 echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6 3342 3529 if test "$RTEMS_HAS_NETWORKING" = "yes"; then 3343 3530 3344 3531 echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6 3345 echo "configure:3 346: checking for Makefile.in in c/src/lib/libnetworking" >&53532 echo "configure:3533: checking for Makefile.in in c/src/lib/libnetworking" >&5 3346 3533 if test -d $srcdir/c/src/lib/libnetworking; then 3347 3534 rtems_av_save_dir=`pwd`; … … 3358 3545 3359 3546 echo $ac_n "checking for Makefile.in in c/src/lib/librpc""... $ac_c" 1>&6 3360 echo "configure:3 361: checking for Makefile.in in c/src/lib/librpc" >&53547 echo "configure:3548: checking for Makefile.in in c/src/lib/librpc" >&5 3361 3548 if test -d $srcdir/c/src/lib/librpc; then 3362 3549 rtems_av_save_dir=`pwd`; … … 3374 3561 3375 3562 echo $ac_n "checking for Makefile.in in c/src/lib/librdbg""... $ac_c" 1>&6 3376 echo "configure:3 377: checking for Makefile.in in c/src/lib/librdbg" >&53563 echo "configure:3564: checking for Makefile.in in c/src/lib/librdbg" >&5 3377 3564 if test -d $srcdir/c/src/lib/librdbg; then 3378 3565 rtems_av_save_dir=`pwd`; … … 3397 3584 # If the tests are enabled, then find all the test suite Makefiles 3398 3585 echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6 3399 echo "configure:3 400: checking if the test suites are enabled? " >&53586 echo "configure:3587: checking if the test suites are enabled? " >&5 3400 3587 tests_enabled=no 3401 3588 # Check whether --enable-tests or --disable-tests was given. … … 3416 3603 3417 3604 echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6 3418 echo "configure:3 419: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&53605 echo "configure:3606: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5 3419 3606 if test -d $srcdir/c/src/tests/tools/$target_cpu; then 3420 3607 rtems_av_save_dir=`pwd`; … … 3433 3620 3434 3621 echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6 3435 echo "configure:3 436: checking for Makefile.in in c/src/tests/libtests" >&53622 echo "configure:3623: checking for Makefile.in in c/src/tests/libtests" >&5 3436 3623 if test -d $srcdir/c/src/tests/libtests; then 3437 3624 rtems_av_save_dir=`pwd`; … … 3448 3635 3449 3636 echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6 3450 echo "configure:3 451: checking for Makefile.in in c/src/tests/sptests" >&53637 echo "configure:3638: checking for Makefile.in in c/src/tests/sptests" >&5 3451 3638 if test -d $srcdir/c/src/tests/sptests; then 3452 3639 rtems_av_save_dir=`pwd`; … … 3463 3650 3464 3651 echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6 3465 echo "configure:3 466: checking for Makefile.in in c/src/tests/tmtests" >&53652 echo "configure:3653: checking for Makefile.in in c/src/tests/tmtests" >&5 3466 3653 if test -d $srcdir/c/src/tests/tmtests; then 3467 3654 rtems_av_save_dir=`pwd`; … … 3479 3666 3480 3667 echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6 3481 echo "configure:3 482: checking for Makefile.in in c/src/tests/mptests" >&53668 echo "configure:3669: checking for Makefile.in in c/src/tests/mptests" >&5 3482 3669 if test -d $srcdir/c/src/tests/mptests; then 3483 3670 rtems_av_save_dir=`pwd`; … … 3496 3683 3497 3684 echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6 3498 echo "configure:3 499: checking for Makefile.in in c/src/tests/psxtests" >&53685 echo "configure:3686: checking for Makefile.in in c/src/tests/psxtests" >&5 3499 3686 if test -d $srcdir/c/src/tests/psxtests; then 3500 3687 rtems_av_save_dir=`pwd`; … … 3514 3701 # If the HWAPI is enabled, the find the HWAPI Makefiles 3515 3702 echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6 3516 echo "configure:3 517: checking if the HWAPI is enabled? " >&53703 echo "configure:3704: checking if the HWAPI is enabled? " >&5 3517 3704 # Check whether --enable-hwapi or --disable-hwapi was given. 3518 3705 if test "${enable_hwapi+set}" = set; then … … 3525 3712 3526 3713 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6 3527 echo "configure:3 528: checking for Makefile.in in c/src/lib/libhwapi/analog" >&53714 echo "configure:3715: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5 3528 3715 if test -d $srcdir/c/src/lib/libhwapi/analog; then 3529 3716 rtems_av_save_dir=`pwd`; … … 3540 3727 3541 3728 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6 3542 echo "configure:3 543: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&53729 echo "configure:3730: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5 3543 3730 if test -d $srcdir/c/src/lib/libhwapi/discrete; then 3544 3731 rtems_av_save_dir=`pwd`; … … 3555 3742 3556 3743 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6 3557 echo "configure:3 558: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&53744 echo "configure:3745: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5 3558 3745 if test -d $srcdir/c/src/lib/libhwapi/drivers; then 3559 3746 rtems_av_save_dir=`pwd`; … … 3570 3757 3571 3758 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6 3572 echo "configure:3 573: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&53759 echo "configure:3760: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5 3573 3760 if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then 3574 3761 rtems_av_save_dir=`pwd`; … … 3585 3772 3586 3773 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6 3587 echo "configure:3 588: checking for Makefile.in in c/src/lib/libhwapi/serial" >&53774 echo "configure:3775: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5 3588 3775 if test -d $srcdir/c/src/lib/libhwapi/serial; then 3589 3776 rtems_av_save_dir=`pwd`; … … 3600 3787 3601 3788 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6 3602 echo "configure:3 603: checking for Makefile.in in c/src/lib/libhwapi/support" >&53789 echo "configure:3790: checking for Makefile.in in c/src/lib/libhwapi/support" >&5 3603 3790 if test -d $srcdir/c/src/lib/libhwapi/support; then 3604 3791 rtems_av_save_dir=`pwd`; … … 3615 3802 3616 3803 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6 3617 echo "configure:3 618: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&53804 echo "configure:3805: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5 3618 3805 if test -d $srcdir/c/src/lib/libhwapi/wrapup; then 3619 3806 rtems_av_save_dir=`pwd`; … … 3666 3853 3667 3854 echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6 3668 echo "configure:3 669: checking for Makefile.in in c/build-tools" >&53855 echo "configure:3856: checking for Makefile.in in c/build-tools" >&5 3669 3856 if test -d $srcdir/c/build-tools; then 3670 3857 rtems_av_save_dir=`pwd`; … … 3681 3868 3682 3869 echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6 3683 echo "configure:3 684: checking for Makefile.in in make" >&53870 echo "configure:3871: checking for Makefile.in in make" >&5 3684 3871 if test -d $srcdir/make; then 3685 3872 rtems_av_save_dir=`pwd`; … … 3696 3883 3697 3884 echo $ac_n "checking for Makefile.in in c/src/lib/libchip""... $ac_c" 1>&6 3698 echo "configure:3 699: checking for Makefile.in in c/src/lib/libchip" >&53885 echo "configure:3886: checking for Makefile.in in c/src/lib/libchip" >&5 3699 3886 if test -d $srcdir/c/src/lib/libchip; then 3700 3887 rtems_av_save_dir=`pwd`; … … 3711 3898 3712 3899 echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6 3713 echo "configure:3 714: checking for Makefile.in in c/src/lib/libmisc" >&53900 echo "configure:3901: checking for Makefile.in in c/src/lib/libmisc" >&5 3714 3901 if test -d $srcdir/c/src/lib/libmisc; then 3715 3902 rtems_av_save_dir=`pwd`; … … 3726 3913 3727 3914 echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6 3728 echo "configure:3 729: checking for Makefile.in in c/src/tests/samples" >&53915 echo "configure:3916: checking for Makefile.in in c/src/tests/samples" >&5 3729 3916 if test -d $srcdir/c/src/tests/samples; then 3730 3917 rtems_av_save_dir=`pwd`; … … 3766 3953 # and sets the high bit in the cache file unless we assign to the vars. 3767 3954 (set) 2>&1 | 3768 case `(ac_space=' '; set ) 2>&1` in3955 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3769 3956 *ac_space=\ *) 3770 3957 # `set' does not quote correctly, so add quotes (double-quote substitution … … 3833 4020 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 3834 4021 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 3835 echo "$CONFIG_STATUS generated by autoconf version 2.1 2"4022 echo "$CONFIG_STATUS generated by autoconf version 2.13" 3836 4023 exit 0 ;; 3837 4024 -help | --help | --hel | --he | --h) … … 3891 4078 $ac_vpsub 3892 4079 $extrasub 4080 s%@SHELL@%$SHELL%g 3893 4081 s%@CFLAGS@%$CFLAGS%g 3894 4082 s%@CPPFLAGS@%$CPPFLAGS%g 3895 4083 s%@CXXFLAGS@%$CXXFLAGS%g 4084 s%@FFLAGS@%$FFLAGS%g 3896 4085 s%@DEFS@%$DEFS%g 3897 4086 s%@LDFLAGS@%$LDFLAGS%g … … 3937 4126 s%@SORT@%$SORT%g 3938 4127 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 4128 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 3939 4129 s%@INSTALL_DATA@%$INSTALL_DATA%g 3940 4130 s%@PERL@%$PERL%g
Note: See TracChangeset
for help on using the changeset viewer.