Changeset 1663 in Sophya for trunk/ArchTOIPipe/configure
- Timestamp:
- Oct 1, 2001, 4:01:35 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/configure
r1477 r1663 1028 1028 1029 1029 1030 echo $ac_n "checking size of long long""... $ac_c" 1>&6 1031 echo "configure:1032: checking size of long long" >&5 1032 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then 1033 echo $ac_n "(cached) $ac_c" 1>&6 1034 else 1035 if test "$cross_compiling" = yes; then 1036 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 1037 else 1038 cat > conftest.$ac_ext <<EOF 1039 #line 1040 "configure" 1040 #include "confdefs.h" 1041 #include <stdio.h> 1042 main() 1043 { 1044 FILE *f=fopen("conftestval", "w"); 1045 if (!f) exit(1); 1046 fprintf(f, "%d\n", sizeof(long long)); 1047 exit(0); 1048 } 1049 EOF 1050 if { (eval echo configure:1051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1051 then 1052 ac_cv_sizeof_long_long=`cat conftestval` 1053 else 1054 echo "configure: failed program was:" >&5 1055 cat conftest.$ac_ext >&5 1056 rm -fr conftest* 1057 ac_cv_sizeof_long_long=0 1058 fi 1059 rm -fr conftest* 1060 fi 1061 1062 fi 1063 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 1064 cat >> confdefs.h <<EOF 1065 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long 1066 EOF 1067 1068 1030 1069 echo $ac_n "checking size of float""... $ac_c" 1>&6 1031 echo "configure:10 32: checking size of float" >&51070 echo "configure:1071: checking size of float" >&5 1032 1071 if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then 1033 1072 echo $ac_n "(cached) $ac_c" 1>&6 … … 1037 1076 else 1038 1077 cat > conftest.$ac_ext <<EOF 1039 #line 10 40"configure"1078 #line 1079 "configure" 1040 1079 #include "confdefs.h" 1041 1080 #include <stdio.h> … … 1048 1087 } 1049 1088 EOF 1050 if { (eval echo configure:10 51: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1089 if { (eval echo configure:1090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1051 1090 then 1052 1091 ac_cv_sizeof_float=`cat conftestval` … … 1068 1107 1069 1108 echo $ac_n "checking size of double""... $ac_c" 1>&6 1070 echo "configure:1 071: checking size of double" >&51109 echo "configure:1110: checking size of double" >&5 1071 1110 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 1072 1111 echo $ac_n "(cached) $ac_c" 1>&6 … … 1076 1115 else 1077 1116 cat > conftest.$ac_ext <<EOF 1078 #line 1 079"configure"1117 #line 1118 "configure" 1079 1118 #include "confdefs.h" 1080 1119 #include <stdio.h> … … 1087 1126 } 1088 1127 EOF 1089 if { (eval echo configure:1 090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1128 if { (eval echo configure:1129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1090 1129 then 1091 1130 ac_cv_sizeof_double=`cat conftestval` … … 1107 1146 1108 1147 echo $ac_n "checking size of long double""... $ac_c" 1>&6 1109 echo "configure:11 10: checking size of long double" >&51148 echo "configure:1149: checking size of long double" >&5 1110 1149 if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then 1111 1150 echo $ac_n "(cached) $ac_c" 1>&6 … … 1115 1154 else 1116 1155 cat > conftest.$ac_ext <<EOF 1117 #line 11 18"configure"1156 #line 1157 "configure" 1118 1157 #include "confdefs.h" 1119 1158 #include <stdio.h> … … 1126 1165 } 1127 1166 EOF 1128 if { (eval echo configure:11 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1167 if { (eval echo configure:1168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1129 1168 then 1130 1169 ac_cv_sizeof_long_double=`cat conftestval` … … 1148 1187 1149 1188 echo $ac_n "checking "for cfitsio lib"""... $ac_c" 1>&6 1150 echo "configure:11 51: checking "for cfitsio lib"" >&51189 echo "configure:1190: checking "for cfitsio lib"" >&5 1151 1190 MACHDIR=`uname`-$CXX 1152 1191 if test -f $ARCHBASEREP/$MACHDIR/Libs/libcfitsio.a; then … … 1173 1212 1174 1213 echo $ac_n "checking "for cfitsio includes"""... $ac_c" 1>&6 1175 echo "configure:1 176: checking "for cfitsio includes"" >&51214 echo "configure:1215: checking "for cfitsio includes"" >&5 1176 1215 if test -f $CFITSIODIR/fitsio.h; then 1177 1216 cfitsincdir='-I$(CFITSIODIR)' … … 1185 1224 1186 1225 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 1187 echo "configure:1 188: checking for sin in -lm" >&51226 echo "configure:1227: checking for sin in -lm" >&5 1188 1227 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 1189 1228 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1193 1232 LIBS="-lm $LIBS" 1194 1233 cat > conftest.$ac_ext <<EOF 1195 #line 1 196"configure"1234 #line 1235 "configure" 1196 1235 #include "confdefs.h" 1197 1236 /* Override any gcc2 internal prototype to avoid an error. */ … … 1204 1243 ; return 0; } 1205 1244 EOF 1206 if { (eval echo configure:12 07: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1245 if { (eval echo configure:1246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1207 1246 rm -rf conftest* 1208 1247 eval "ac_cv_lib_$ac_lib_var=yes" … … 1233 1272 1234 1273 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1235 echo "configure:12 36: checking how to run the C preprocessor" >&51274 echo "configure:1275: checking how to run the C preprocessor" >&5 1236 1275 # On Suns, sometimes $CPP names a directory. 1237 1276 if test -n "$CPP" && test -d "$CPP"; then … … 1248 1287 # not just through cpp. 1249 1288 cat > conftest.$ac_ext <<EOF 1250 #line 12 51"configure"1289 #line 1290 "configure" 1251 1290 #include "confdefs.h" 1252 1291 #include <assert.h> … … 1254 1293 EOF 1255 1294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1256 { (eval echo configure:12 57: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1295 { (eval echo configure:1296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1257 1296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1258 1297 if test -z "$ac_err"; then … … 1265 1304 CPP="${CC-cc} -E -traditional-cpp" 1266 1305 cat > conftest.$ac_ext <<EOF 1267 #line 1 268"configure"1306 #line 1307 "configure" 1268 1307 #include "confdefs.h" 1269 1308 #include <assert.h> … … 1271 1310 EOF 1272 1311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1273 { (eval echo configure:1 274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1312 { (eval echo configure:1313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1274 1313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1275 1314 if test -z "$ac_err"; then … … 1282 1321 CPP="${CC-cc} -nologo -E" 1283 1322 cat > conftest.$ac_ext <<EOF 1284 #line 1 285"configure"1323 #line 1324 "configure" 1285 1324 #include "confdefs.h" 1286 1325 #include <assert.h> … … 1288 1327 EOF 1289 1328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1290 { (eval echo configure:1 291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1329 { (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1291 1330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1292 1331 if test -z "$ac_err"; then … … 1313 1352 1314 1353 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1315 echo "configure:13 16: checking for ANSI C header files" >&51354 echo "configure:1355: checking for ANSI C header files" >&5 1316 1355 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1317 1356 echo $ac_n "(cached) $ac_c" 1>&6 1318 1357 else 1319 1358 cat > conftest.$ac_ext <<EOF 1320 #line 13 21"configure"1359 #line 1360 "configure" 1321 1360 #include "confdefs.h" 1322 1361 #include <stdlib.h> … … 1326 1365 EOF 1327 1366 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1328 { (eval echo configure:13 29: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1367 { (eval echo configure:1368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1329 1368 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1330 1369 if test -z "$ac_err"; then … … 1343 1382 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1344 1383 cat > conftest.$ac_ext <<EOF 1345 #line 13 46"configure"1384 #line 1385 "configure" 1346 1385 #include "confdefs.h" 1347 1386 #include <string.h> … … 1361 1400 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1362 1401 cat > conftest.$ac_ext <<EOF 1363 #line 1 364"configure"1402 #line 1403 "configure" 1364 1403 #include "confdefs.h" 1365 1404 #include <stdlib.h> … … 1382 1421 else 1383 1422 cat > conftest.$ac_ext <<EOF 1384 #line 1 385"configure"1423 #line 1424 "configure" 1385 1424 #include "confdefs.h" 1386 1425 #include <ctype.h> … … 1393 1432 1394 1433 EOF 1395 if { (eval echo configure:1 396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1434 if { (eval echo configure:1435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1396 1435 then 1397 1436 : … … 1415 1454 1416 1455 fi 1456 1457 for ac_hdr in values.h 1458 do 1459 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1460 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1461 echo "configure:1462: checking for $ac_hdr" >&5 1462 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1463 echo $ac_n "(cached) $ac_c" 1>&6 1464 else 1465 cat > conftest.$ac_ext <<EOF 1466 #line 1467 "configure" 1467 #include "confdefs.h" 1468 #include <$ac_hdr> 1469 EOF 1470 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1471 { (eval echo configure:1472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1472 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1473 if test -z "$ac_err"; then 1474 rm -rf conftest* 1475 eval "ac_cv_header_$ac_safe=yes" 1476 else 1477 echo "$ac_err" >&5 1478 echo "configure: failed program was:" >&5 1479 cat conftest.$ac_ext >&5 1480 rm -rf conftest* 1481 eval "ac_cv_header_$ac_safe=no" 1482 fi 1483 rm -f conftest* 1484 fi 1485 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1486 echo "$ac_t""yes" 1>&6 1487 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1488 cat >> confdefs.h <<EOF 1489 #define $ac_tr_hdr 1 1490 EOF 1491 1492 else 1493 echo "$ac_t""no" 1>&6 1494 fi 1495 done 1417 1496 1418 1497
Note:
See TracChangeset
for help on using the changeset viewer.