Changeset 1692 in Sophya for trunk/ArchTOIPipe/configure
- Timestamp:
- Oct 14, 2001, 11:15:01 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/configure
r1685 r1692 911 911 912 912 913 if test $GCC = "yes"; then 914 gcc=$CC 915 else 916 gcc=gcc 917 fi 918 919 913 920 echo $ac_n "checking size of short""... $ac_c" 1>&6 914 echo "configure:9 15: checking size of short" >&5921 echo "configure:922: checking size of short" >&5 915 922 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 916 923 echo $ac_n "(cached) $ac_c" 1>&6 … … 920 927 else 921 928 cat > conftest.$ac_ext <<EOF 922 #line 9 23"configure"929 #line 930 "configure" 923 930 #include "confdefs.h" 924 931 #include <stdio.h> … … 931 938 } 932 939 EOF 933 if { (eval echo configure:9 34: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null940 if { (eval echo configure:941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 934 941 then 935 942 ac_cv_sizeof_short=`cat conftestval` … … 951 958 952 959 echo $ac_n "checking size of int""... $ac_c" 1>&6 953 echo "configure:9 54: checking size of int" >&5960 echo "configure:961: checking size of int" >&5 954 961 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 955 962 echo $ac_n "(cached) $ac_c" 1>&6 … … 959 966 else 960 967 cat > conftest.$ac_ext <<EOF 961 #line 96 2"configure"968 #line 969 "configure" 962 969 #include "confdefs.h" 963 970 #include <stdio.h> … … 970 977 } 971 978 EOF 972 if { (eval echo configure:9 73: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null979 if { (eval echo configure:980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 973 980 then 974 981 ac_cv_sizeof_int=`cat conftestval` … … 990 997 991 998 echo $ac_n "checking size of long""... $ac_c" 1>&6 992 echo "configure: 993: checking size of long" >&5999 echo "configure:1000: checking size of long" >&5 993 1000 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 994 1001 echo $ac_n "(cached) $ac_c" 1>&6 … … 998 1005 else 999 1006 cat > conftest.$ac_ext <<EOF 1000 #line 100 1"configure"1007 #line 1008 "configure" 1001 1008 #include "confdefs.h" 1002 1009 #include <stdio.h> … … 1009 1016 } 1010 1017 EOF 1011 if { (eval echo configure:101 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1018 if { (eval echo configure:1019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1012 1019 then 1013 1020 ac_cv_sizeof_long=`cat conftestval` … … 1029 1036 1030 1037 echo $ac_n "checking size of long long""... $ac_c" 1>&6 1031 echo "configure:103 2: checking size of long long" >&51038 echo "configure:1039: checking size of long long" >&5 1032 1039 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then 1033 1040 echo $ac_n "(cached) $ac_c" 1>&6 … … 1037 1044 else 1038 1045 cat > conftest.$ac_ext <<EOF 1039 #line 104 0"configure"1046 #line 1047 "configure" 1040 1047 #include "confdefs.h" 1041 1048 #include <stdio.h> … … 1048 1055 } 1049 1056 EOF 1050 if { (eval echo configure:105 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1057 if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1051 1058 then 1052 1059 ac_cv_sizeof_long_long=`cat conftestval` … … 1068 1075 1069 1076 echo $ac_n "checking size of float""... $ac_c" 1>&6 1070 echo "configure:107 1: checking size of float" >&51077 echo "configure:1078: checking size of float" >&5 1071 1078 if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then 1072 1079 echo $ac_n "(cached) $ac_c" 1>&6 … … 1076 1083 else 1077 1084 cat > conftest.$ac_ext <<EOF 1078 #line 10 79"configure"1085 #line 1086 "configure" 1079 1086 #include "confdefs.h" 1080 1087 #include <stdio.h> … … 1087 1094 } 1088 1095 EOF 1089 if { (eval echo configure:109 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1096 if { (eval echo configure:1097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1090 1097 then 1091 1098 ac_cv_sizeof_float=`cat conftestval` … … 1107 1114 1108 1115 echo $ac_n "checking size of double""... $ac_c" 1>&6 1109 echo "configure:111 0: checking size of double" >&51116 echo "configure:1117: checking size of double" >&5 1110 1117 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 1111 1118 echo $ac_n "(cached) $ac_c" 1>&6 … … 1115 1122 else 1116 1123 cat > conftest.$ac_ext <<EOF 1117 #line 11 18"configure"1124 #line 1125 "configure" 1118 1125 #include "confdefs.h" 1119 1126 #include <stdio.h> … … 1126 1133 } 1127 1134 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/null1135 if { (eval echo configure:1136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1129 1136 then 1130 1137 ac_cv_sizeof_double=`cat conftestval` … … 1146 1153 1147 1154 echo $ac_n "checking size of long double""... $ac_c" 1>&6 1148 echo "configure:11 49: checking size of long double" >&51155 echo "configure:1156: checking size of long double" >&5 1149 1156 if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then 1150 1157 echo $ac_n "(cached) $ac_c" 1>&6 … … 1154 1161 else 1155 1162 cat > conftest.$ac_ext <<EOF 1156 #line 11 57"configure"1163 #line 1164 "configure" 1157 1164 #include "confdefs.h" 1158 1165 #include <stdio.h> … … 1165 1172 } 1166 1173 EOF 1167 if { (eval echo configure:11 68: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1174 if { (eval echo configure:1175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1168 1175 then 1169 1176 ac_cv_sizeof_long_double=`cat conftestval` … … 1187 1194 1188 1195 echo $ac_n "checking "for cfitsio lib"""... $ac_c" 1>&6 1189 echo "configure:119 0: checking "for cfitsio lib"" >&51196 echo "configure:1197: checking "for cfitsio lib"" >&5 1190 1197 MACHDIR=`uname`-$CXX 1191 1198 if test -f $ARCHBASEREP/$MACHDIR/Libs/libcfitsio.a; then … … 1212 1219 1213 1220 echo $ac_n "checking "for cfitsio includes"""... $ac_c" 1>&6 1214 echo "configure:12 15: checking "for cfitsio includes"" >&51221 echo "configure:1222: checking "for cfitsio includes"" >&5 1215 1222 if test -f $CFITSIODIR/fitsio.h; then 1216 1223 cfitsincdir='-I$(CFITSIODIR)' … … 1224 1231 1225 1232 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 1226 echo "configure:12 27: checking for sin in -lm" >&51233 echo "configure:1234: checking for sin in -lm" >&5 1227 1234 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 1228 1235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1232 1239 LIBS="-lm $LIBS" 1233 1240 cat > conftest.$ac_ext <<EOF 1234 #line 12 35"configure"1241 #line 1242 "configure" 1235 1242 #include "confdefs.h" 1236 1243 /* Override any gcc2 internal prototype to avoid an error. */ … … 1243 1250 ; return 0; } 1244 1251 EOF 1245 if { (eval echo configure:12 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1252 if { (eval echo configure:1253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1246 1253 rm -rf conftest* 1247 1254 eval "ac_cv_lib_$ac_lib_var=yes" … … 1272 1279 1273 1280 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1274 echo "configure:12 75: checking how to run the C preprocessor" >&51281 echo "configure:1282: checking how to run the C preprocessor" >&5 1275 1282 # On Suns, sometimes $CPP names a directory. 1276 1283 if test -n "$CPP" && test -d "$CPP"; then … … 1287 1294 # not just through cpp. 1288 1295 cat > conftest.$ac_ext <<EOF 1289 #line 129 0"configure"1296 #line 1297 "configure" 1290 1297 #include "confdefs.h" 1291 1298 #include <assert.h> … … 1293 1300 EOF 1294 1301 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1295 { (eval echo configure:1 296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1302 { (eval echo configure:1303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1296 1303 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1297 1304 if test -z "$ac_err"; then … … 1304 1311 CPP="${CC-cc} -E -traditional-cpp" 1305 1312 cat > conftest.$ac_ext <<EOF 1306 #line 13 07"configure"1313 #line 1314 "configure" 1307 1314 #include "confdefs.h" 1308 1315 #include <assert.h> … … 1310 1317 EOF 1311 1318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1312 { (eval echo configure:13 13: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1319 { (eval echo configure:1320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1313 1320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1314 1321 if test -z "$ac_err"; then … … 1321 1328 CPP="${CC-cc} -nologo -E" 1322 1329 cat > conftest.$ac_ext <<EOF 1323 #line 13 24"configure"1330 #line 1331 "configure" 1324 1331 #include "confdefs.h" 1325 1332 #include <assert.h> … … 1327 1334 EOF 1328 1335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1329 { (eval echo configure:133 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1336 { (eval echo configure:1337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1330 1337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1331 1338 if test -z "$ac_err"; then … … 1352 1359 1353 1360 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1354 echo "configure:13 55: checking for ANSI C header files" >&51361 echo "configure:1362: checking for ANSI C header files" >&5 1355 1362 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1356 1363 echo $ac_n "(cached) $ac_c" 1>&6 1357 1364 else 1358 1365 cat > conftest.$ac_ext <<EOF 1359 #line 136 0"configure"1366 #line 1367 "configure" 1360 1367 #include "confdefs.h" 1361 1368 #include <stdlib.h> … … 1365 1372 EOF 1366 1373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1367 { (eval echo configure:13 68: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1374 { (eval echo configure:1375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1368 1375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1369 1376 if test -z "$ac_err"; then … … 1382 1389 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1383 1390 cat > conftest.$ac_ext <<EOF 1384 #line 13 85"configure"1391 #line 1392 "configure" 1385 1392 #include "confdefs.h" 1386 1393 #include <string.h> … … 1400 1407 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1401 1408 cat > conftest.$ac_ext <<EOF 1402 #line 14 03"configure"1409 #line 1410 "configure" 1403 1410 #include "confdefs.h" 1404 1411 #include <stdlib.h> … … 1421 1428 else 1422 1429 cat > conftest.$ac_ext <<EOF 1423 #line 14 24"configure"1430 #line 1431 "configure" 1424 1431 #include "confdefs.h" 1425 1432 #include <ctype.h> … … 1432 1439 1433 1440 EOF 1434 if { (eval echo configure:14 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1441 if { (eval echo configure:1442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1435 1442 then 1436 1443 : … … 1459 1466 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1460 1467 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1461 echo "configure:146 2: checking for $ac_hdr" >&51468 echo "configure:1469: checking for $ac_hdr" >&5 1462 1469 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1463 1470 echo $ac_n "(cached) $ac_c" 1>&6 1464 1471 else 1465 1472 cat > conftest.$ac_ext <<EOF 1466 #line 14 67"configure"1473 #line 1474 "configure" 1467 1474 #include "confdefs.h" 1468 1475 #include <$ac_hdr> 1469 1476 EOF 1470 1477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1471 { (eval echo configure:147 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1478 { (eval echo configure:1479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1472 1479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1473 1480 if test -z "$ac_err"; then … … 1636 1643 s%@CC@%$CC%g 1637 1644 s%@CXX@%$CXX%g 1645 s%@gcc@%$gcc%g 1638 1646 s%@cfitslibdir@%$cfitslibdir%g 1639 1647 s%@cfitsincdir@%$cfitsincdir%g
Note:
See TracChangeset
for help on using the changeset viewer.