Changeset 1706 in Sophya for trunk/ArchTOIPipe/configure
- Timestamp:
- Oct 19, 2001, 11:28:05 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/configure
r1692 r1706 910 910 fi 911 911 912 # Extract the first word of "ar", so it can be a program name with args. 913 set dummy ar; ac_word=$2 914 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 915 echo "configure:916: checking for $ac_word" >&5 916 if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then 917 echo $ac_n "(cached) $ac_c" 1>&6 918 else 919 case "$AR" in 920 /*) 921 ac_cv_path_AR="$AR" # Let the user override the test with a path. 922 ;; 923 ?:/*) 924 ac_cv_path_AR="$AR" # Let the user override the test with a dos path. 925 ;; 926 *) 927 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 928 ac_dummy="/usr/bin:$PATH" 929 for ac_dir in $ac_dummy; do 930 test -z "$ac_dir" && ac_dir=. 931 if test -f $ac_dir/$ac_word; then 932 ac_cv_path_AR="$ac_dir/$ac_word" 933 break 934 fi 935 done 936 IFS="$ac_save_ifs" 937 test -z "$ac_cv_path_AR" && ac_cv_path_AR="/usr/bin/ar" 938 ;; 939 esac 940 fi 941 AR="$ac_cv_path_AR" 942 if test -n "$AR"; then 943 echo "$ac_t""$AR" 1>&6 944 else 945 echo "$ac_t""no" 1>&6 946 fi 947 912 948 913 949 if test $GCC = "yes"; then … … 919 955 920 956 echo $ac_n "checking size of short""... $ac_c" 1>&6 921 echo "configure:9 22: checking size of short" >&5957 echo "configure:958: checking size of short" >&5 922 958 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 923 959 echo $ac_n "(cached) $ac_c" 1>&6 … … 927 963 else 928 964 cat > conftest.$ac_ext <<EOF 929 #line 9 30"configure"965 #line 966 "configure" 930 966 #include "confdefs.h" 931 967 #include <stdio.h> … … 938 974 } 939 975 EOF 940 if { (eval echo configure:9 41: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null976 if { (eval echo configure:977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 941 977 then 942 978 ac_cv_sizeof_short=`cat conftestval` … … 958 994 959 995 echo $ac_n "checking size of int""... $ac_c" 1>&6 960 echo "configure:9 61: checking size of int" >&5996 echo "configure:997: checking size of int" >&5 961 997 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 962 998 echo $ac_n "(cached) $ac_c" 1>&6 … … 966 1002 else 967 1003 cat > conftest.$ac_ext <<EOF 968 #line 969"configure"1004 #line 1005 "configure" 969 1005 #include "confdefs.h" 970 1006 #include <stdio.h> … … 977 1013 } 978 1014 EOF 979 if { (eval echo configure: 980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1015 if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 980 1016 then 981 1017 ac_cv_sizeof_int=`cat conftestval` … … 997 1033 998 1034 echo $ac_n "checking size of long""... $ac_c" 1>&6 999 echo "configure:10 00: checking size of long" >&51035 echo "configure:1036: checking size of long" >&5 1000 1036 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 1001 1037 echo $ac_n "(cached) $ac_c" 1>&6 … … 1005 1041 else 1006 1042 cat > conftest.$ac_ext <<EOF 1007 #line 10 08"configure"1043 #line 1044 "configure" 1008 1044 #include "confdefs.h" 1009 1045 #include <stdio.h> … … 1016 1052 } 1017 1053 EOF 1018 if { (eval echo configure:10 19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1054 if { (eval echo configure:1055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1019 1055 then 1020 1056 ac_cv_sizeof_long=`cat conftestval` … … 1036 1072 1037 1073 echo $ac_n "checking size of long long""... $ac_c" 1>&6 1038 echo "configure:10 39: checking size of long long" >&51074 echo "configure:1075: checking size of long long" >&5 1039 1075 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then 1040 1076 echo $ac_n "(cached) $ac_c" 1>&6 … … 1044 1080 else 1045 1081 cat > conftest.$ac_ext <<EOF 1046 #line 10 47"configure"1082 #line 1083 "configure" 1047 1083 #include "confdefs.h" 1048 1084 #include <stdio.h> … … 1055 1091 } 1056 1092 EOF 1057 if { (eval echo configure:10 58: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1093 if { (eval echo configure:1094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1058 1094 then 1059 1095 ac_cv_sizeof_long_long=`cat conftestval` … … 1075 1111 1076 1112 echo $ac_n "checking size of float""... $ac_c" 1>&6 1077 echo "configure:1 078: checking size of float" >&51113 echo "configure:1114: checking size of float" >&5 1078 1114 if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then 1079 1115 echo $ac_n "(cached) $ac_c" 1>&6 … … 1083 1119 else 1084 1120 cat > conftest.$ac_ext <<EOF 1085 #line 1 086"configure"1121 #line 1122 "configure" 1086 1122 #include "confdefs.h" 1087 1123 #include <stdio.h> … … 1094 1130 } 1095 1131 EOF 1096 if { (eval echo configure:1 097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1132 if { (eval echo configure:1133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1097 1133 then 1098 1134 ac_cv_sizeof_float=`cat conftestval` … … 1114 1150 1115 1151 echo $ac_n "checking size of double""... $ac_c" 1>&6 1116 echo "configure:11 17: checking size of double" >&51152 echo "configure:1153: checking size of double" >&5 1117 1153 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 1118 1154 echo $ac_n "(cached) $ac_c" 1>&6 … … 1122 1158 else 1123 1159 cat > conftest.$ac_ext <<EOF 1124 #line 11 25"configure"1160 #line 1161 "configure" 1125 1161 #include "confdefs.h" 1126 1162 #include <stdio.h> … … 1133 1169 } 1134 1170 EOF 1135 if { (eval echo configure:11 36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1171 if { (eval echo configure:1172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1136 1172 then 1137 1173 ac_cv_sizeof_double=`cat conftestval` … … 1153 1189 1154 1190 echo $ac_n "checking size of long double""... $ac_c" 1>&6 1155 echo "configure:11 56: checking size of long double" >&51191 echo "configure:1192: checking size of long double" >&5 1156 1192 if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then 1157 1193 echo $ac_n "(cached) $ac_c" 1>&6 … … 1161 1197 else 1162 1198 cat > conftest.$ac_ext <<EOF 1163 #line 1 164"configure"1199 #line 1200 "configure" 1164 1200 #include "confdefs.h" 1165 1201 #include <stdio.h> … … 1172 1208 } 1173 1209 EOF 1174 if { (eval echo configure:1 175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1210 if { (eval echo configure:1211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1175 1211 then 1176 1212 ac_cv_sizeof_long_double=`cat conftestval` … … 1194 1230 1195 1231 echo $ac_n "checking "for cfitsio lib"""... $ac_c" 1>&6 1196 echo "configure:1 197: checking "for cfitsio lib"" >&51232 echo "configure:1233: checking "for cfitsio lib"" >&5 1197 1233 MACHDIR=`uname`-$CXX 1198 1234 if test -f $ARCHBASEREP/$MACHDIR/Libs/libcfitsio.a; then … … 1219 1255 1220 1256 echo $ac_n "checking "for cfitsio includes"""... $ac_c" 1>&6 1221 echo "configure:12 22: checking "for cfitsio includes"" >&51257 echo "configure:1258: checking "for cfitsio includes"" >&5 1222 1258 if test -f $CFITSIODIR/fitsio.h; then 1223 1259 cfitsincdir='-I$(CFITSIODIR)' … … 1231 1267 1232 1268 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 1233 echo "configure:12 34: checking for sin in -lm" >&51269 echo "configure:1270: checking for sin in -lm" >&5 1234 1270 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 1235 1271 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1239 1275 LIBS="-lm $LIBS" 1240 1276 cat > conftest.$ac_ext <<EOF 1241 #line 12 42"configure"1277 #line 1278 "configure" 1242 1278 #include "confdefs.h" 1243 1279 /* Override any gcc2 internal prototype to avoid an error. */ … … 1250 1286 ; return 0; } 1251 1287 EOF 1252 if { (eval echo configure:12 53: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1288 if { (eval echo configure:1289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1253 1289 rm -rf conftest* 1254 1290 eval "ac_cv_lib_$ac_lib_var=yes" … … 1279 1315 1280 1316 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1281 echo "configure:1 282: checking how to run the C preprocessor" >&51317 echo "configure:1318: checking how to run the C preprocessor" >&5 1282 1318 # On Suns, sometimes $CPP names a directory. 1283 1319 if test -n "$CPP" && test -d "$CPP"; then … … 1294 1330 # not just through cpp. 1295 1331 cat > conftest.$ac_ext <<EOF 1296 #line 1 297"configure"1332 #line 1333 "configure" 1297 1333 #include "confdefs.h" 1298 1334 #include <assert.h> … … 1300 1336 EOF 1301 1337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1302 { (eval echo configure:13 03: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1338 { (eval echo configure:1339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1303 1339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1304 1340 if test -z "$ac_err"; then … … 1311 1347 CPP="${CC-cc} -E -traditional-cpp" 1312 1348 cat > conftest.$ac_ext <<EOF 1313 #line 13 14"configure"1349 #line 1350 "configure" 1314 1350 #include "confdefs.h" 1315 1351 #include <assert.h> … … 1317 1353 EOF 1318 1354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1319 { (eval echo configure:13 20: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1355 { (eval echo configure:1356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1320 1356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1321 1357 if test -z "$ac_err"; then … … 1328 1364 CPP="${CC-cc} -nologo -E" 1329 1365 cat > conftest.$ac_ext <<EOF 1330 #line 13 31"configure"1366 #line 1367 "configure" 1331 1367 #include "confdefs.h" 1332 1368 #include <assert.h> … … 1334 1370 EOF 1335 1371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1336 { (eval echo configure:13 37: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1372 { (eval echo configure:1373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1337 1373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1338 1374 if test -z "$ac_err"; then … … 1359 1395 1360 1396 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1361 echo "configure:13 62: checking for ANSI C header files" >&51397 echo "configure:1398: checking for ANSI C header files" >&5 1362 1398 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1363 1399 echo $ac_n "(cached) $ac_c" 1>&6 1364 1400 else 1365 1401 cat > conftest.$ac_ext <<EOF 1366 #line 1 367"configure"1402 #line 1403 "configure" 1367 1403 #include "confdefs.h" 1368 1404 #include <stdlib.h> … … 1372 1408 EOF 1373 1409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1374 { (eval echo configure:1 375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1410 { (eval echo configure:1411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1375 1411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1376 1412 if test -z "$ac_err"; then … … 1389 1425 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1390 1426 cat > conftest.$ac_ext <<EOF 1391 #line 1 392"configure"1427 #line 1428 "configure" 1392 1428 #include "confdefs.h" 1393 1429 #include <string.h> … … 1407 1443 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1408 1444 cat > conftest.$ac_ext <<EOF 1409 #line 14 10"configure"1445 #line 1446 "configure" 1410 1446 #include "confdefs.h" 1411 1447 #include <stdlib.h> … … 1428 1464 else 1429 1465 cat > conftest.$ac_ext <<EOF 1430 #line 14 31"configure"1466 #line 1467 "configure" 1431 1467 #include "confdefs.h" 1432 1468 #include <ctype.h> … … 1439 1475 1440 1476 EOF 1441 if { (eval echo configure:14 42: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1477 if { (eval echo configure:1478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1442 1478 then 1443 1479 : … … 1466 1502 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1467 1503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1468 echo "configure:1 469: checking for $ac_hdr" >&51504 echo "configure:1505: checking for $ac_hdr" >&5 1469 1505 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1470 1506 echo $ac_n "(cached) $ac_c" 1>&6 1471 1507 else 1472 1508 cat > conftest.$ac_ext <<EOF 1473 #line 1 474"configure"1509 #line 1510 "configure" 1474 1510 #include "confdefs.h" 1475 1511 #include <$ac_hdr> 1476 1512 EOF 1477 1513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1478 { (eval echo configure:1 479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1514 { (eval echo configure:1515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1479 1515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1480 1516 if test -z "$ac_err"; then … … 1643 1679 s%@CC@%$CC%g 1644 1680 s%@CXX@%$CXX%g 1681 s%@AR@%$AR%g 1645 1682 s%@gcc@%$gcc%g 1646 1683 s%@cfitslibdir@%$cfitslibdir%g
Note:
See TracChangeset
for help on using the changeset viewer.