Changeset 8c8a76 in git
- Timestamp:
- May 2, 2000, 1:53:37 PM (23 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 6ba162c4f4b9c7a834f12836e2203b890cace4e4
- Parents:
- d76127c24c920542ed71575d5303af18eb70c1c3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rd76127 r8c8a76 608 608 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" emacs/Makefile" 609 609 fi 610 if test -d "IntegerProgramming"; then 611 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" IntegerProgramming/Makefile" 612 fi 610 613 611 614 pwd=`pwd` 612 615 613 616 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 614 echo "configure:61 5: checking uname for singular" >&5617 echo "configure:618: checking uname for singular" >&5 615 618 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 616 619 echo $ac_n "(cached) $ac_c" 1>&6 … … 664 667 set dummy gcc; ac_word=$2 665 668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 666 echo "configure:6 67: checking for $ac_word" >&5669 echo "configure:670: checking for $ac_word" >&5 667 670 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 668 671 echo $ac_n "(cached) $ac_c" 1>&6 … … 694 697 set dummy cc; ac_word=$2 695 698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 696 echo "configure: 697: checking for $ac_word" >&5699 echo "configure:700: checking for $ac_word" >&5 697 700 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 698 701 echo $ac_n "(cached) $ac_c" 1>&6 … … 745 748 set dummy cl; ac_word=$2 746 749 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 747 echo "configure:7 48: checking for $ac_word" >&5750 echo "configure:751: checking for $ac_word" >&5 748 751 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 749 752 echo $ac_n "(cached) $ac_c" 1>&6 … … 777 780 778 781 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 779 echo "configure:78 0: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5782 echo "configure:783: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 780 783 781 784 ac_ext=c … … 788 791 cat > conftest.$ac_ext << EOF 789 792 790 #line 79 1"configure"793 #line 794 "configure" 791 794 #include "confdefs.h" 792 795 793 796 main(){return(0);} 794 797 EOF 795 if { (eval echo configure:79 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then798 if { (eval echo configure:799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 796 799 ac_cv_prog_cc_works=yes 797 800 # If we can't run a trivial program, we are probably using a cross compiler. … … 819 822 fi 820 823 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 821 echo "configure:82 2: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5824 echo "configure:825: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 822 825 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 823 826 cross_compiling=$ac_cv_prog_cc_cross 824 827 825 828 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 826 echo "configure:8 27: checking whether we are using GNU C" >&5829 echo "configure:830: checking whether we are using GNU C" >&5 827 830 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 828 831 echo $ac_n "(cached) $ac_c" 1>&6 … … 833 836 #endif 834 837 EOF 835 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:83 6: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then838 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 836 839 ac_cv_prog_gcc=yes 837 840 else … … 852 855 CFLAGS= 853 856 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 854 echo "configure:85 5: checking whether ${CC-cc} accepts -g" >&5857 echo "configure:858: checking whether ${CC-cc} accepts -g" >&5 855 858 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 856 859 echo $ac_n "(cached) $ac_c" 1>&6 … … 884 887 885 888 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 886 echo "configure:8 87: checking how to run the C preprocessor" >&5889 echo "configure:890: checking how to run the C preprocessor" >&5 887 890 # On Suns, sometimes $CPP names a directory. 888 891 if test -n "$CPP" && test -d "$CPP"; then … … 899 902 # not just through cpp. 900 903 cat > conftest.$ac_ext <<EOF 901 #line 90 2"configure"904 #line 905 "configure" 902 905 #include "confdefs.h" 903 906 #include <assert.h> … … 905 908 EOF 906 909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 907 { (eval echo configure:9 08: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }910 { (eval echo configure:911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 908 911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 909 912 if test -z "$ac_err"; then … … 916 919 CPP="${CC-cc} -E -traditional-cpp" 917 920 cat > conftest.$ac_ext <<EOF 918 #line 9 19"configure"921 #line 922 "configure" 919 922 #include "confdefs.h" 920 923 #include <assert.h> … … 922 925 EOF 923 926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 924 { (eval echo configure:92 5: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }927 { (eval echo configure:928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 925 928 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 926 929 if test -z "$ac_err"; then … … 933 936 CPP="${CC-cc} -nologo -E" 934 937 cat > conftest.$ac_ext <<EOF 935 #line 93 6"configure"938 #line 939 "configure" 936 939 #include "confdefs.h" 937 940 #include <assert.h> … … 939 942 EOF 940 943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 941 { (eval echo configure:94 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }944 { (eval echo configure:945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 942 945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 943 946 if test -z "$ac_err"; then … … 994 997 # ./install, which can be erroneously created by make from ./install.sh. 995 998 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 996 echo "configure: 997: checking for a BSD compatible install" >&5999 echo "configure:1000: checking for a BSD compatible install" >&5 997 1000 if test -z "$INSTALL"; then 998 1001 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1047 1050 1048 1051 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1049 echo "configure:105 0: checking for AIX" >&51052 echo "configure:1053: checking for AIX" >&5 1050 1053 cat > conftest.$ac_ext <<EOF 1051 #line 105 2"configure"1054 #line 1055 "configure" 1052 1055 #include "confdefs.h" 1053 1056 #ifdef _AIX … … 1070 1073 1071 1074 1075 if test "${CXXFLAGS+set}" != set; then 1076 ac_cxxflags_set=no 1077 CXXFLAGS="-O" 1078 fi 1079 if test "${CFLAGS+set}" != set; then 1080 CFLAGS="-O" 1081 ac_cflags_set=no 1082 fi 1083 1084 # check whether CXX was set by user as env variable 1085 if test "${CXX+set}" != set; then 1086 ac_cxx_set=no 1087 else 1088 ac_cxx_set=yes 1089 fi 1090 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl 1091 do 1092 # Extract the first word of "$ac_prog", so it can be a program name with args. 1093 set dummy $ac_prog; ac_word=$2 1094 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1095 echo "configure:1096: checking for $ac_word" >&5 1096 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 1097 echo $ac_n "(cached) $ac_c" 1>&6 1098 else 1099 if test -n "$CXX"; then 1100 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1101 else 1102 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1103 ac_dummy="$PATH" 1104 for ac_dir in $ac_dummy; do 1105 test -z "$ac_dir" && ac_dir=. 1106 if test -f $ac_dir/$ac_word; then 1107 ac_cv_prog_CXX="$ac_prog" 1108 break 1109 fi 1110 done 1111 IFS="$ac_save_ifs" 1112 fi 1113 fi 1114 CXX="$ac_cv_prog_CXX" 1115 if test -n "$CXX"; then 1116 echo "$ac_t""$CXX" 1>&6 1117 else 1118 echo "$ac_t""no" 1>&6 1119 fi 1120 1121 test -n "$CXX" && break 1122 done 1123 test -n "$CXX" || CXX="gcc" 1124 1125 1126 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1127 echo "configure:1128: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1128 1129 ac_ext=C 1130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1131 ac_cpp='$CXXCPP $CPPFLAGS' 1132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1134 cross_compiling=$ac_cv_prog_cxx_cross 1135 1136 cat > conftest.$ac_ext << EOF 1137 1138 #line 1139 "configure" 1139 #include "confdefs.h" 1140 1141 int main(){return(0);} 1142 EOF 1143 if { (eval echo configure:1144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1144 ac_cv_prog_cxx_works=yes 1145 # If we can't run a trivial program, we are probably using a cross compiler. 1146 if (./conftest; exit) 2>/dev/null; then 1147 ac_cv_prog_cxx_cross=no 1148 else 1149 ac_cv_prog_cxx_cross=yes 1150 fi 1151 else 1152 echo "configure: failed program was:" >&5 1153 cat conftest.$ac_ext >&5 1154 ac_cv_prog_cxx_works=no 1155 fi 1156 rm -fr conftest* 1157 ac_ext=c 1158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1159 ac_cpp='$CPP $CPPFLAGS' 1160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1162 cross_compiling=$ac_cv_prog_cc_cross 1163 1164 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 1165 if test $ac_cv_prog_cxx_works = no; then 1166 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } 1167 fi 1168 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1169 echo "configure:1170: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1170 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1171 cross_compiling=$ac_cv_prog_cxx_cross 1172 1173 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1174 echo "configure:1175: checking whether we are using GNU C++" >&5 1175 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1176 echo $ac_n "(cached) $ac_c" 1>&6 1177 else 1178 cat > conftest.C <<EOF 1179 #ifdef __GNUC__ 1180 yes; 1181 #endif 1182 EOF 1183 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1184 ac_cv_prog_gxx=yes 1185 else 1186 ac_cv_prog_gxx=no 1187 fi 1188 fi 1189 1190 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 1191 1192 if test $ac_cv_prog_gxx = yes; then 1193 GXX=yes 1194 else 1195 GXX= 1196 fi 1197 1198 ac_test_CXXFLAGS="${CXXFLAGS+set}" 1199 ac_save_CXXFLAGS="$CXXFLAGS" 1200 CXXFLAGS= 1201 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1202 echo "configure:1203: checking whether ${CXX-g++} accepts -g" >&5 1203 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1204 echo $ac_n "(cached) $ac_c" 1>&6 1205 else 1206 echo 'void f(){}' > conftest.cc 1207 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 1208 ac_cv_prog_cxx_g=yes 1209 else 1210 ac_cv_prog_cxx_g=no 1211 fi 1212 rm -f conftest* 1213 1214 fi 1215 1216 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 1217 if test "$ac_test_CXXFLAGS" = set; then 1218 CXXFLAGS="$ac_save_CXXFLAGS" 1219 elif test $ac_cv_prog_cxx_g = yes; then 1220 if test "$GXX" = yes; then 1221 CXXFLAGS="-g -O2" 1222 else 1223 CXXFLAGS="-g" 1224 fi 1225 else 1226 if test "$GXX" = yes; then 1227 CXXFLAGS="-O2" 1228 else 1229 CXXFLAGS= 1230 fi 1231 fi 1232 1233 1234 # check whether the compiler accepts -pipe 1235 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1236 echo "configure:1237: checking whether compiler accepts -pipe" >&5 1237 temp_cflags=${CFLAGS} 1238 CFLAGS="${CFLAGS} -pipe" 1239 if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then 1240 echo $ac_n "(cached) $ac_c" 1>&6 1241 else 1242 cat > conftest.$ac_ext <<EOF 1243 #line 1244 "configure" 1244 #include "confdefs.h" 1245 1246 int main() { 1247 1248 ; return 0; } 1249 EOF 1250 if { (eval echo configure:1251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1251 rm -rf conftest* 1252 ac_cv_cxx_have_pipe=yes 1253 else 1254 echo "configure: failed program was:" >&5 1255 cat conftest.$ac_ext >&5 1256 rm -rf conftest* 1257 ac_cv_cxx_have_pipe=no 1258 fi 1259 rm -f conftest* 1260 1261 fi 1262 1263 echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6 1264 CFLAGS=${temp_cflags} 1265 if test "${ac_cv_cxx_have_pipe}" != yes; then 1266 PIPE= 1267 else 1268 PIPE="-pipe" 1269 fi 1270 1072 1271 1073 1272 for ac_prog in perl5 perl … … 1076 1275 set dummy $ac_prog; ac_word=$2 1077 1276 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1078 echo "configure:1 079: checking for $ac_word" >&51277 echo "configure:1278: checking for $ac_word" >&5 1079 1278 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1080 1279 echo $ac_n "(cached) $ac_c" 1>&6 … … 1110 1309 set dummy $ac_prog; ac_word=$2 1111 1310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1112 echo "configure:1 113: checking for $ac_word" >&51311 echo "configure:1312: checking for $ac_word" >&5 1113 1312 if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then 1114 1313 echo $ac_n "(cached) $ac_c" 1>&6 … … 1144 1343 set dummy $ac_prog; ac_word=$2 1145 1344 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1146 echo "configure:1 147: checking for $ac_word" >&51345 echo "configure:1346: checking for $ac_word" >&5 1147 1346 if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then 1148 1347 echo $ac_n "(cached) $ac_c" 1>&6 … … 1180 1379 set dummy $ac_prog; ac_word=$2 1181 1380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1182 echo "configure:1 183: checking for $ac_word" >&51381 echo "configure:1382: checking for $ac_word" >&5 1183 1382 if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then 1184 1383 echo $ac_n "(cached) $ac_c" 1>&6 … … 1213 1412 set dummy latex2html; ac_word=$2 1214 1413 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1215 echo "configure:1 216: checking for $ac_word" >&51414 echo "configure:1415: checking for $ac_word" >&5 1216 1415 if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then 1217 1416 echo $ac_n "(cached) $ac_c" 1>&6 … … 1240 1439 1241 1440 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1242 echo "configure:1 243: checking whether ln -s works" >&51441 echo "configure:1442: checking whether ln -s works" >&5 1243 1442 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1244 1443 echo $ac_n "(cached) $ac_c" 1>&6 … … 1303 1502 # check for AIX 1304 1503 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1305 echo "configure:1 306: checking whether _AIX is defined" >&51504 echo "configure:1505: checking whether _AIX is defined" >&5 1306 1505 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1307 1506 echo $ac_n "(cached) $ac_c" 1>&6 1308 1507 else 1309 1508 cat > conftest.$ac_ext <<EOF 1310 #line 1 311"configure"1509 #line 1510 "configure" 1311 1510 #include "confdefs.h" 1312 1511 #ifdef _AIX … … 1334 1533 1335 1534 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1336 echo "configure:1 337: checking for atof in -lm" >&51535 echo "configure:1536: checking for atof in -lm" >&5 1337 1536 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1338 1537 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1342 1541 LIBS="-lm $LIBS" 1343 1542 cat > conftest.$ac_ext <<EOF 1344 #line 1 345"configure"1543 #line 1544 "configure" 1345 1544 #include "confdefs.h" 1346 1545 /* Override any gcc2 internal prototype to avoid an error. */ … … 1353 1552 ; return 0; } 1354 1553 EOF 1355 if { (eval echo configure:1 356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1554 if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1356 1555 rm -rf conftest* 1357 1556 eval "ac_cv_lib_$ac_lib_var=yes" … … 1381 1580 1382 1581 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1383 echo "configure:1 384: checking for socket in -lbsd" >&51582 echo "configure:1583: checking for socket in -lbsd" >&5 1384 1583 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1385 1584 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1389 1588 LIBS="-lbsd $LIBS" 1390 1589 cat > conftest.$ac_ext <<EOF 1391 #line 1 392"configure"1590 #line 1591 "configure" 1392 1591 #include "confdefs.h" 1393 1592 /* Override any gcc2 internal prototype to avoid an error. */ … … 1400 1599 ; return 0; } 1401 1600 EOF 1402 if { (eval echo configure:1 403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1601 if { (eval echo configure:1602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1403 1602 rm -rf conftest* 1404 1603 eval "ac_cv_lib_$ac_lib_var=yes" … … 1428 1627 1429 1628 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1430 echo "configure:1 431: checking for listen in -lsocket" >&51629 echo "configure:1630: checking for listen in -lsocket" >&5 1431 1630 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1432 1631 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1436 1635 LIBS="-lsocket $LIBS" 1437 1636 cat > conftest.$ac_ext <<EOF 1438 #line 1 439"configure"1637 #line 1638 "configure" 1439 1638 #include "confdefs.h" 1440 1639 /* Override any gcc2 internal prototype to avoid an error. */ … … 1447 1646 ; return 0; } 1448 1647 EOF 1449 if { (eval echo configure:1 450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1648 if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1450 1649 rm -rf conftest* 1451 1650 eval "ac_cv_lib_$ac_lib_var=yes" … … 1475 1674 1476 1675 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1477 echo "configure:1 478: checking for gethostbyname in -lnsl" >&51676 echo "configure:1677: checking for gethostbyname in -lnsl" >&5 1478 1677 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1479 1678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1483 1682 LIBS="-lnsl $LIBS" 1484 1683 cat > conftest.$ac_ext <<EOF 1485 #line 1 486"configure"1684 #line 1685 "configure" 1486 1685 #include "confdefs.h" 1487 1686 /* Override any gcc2 internal prototype to avoid an error. */ … … 1494 1693 ; return 0; } 1495 1694 EOF 1496 if { (eval echo configure:1 497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1695 if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1497 1696 rm -rf conftest* 1498 1697 eval "ac_cv_lib_$ac_lib_var=yes" … … 1522 1721 1523 1722 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1524 echo "configure:1 525: checking for main in -lgmp" >&51723 echo "configure:1724: checking for main in -lgmp" >&5 1525 1724 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1526 1725 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1530 1729 LIBS="-lgmp $LIBS" 1531 1730 cat > conftest.$ac_ext <<EOF 1532 #line 1 533"configure"1731 #line 1732 "configure" 1533 1732 #include "confdefs.h" 1534 1733 … … 1537 1736 ; return 0; } 1538 1737 EOF 1539 if { (eval echo configure:1 540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1738 if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1540 1739 rm -rf conftest* 1541 1740 eval "ac_cv_lib_$ac_lib_var=yes" … … 1565 1764 1566 1765 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 1567 echo "configure:1 568: checking for mpz_init in -lsmallgmp" >&51766 echo "configure:1767: checking for mpz_init in -lsmallgmp" >&5 1568 1767 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 1569 1768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1573 1772 LIBS="-lsmallgmp $LIBS" 1574 1773 cat > conftest.$ac_ext <<EOF 1575 #line 1 576"configure"1774 #line 1775 "configure" 1576 1775 #include "confdefs.h" 1577 1776 /* Override any gcc2 internal prototype to avoid an error. */ … … 1584 1783 ; return 0; } 1585 1784 EOF 1586 if { (eval echo configure:1 587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1785 if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1587 1786 rm -rf conftest* 1588 1787 eval "ac_cv_lib_$ac_lib_var=yes" … … 1612 1811 1613 1812 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1614 echo "configure:1 615: checking for IMP_PutGmpInt in -lMP" >&51813 echo "configure:1814: checking for IMP_PutGmpInt in -lMP" >&5 1615 1814 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1616 1815 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1620 1819 LIBS="-lMP $LIBS" 1621 1820 cat > conftest.$ac_ext <<EOF 1622 #line 1 623"configure"1821 #line 1822 "configure" 1623 1822 #include "confdefs.h" 1624 1823 /* Override any gcc2 internal prototype to avoid an error. */ … … 1631 1830 ; return 0; } 1632 1831 EOF 1633 if { (eval echo configure:1 634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1832 if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1634 1833 rm -rf conftest* 1635 1834 eval "ac_cv_lib_$ac_lib_var=yes" … … 1659 1858 1660 1859 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1661 echo "configure:1 662: checking for MPT_GetTree in -lMPT" >&51860 echo "configure:1861: checking for MPT_GetTree in -lMPT" >&5 1662 1861 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1663 1862 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1667 1866 LIBS="-lMPT $LIBS" 1668 1867 cat > conftest.$ac_ext <<EOF 1669 #line 1 670"configure"1868 #line 1869 "configure" 1670 1869 #include "confdefs.h" 1671 1870 /* Override any gcc2 internal prototype to avoid an error. */ … … 1678 1877 ; return 0; } 1679 1878 EOF 1680 if { (eval echo configure:1 681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1879 if { (eval echo configure:1880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1681 1880 rm -rf conftest* 1682 1881 eval "ac_cv_lib_$ac_lib_var=yes" … … 1706 1905 1707 1906 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1708 echo "configure:1 709: checking for atof in -lsingcf" >&51907 echo "configure:1908: checking for atof in -lsingcf" >&5 1709 1908 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1710 1909 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1714 1913 LIBS="-lsingcf $LIBS" 1715 1914 cat > conftest.$ac_ext <<EOF 1716 #line 1 717"configure"1915 #line 1916 "configure" 1717 1916 #include "confdefs.h" 1718 1917 /* Override any gcc2 internal prototype to avoid an error. */ … … 1725 1924 ; return 0; } 1726 1925 EOF 1727 if { (eval echo configure:1 728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1926 if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1728 1927 rm -rf conftest* 1729 1928 eval "ac_cv_lib_$ac_lib_var=yes" … … 1753 1952 1754 1953 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1755 echo "configure:1 756: checking for atof in -lsingfac" >&51954 echo "configure:1955: checking for atof in -lsingfac" >&5 1756 1955 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1757 1956 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1761 1960 LIBS="-lsingfac $LIBS" 1762 1961 cat > conftest.$ac_ext <<EOF 1763 #line 1 764"configure"1962 #line 1963 "configure" 1764 1963 #include "confdefs.h" 1765 1964 /* Override any gcc2 internal prototype to avoid an error. */ … … 1772 1971 ; return 0; } 1773 1972 EOF 1774 if { (eval echo configure:1 775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1973 if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1775 1974 rm -rf conftest* 1776 1975 eval "ac_cv_lib_$ac_lib_var=yes" … … 1804 2003 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1805 2004 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1806 echo "configure: 1807: checking for $ac_hdr" >&52005 echo "configure:2006: checking for $ac_hdr" >&5 1807 2006 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1808 2007 echo $ac_n "(cached) $ac_c" 1>&6 1809 2008 else 1810 2009 cat > conftest.$ac_ext <<EOF 1811 #line 1812"configure"2010 #line 2011 "configure" 1812 2011 #include "confdefs.h" 1813 2012 #include <$ac_hdr> 1814 2013 EOF 1815 2014 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1816 { (eval echo configure: 1817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2015 { (eval echo configure:2016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1817 2016 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1818 2017 if test -z "$ac_err"; then … … 1980 2179 1981 2180 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 1982 echo "configure: 1983: checking which tmp dir to use" >&52181 echo "configure:2182: checking which tmp dir to use" >&5 1983 2182 if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then 1984 2183 if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) … … 1996 2195 1997 2196 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 1998 echo "configure: 1999: checking whether to configure and build gmp lib" >&52197 echo "configure:2198: checking whether to configure and build gmp lib" >&5 1999 2198 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 2000 2199 if test "$ac_gmp_ok" != yes && test -d gmp; then … … 2022 2221 2023 2222 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 2024 echo "configure:2 025: checking whether to configure and build smallgmp lib" >&52223 echo "configure:2224: checking whether to configure and build smallgmp lib" >&5 2025 2224 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 2026 2225 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ … … 2061 2260 2062 2261 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2063 echo "configure:2 064: checking whether to configure and build MP lib" >&52262 echo "configure:2263: checking whether to configure and build MP lib" >&5 2064 2263 if test "$enable_MP" != yes && test "$enable_MP" != no; then 2065 2264 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ … … 2090 2289 2091 2290 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2092 echo "configure:2 093: checking whether to configure and build factory lib" >&52291 echo "configure:2292: checking whether to configure and build factory lib" >&5 2093 2292 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2094 2293 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 2115 2314 2116 2315 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2117 echo "configure:2 118: checking whether to configure and build libfac lib" >&52316 echo "configure:2317: checking whether to configure and build libfac lib" >&5 2118 2317 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2119 2318 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 2145 2344 2146 2345 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2147 echo "configure:2 148: checking whether to configure and build sgroup lib" >&52346 echo "configure:2347: checking whether to configure and build sgroup lib" >&5 2148 2347 if test "$enable_sgroup" = yes; then 2149 2348 if test ! -d sgroup; then … … 2165 2364 2166 2365 echo $ac_n "checking whether to build mpr and use mtrack""... $ac_c" 1>&6 2167 echo "configure:2 168: checking whether to build mpr and use mtrack" >&52366 echo "configure:2367: checking whether to build mpr and use mtrack" >&5 2168 2367 if test -d mpr && test "$ac_cv_singuname" = ix86-Linux && test "$enable_mtrack" != no; then 2169 2368 echo "$ac_t""yes" 1>&6 … … 2180 2379 2181 2380 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2182 echo "configure:2 183: checking whether to configure and build Singular" >&52381 echo "configure:2382: checking whether to configure and build Singular" >&5 2183 2382 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2184 2383 if test "$with_Singular" != no && test -d Singular; then … … 2206 2405 2207 2406 echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 2208 echo "configure:2 209: checking whether to configure and build Texinfo" >&52407 echo "configure:2408: checking whether to configure and build Texinfo" >&5 2209 2408 if test "$enable_Texinfo" != no && test -d Texinfo; then 2210 2409 echo "$ac_t""yes" 1>&6 … … 2228 2427 set dummy makeinfo; ac_word=$2 2229 2428 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2230 echo "configure:2 231: checking for $ac_word" >&52429 echo "configure:2430: checking for $ac_word" >&5 2231 2430 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 2232 2431 echo $ac_n "(cached) $ac_c" 1>&6 … … 2258 2457 set dummy texi2dvi; ac_word=$2 2259 2458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2260 echo "configure:2 261: checking for $ac_word" >&52459 echo "configure:2460: checking for $ac_word" >&5 2261 2460 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then 2262 2461 echo $ac_n "(cached) $ac_c" 1>&6 … … 2288 2487 set dummy texindex; ac_word=$2 2289 2488 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2290 echo "configure:2 291: checking for $ac_word" >&52489 echo "configure:2490: checking for $ac_word" >&5 2291 2490 if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then 2292 2491 echo $ac_n "(cached) $ac_c" 1>&6 … … 2317 2516 fi 2318 2517 2518 # test if IntegerProgramming should be built: 2519 2520 if test -d "IntegerProgramming"; then 2521 BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" 2522 fi 2319 2523 2320 2524 echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6 2321 echo "configure:2 322: checking whether to configure and build Texi2html" >&52525 echo "configure:2526: checking whether to configure and build Texi2html" >&5 2322 2526 if test "$enable_Texi2html" != no && test -d Texi2html; then 2323 2527 echo "$ac_t""yes" 1>&6 … … 2334 2538 set dummy texi2html; ac_word=$2 2335 2539 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2336 echo "configure:2 337: checking for $ac_word" >&52540 echo "configure:2541: checking for $ac_word" >&5 2337 2541 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then 2338 2542 echo $ac_n "(cached) $ac_c" 1>&6 … … 2372 2576 2373 2577 echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 2374 echo "configure:2 375: checking whether to build doc" >&52578 echo "configure:2579: checking whether to build doc" >&5 2375 2579 if test "$enable_doc" != no && test -d doc; then 2376 2580 echo "$ac_t""yes" 1>&6 … … 2386 2590 2387 2591 echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 2388 echo "configure:2 389: checking whether to build emacs" >&52592 echo "configure:2593: checking whether to build emacs" >&5 2389 2593 if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then 2390 2594 echo "$ac_t""yes" 1>&6 … … 2398 2602 2399 2603 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 2400 echo "configure:2 401: checking which apint package to use" >&52604 echo "configure:2605: checking which apint package to use" >&5 2401 2605 if test "$with_apint" = gmp; then 2402 2606 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 2422 2626 2423 2627 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 2424 echo "configure:2 425: checking whether to use with MP" >&52628 echo "configure:2629: checking whether to use with MP" >&5 2425 2629 if test "$with_MP" = yes; then 2426 2630 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 2441 2645 2442 2646 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 2443 echo "configure:2 444: checking whether to use with factory" >&52647 echo "configure:2648: checking whether to use with factory" >&5 2444 2648 if test "$with_factory" = yes; then 2445 2649 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 2460 2664 2461 2665 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 2462 echo "configure:2 463: checking whether to use with libfac" >&52666 echo "configure:2667: checking whether to use with libfac" >&5 2463 2667 if test "$with_libfac" = yes; then 2464 2668 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 2480 2684 2481 2685 echo $ac_n "checking whether to use with mtrack""... $ac_c" 1>&6 2482 echo "configure:2 483: checking whether to use with mtrack" >&52686 echo "configure:2687: checking whether to use with mtrack" >&5 2483 2687 if test "$with_mtrack" != no && test "$with_mtrack" != yes; then 2484 2688 if test "$enable_mtrack" = yes; then … … 2500 2704 2501 2705 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 2502 echo "configure:2 503: checking whether to use with Singular" >&52706 echo "configure:2707: checking whether to use with Singular" >&5 2503 2707 if test "$with_Singular" != no && test "$with_Singular" != yes; then 2504 2708 if test "$enable_Singular" = yes; then … … 2559 2763 2560 2764 2765 2561 2766 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2562 echo "configure:2 563: checking whether ${MAKE-make} sets \${MAKE}" >&52767 echo "configure:2768: checking whether ${MAKE-make} sets \${MAKE}" >&5 2563 2768 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2564 2769 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2747 2952 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 2748 2953 s%@INSTALL_DATA@%$INSTALL_DATA%g 2954 s%@CXX@%$CXX%g 2955 s%@PIPE@%$PIPE%g 2749 2956 s%@PERL@%$PERL%g 2750 2957 s%@UUDECODE@%$UUDECODE%g -
configure.in
rd76127 r8c8a76 21 21 if test -d "emacs"; then 22 22 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" emacs/Makefile" 23 fi 24 if test -d "IntegerProgramming"; then 25 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" IntegerProgramming/Makefile" 23 26 fi 24 27 … … 78 81 79 82 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll 80 dnl Those are needed to check for libs and headers, later on 83 dnl compiler stuff 84 dnl is needed to check for libs and headers, later on 81 85 dnl 82 86 AC_PROG_CC … … 84 88 AC_PROG_INSTALL 85 89 AC_AIX 90 dnl we do not want to have "-g -O" for CFLAGS 91 if test "${CXXFLAGS+set}" != set; then 92 ac_cxxflags_set=no 93 CXXFLAGS="-O" 94 fi 95 if test "${CFLAGS+set}" != set; then 96 CFLAGS="-O" 97 ac_cflags_set=no 98 fi 99 100 # check whether CXX was set by user as env variable 101 if test "${CXX+set}" != set; then 102 ac_cxx_set=no 103 else 104 ac_cxx_set=yes 105 fi 106 AC_PROG_CXX 107 108 # check whether the compiler accepts -pipe 109 AC_MSG_CHECKING(whether compiler accepts -pipe) 110 temp_cflags=${CFLAGS} 111 CFLAGS="${CFLAGS} -pipe" 112 AC_CACHE_VAL(ac_cv_cxx_have_pipe, 113 AC_TRY_COMPILE(,,ac_cv_cxx_have_pipe=yes,ac_cv_cxx_have_pipe=no) 114 ) 115 AC_MSG_RESULT(${ac_cv_cxx_have_pipe}) 116 CFLAGS=${temp_cflags} 117 if test "${ac_cv_cxx_have_pipe}" != yes; then 118 PIPE= 119 else 120 PIPE="-pipe" 121 fi 122 AC_SUBST(PIPE) 86 123 87 124 AC_CHECK_PROGS(PERL, perl5 perl) … … 511 548 fi 512 549 550 # test if IntegerProgramming should be built: 551 552 if test -d "IntegerProgramming"; then 553 BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" 554 fi 513 555 514 556 AC_MSG_CHECKING(whether to configure and build Texi2html) … … 724 766 725 767 768 726 769 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll 727 770 dnl Enough -- wrap it up
Note: See TracChangeset
for help on using the changeset viewer.