Changeset 074171 in git
- Timestamp:
- Feb 8, 2007, 4:35:16 PM (16 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- e58e4b929313ae6aef93501460b4f9fce73a2c18
- Parents:
- 64682707d9ae8a9cdcb3f759cf7a6efa3454c2a9
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
IntegerProgramming/Makefile.in
r6468270 r074171 74 74 75 75 clean: 76 rm -f *.o *~ 76 rm -f *.o *~ $(MAIN1) $(MAIN2) $(MAIN3) $(MAIN4) $(LLL) 77 77 78 78 distclean: clean 79 rm -f $(MAIN1) $(MAIN2) $(MAIN3) $(MAIN4)80 79 -rm -f ${bindir}/$(MAIN1) 81 80 -rm -f ${bindir}/$(MAIN2) -
configure
r6468270 r074171 662 662 663 663 664 if test "${CXXFLAGS+set}" != set; then 665 ac_cxxflags_set=no 666 CXXFLAGS="-O" 667 fi 668 if test "${CFLAGS+set}" != set; then 669 CFLAGS="-O" 670 ac_cflags_set=no 671 fi 672 664 673 # Extract the first word of "gcc", so it can be a program name with args. 665 674 set dummy gcc; ac_word=$2 666 675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 667 echo "configure:6 68: checking for $ac_word" >&5676 echo "configure:677: checking for $ac_word" >&5 668 677 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 669 678 echo $ac_n "(cached) $ac_c" 1>&6 … … 695 704 set dummy cc; ac_word=$2 696 705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 697 echo "configure: 698: checking for $ac_word" >&5706 echo "configure:707: checking for $ac_word" >&5 698 707 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 699 708 echo $ac_n "(cached) $ac_c" 1>&6 … … 746 755 set dummy cl; ac_word=$2 747 756 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 748 echo "configure:7 49: checking for $ac_word" >&5757 echo "configure:758: checking for $ac_word" >&5 749 758 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 750 759 echo $ac_n "(cached) $ac_c" 1>&6 … … 778 787 779 788 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 780 echo "configure:7 81: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5789 echo "configure:790: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 781 790 782 791 ac_ext=c … … 789 798 cat > conftest.$ac_ext << EOF 790 799 791 #line 792"configure"800 #line 801 "configure" 792 801 #include "confdefs.h" 793 802 794 803 main(){return(0);} 795 804 EOF 796 if { (eval echo configure: 797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then805 if { (eval echo configure:806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 797 806 ac_cv_prog_cc_works=yes 798 807 # If we can't run a trivial program, we are probably using a cross compiler. … … 820 829 fi 821 830 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 822 echo "configure:8 23: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5831 echo "configure:832: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 823 832 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 824 833 cross_compiling=$ac_cv_prog_cc_cross 825 834 826 835 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 827 echo "configure:8 28: checking whether we are using GNU C" >&5836 echo "configure:837: checking whether we are using GNU C" >&5 828 837 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 829 838 echo $ac_n "(cached) $ac_c" 1>&6 … … 834 843 #endif 835 844 EOF 836 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8 37: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then845 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 837 846 ac_cv_prog_gcc=yes 838 847 else … … 853 862 CFLAGS= 854 863 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 855 echo "configure:8 56: checking whether ${CC-cc} accepts -g" >&5864 echo "configure:865: checking whether ${CC-cc} accepts -g" >&5 856 865 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 857 866 echo $ac_n "(cached) $ac_c" 1>&6 … … 885 894 886 895 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 887 echo "configure:8 88: checking how to run the C preprocessor" >&5896 echo "configure:897: checking how to run the C preprocessor" >&5 888 897 # On Suns, sometimes $CPP names a directory. 889 898 if test -n "$CPP" && test -d "$CPP"; then … … 900 909 # not just through cpp. 901 910 cat > conftest.$ac_ext <<EOF 902 #line 9 03"configure"911 #line 912 "configure" 903 912 #include "confdefs.h" 904 913 #include <assert.h> … … 906 915 EOF 907 916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 908 { (eval echo configure:9 09: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }917 { (eval echo configure:918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 909 918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 910 919 if test -z "$ac_err"; then … … 917 926 CPP="${CC-cc} -E -traditional-cpp" 918 927 cat > conftest.$ac_ext <<EOF 919 #line 92 0"configure"928 #line 929 "configure" 920 929 #include "confdefs.h" 921 930 #include <assert.h> … … 923 932 EOF 924 933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 925 { (eval echo configure:9 26: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }934 { (eval echo configure:935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 926 935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 927 936 if test -z "$ac_err"; then … … 934 943 CPP="${CC-cc} -nologo -E" 935 944 cat > conftest.$ac_ext <<EOF 936 #line 9 37"configure"945 #line 946 "configure" 937 946 #include "confdefs.h" 938 947 #include <assert.h> … … 940 949 EOF 941 950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 942 { (eval echo configure:9 43: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }951 { (eval echo configure:952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 943 952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 944 953 if test -z "$ac_err"; then … … 995 1004 # ./install, which can be erroneously created by make from ./install.sh. 996 1005 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 997 echo "configure: 998: checking for a BSD compatible install" >&51006 echo "configure:1007: checking for a BSD compatible install" >&5 998 1007 if test -z "$INSTALL"; then 999 1008 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1048 1057 1049 1058 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1050 echo "configure:10 51: checking for AIX" >&51059 echo "configure:1060: checking for AIX" >&5 1051 1060 cat > conftest.$ac_ext <<EOF 1052 #line 10 53"configure"1061 #line 1062 "configure" 1053 1062 #include "confdefs.h" 1054 1063 #ifdef _AIX … … 1076 1085 set dummy $ac_prog; ac_word=$2 1077 1086 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1078 echo "configure:10 79: checking for $ac_word" >&51087 echo "configure:1088: checking for $ac_word" >&5 1079 1088 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 1080 1089 echo $ac_n "(cached) $ac_c" 1>&6 … … 1108 1117 1109 1118 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1110 echo "configure:11 11: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&51119 echo "configure:1120: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1111 1120 1112 1121 ac_ext=C … … 1119 1128 cat > conftest.$ac_ext << EOF 1120 1129 1121 #line 11 22"configure"1130 #line 1131 "configure" 1122 1131 #include "confdefs.h" 1123 1132 1124 1133 int main(){return(0);} 1125 1134 EOF 1126 if { (eval echo configure:11 27: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1135 if { (eval echo configure:1136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1127 1136 ac_cv_prog_cxx_works=yes 1128 1137 # If we can't run a trivial program, we are probably using a cross compiler. … … 1150 1159 fi 1151 1160 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1152 echo "configure:11 53: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51161 echo "configure:1162: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1153 1162 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1154 1163 cross_compiling=$ac_cv_prog_cxx_cross 1155 1164 1156 1165 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1157 echo "configure:11 58: checking whether we are using GNU C++" >&51166 echo "configure:1167: checking whether we are using GNU C++" >&5 1158 1167 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1159 1168 echo $ac_n "(cached) $ac_c" 1>&6 … … 1164 1173 #endif 1165 1174 EOF 1166 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:11 67: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1175 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1167 1176 ac_cv_prog_gxx=yes 1168 1177 else … … 1183 1192 CXXFLAGS= 1184 1193 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1185 echo "configure:11 86: checking whether ${CXX-g++} accepts -g" >&51194 echo "configure:1195: checking whether ${CXX-g++} accepts -g" >&5 1186 1195 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1187 1196 echo $ac_n "(cached) $ac_c" 1>&6 … … 1214 1223 fi 1215 1224 1216 for ac_declaration in \1217 ''\1218 '#include <stdlib.h>' \1219 'extern "C" void std::exit (int) throw (); using std::exit;' \1220 'extern "C" void std::exit (int); using std::exit;' \1221 'extern "C" void exit (int) throw ();' \1222 'extern "C" void exit (int);' \1223 'void exit (int);'1224 do1225 cat > conftest.$ac_ext <<EOF1226 #line 1227 "configure"1227 #include "confdefs.h"1228 #include <stdlib.h>1229 $ac_declaration1230 int main() {1231 exit (42);1232 ; return 0; }1233 EOF1234 if { (eval echo configure:1235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1235 :1236 else1237 echo "configure: failed program was:" >&51238 cat conftest.$ac_ext >&51239 rm -rf conftest*1240 continue1241 fi1242 rm -f conftest*1243 cat > conftest.$ac_ext <<EOF1244 #line 1245 "configure"1245 #include "confdefs.h"1246 $ac_declaration1247 int main() {1248 exit (42);1249 ; return 0; }1250 EOF1251 if { (eval echo configure:1252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1252 rm -rf conftest*1253 break1254 else1255 echo "configure: failed program was:" >&51256 cat conftest.$ac_ext >&51257 fi1258 rm -f conftest*1259 done1260 if test -n "$ac_declaration"; then1261 echo '#ifdef __cplusplus' >>confdefs.h1262 echo $ac_declaration >>confdefs.h1263 echo '#endif' >>confdefs.h1264 fi1265 1266 1267 1225 1268 1226 SING_CC=${CC}; export SING_CC … … 1271 1229 # check whether the compiler accepts -pipe 1272 1230 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1273 echo "configure:12 74: checking whether compiler accepts -pipe" >&51231 echo "configure:1232: checking whether compiler accepts -pipe" >&5 1274 1232 temp_cflags=${CFLAGS} 1275 1233 CFLAGS="${CFLAGS} -pipe" … … 1278 1236 else 1279 1237 cat > conftest.$ac_ext <<EOF 1280 #line 12 81"configure"1238 #line 1239 "configure" 1281 1239 #include "confdefs.h" 1282 1240 … … 1285 1243 ; return 0; } 1286 1244 EOF 1287 if { (eval echo configure:12 88: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1245 if { (eval echo configure:1246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1288 1246 rm -rf conftest* 1289 1247 ac_cv_cxx_have_pipe=yes … … 1312 1270 set dummy $ac_prog; ac_word=$2 1313 1271 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1314 echo "configure:1 315: checking for $ac_word" >&51272 echo "configure:1273: checking for $ac_word" >&5 1315 1273 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1316 1274 echo $ac_n "(cached) $ac_c" 1>&6 … … 1346 1304 set dummy $ac_prog; ac_word=$2 1347 1305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1348 echo "configure:13 49: checking for $ac_word" >&51306 echo "configure:1307: checking for $ac_word" >&5 1349 1307 if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then 1350 1308 echo $ac_n "(cached) $ac_c" 1>&6 … … 1380 1338 set dummy $ac_prog; ac_word=$2 1381 1339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1382 echo "configure:13 83: checking for $ac_word" >&51340 echo "configure:1341: checking for $ac_word" >&5 1383 1341 if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then 1384 1342 echo $ac_n "(cached) $ac_c" 1>&6 … … 1416 1374 set dummy $ac_prog; ac_word=$2 1417 1375 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1418 echo "configure:1 419: checking for $ac_word" >&51376 echo "configure:1377: checking for $ac_word" >&5 1419 1377 if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then 1420 1378 echo $ac_n "(cached) $ac_c" 1>&6 … … 1449 1407 set dummy latex2html; ac_word=$2 1450 1408 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1451 echo "configure:14 52: checking for $ac_word" >&51409 echo "configure:1410: checking for $ac_word" >&5 1452 1410 if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then 1453 1411 echo $ac_n "(cached) $ac_c" 1>&6 … … 1476 1434 1477 1435 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1478 echo "configure:14 79: checking whether ln -s works" >&51436 echo "configure:1437: checking whether ln -s works" >&5 1479 1437 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1480 1438 echo $ac_n "(cached) $ac_c" 1>&6 … … 1546 1504 # check for AIX 1547 1505 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1548 echo "configure:15 49: checking whether _AIX is defined" >&51506 echo "configure:1507: checking whether _AIX is defined" >&5 1549 1507 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1550 1508 echo $ac_n "(cached) $ac_c" 1>&6 1551 1509 else 1552 1510 cat > conftest.$ac_ext <<EOF 1553 #line 15 54"configure"1511 #line 1512 "configure" 1554 1512 #include "confdefs.h" 1555 1513 #ifdef _AIX … … 1577 1535 1578 1536 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1579 echo "configure:15 80: checking for atof in -lm" >&51537 echo "configure:1538: checking for atof in -lm" >&5 1580 1538 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1581 1539 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1585 1543 LIBS="-lm $LIBS" 1586 1544 cat > conftest.$ac_ext <<EOF 1587 #line 15 88"configure"1545 #line 1546 "configure" 1588 1546 #include "confdefs.h" 1589 1547 /* Override any gcc2 internal prototype to avoid an error. */ … … 1596 1554 ; return 0; } 1597 1555 EOF 1598 if { (eval echo configure:15 99: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1556 if { (eval echo configure:1557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1599 1557 rm -rf conftest* 1600 1558 eval "ac_cv_lib_$ac_lib_var=yes" … … 1624 1582 1625 1583 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1626 echo "configure:1 627: checking for socket in -lbsd" >&51584 echo "configure:1585: checking for socket in -lbsd" >&5 1627 1585 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1628 1586 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1632 1590 LIBS="-lbsd $LIBS" 1633 1591 cat > conftest.$ac_ext <<EOF 1634 #line 1 635"configure"1592 #line 1593 "configure" 1635 1593 #include "confdefs.h" 1636 1594 /* Override any gcc2 internal prototype to avoid an error. */ … … 1643 1601 ; return 0; } 1644 1602 EOF 1645 if { (eval echo configure:16 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1603 if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1646 1604 rm -rf conftest* 1647 1605 eval "ac_cv_lib_$ac_lib_var=yes" … … 1671 1629 1672 1630 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1673 echo "configure:16 74: checking for listen in -lsocket" >&51631 echo "configure:1632: checking for listen in -lsocket" >&5 1674 1632 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1675 1633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1679 1637 LIBS="-lsocket $LIBS" 1680 1638 cat > conftest.$ac_ext <<EOF 1681 #line 16 82"configure"1639 #line 1640 "configure" 1682 1640 #include "confdefs.h" 1683 1641 /* Override any gcc2 internal prototype to avoid an error. */ … … 1690 1648 ; return 0; } 1691 1649 EOF 1692 if { (eval echo configure:16 93: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1650 if { (eval echo configure:1651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1693 1651 rm -rf conftest* 1694 1652 eval "ac_cv_lib_$ac_lib_var=yes" … … 1718 1676 1719 1677 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1720 echo "configure:1 721: checking for gethostbyname in -lnsl" >&51678 echo "configure:1679: checking for gethostbyname in -lnsl" >&5 1721 1679 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1722 1680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1726 1684 LIBS="-lnsl $LIBS" 1727 1685 cat > conftest.$ac_ext <<EOF 1728 #line 1 729"configure"1686 #line 1687 "configure" 1729 1687 #include "confdefs.h" 1730 1688 /* Override any gcc2 internal prototype to avoid an error. */ … … 1737 1695 ; return 0; } 1738 1696 EOF 1739 if { (eval echo configure:1 740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1697 if { (eval echo configure:1698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1740 1698 rm -rf conftest* 1741 1699 eval "ac_cv_lib_$ac_lib_var=yes" … … 1765 1723 1766 1724 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1767 echo "configure:17 68: checking for main in -lgmp" >&51725 echo "configure:1726: checking for main in -lgmp" >&5 1768 1726 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1769 1727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1773 1731 LIBS="-lgmp $LIBS" 1774 1732 cat > conftest.$ac_ext <<EOF 1775 #line 17 76"configure"1733 #line 1734 "configure" 1776 1734 #include "confdefs.h" 1777 1735 … … 1780 1738 ; return 0; } 1781 1739 EOF 1782 if { (eval echo configure:17 83: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1740 if { (eval echo configure:1741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1783 1741 rm -rf conftest* 1784 1742 eval "ac_cv_lib_$ac_lib_var=yes" … … 1808 1766 1809 1767 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1810 echo "configure:1 811: checking for IMP_PutGmpInt in -lMP" >&51768 echo "configure:1769: checking for IMP_PutGmpInt in -lMP" >&5 1811 1769 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1812 1770 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1816 1774 LIBS="-lMP $LIBS" 1817 1775 cat > conftest.$ac_ext <<EOF 1818 #line 1 819"configure"1776 #line 1777 "configure" 1819 1777 #include "confdefs.h" 1820 1778 /* Override any gcc2 internal prototype to avoid an error. */ … … 1827 1785 ; return 0; } 1828 1786 EOF 1829 if { (eval echo configure:1 830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1787 if { (eval echo configure:1788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1830 1788 rm -rf conftest* 1831 1789 eval "ac_cv_lib_$ac_lib_var=yes" … … 1855 1813 1856 1814 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1857 echo "configure:18 58: checking for MPT_GetTree in -lMPT" >&51815 echo "configure:1816: checking for MPT_GetTree in -lMPT" >&5 1858 1816 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1859 1817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1863 1821 LIBS="-lMPT $LIBS" 1864 1822 cat > conftest.$ac_ext <<EOF 1865 #line 18 66"configure"1823 #line 1824 "configure" 1866 1824 #include "confdefs.h" 1867 1825 /* Override any gcc2 internal prototype to avoid an error. */ … … 1874 1832 ; return 0; } 1875 1833 EOF 1876 if { (eval echo configure:18 77: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1834 if { (eval echo configure:1835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1877 1835 rm -rf conftest* 1878 1836 eval "ac_cv_lib_$ac_lib_var=yes" … … 1902 1860 1903 1861 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1904 echo "configure:1 905: checking for atof in -lsingcf" >&51862 echo "configure:1863: checking for atof in -lsingcf" >&5 1905 1863 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1906 1864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1910 1868 LIBS="-lsingcf $LIBS" 1911 1869 cat > conftest.$ac_ext <<EOF 1912 #line 1 913"configure"1870 #line 1871 "configure" 1913 1871 #include "confdefs.h" 1914 1872 /* Override any gcc2 internal prototype to avoid an error. */ … … 1921 1879 ; return 0; } 1922 1880 EOF 1923 if { (eval echo configure:1 924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1881 if { (eval echo configure:1882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1924 1882 rm -rf conftest* 1925 1883 eval "ac_cv_lib_$ac_lib_var=yes" … … 1949 1907 1950 1908 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1951 echo "configure:19 52: checking for atof in -lsingfac" >&51909 echo "configure:1910: checking for atof in -lsingfac" >&5 1952 1910 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1953 1911 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1957 1915 LIBS="-lsingfac $LIBS" 1958 1916 cat > conftest.$ac_ext <<EOF 1959 #line 19 60"configure"1917 #line 1918 "configure" 1960 1918 #include "confdefs.h" 1961 1919 /* Override any gcc2 internal prototype to avoid an error. */ … … 1968 1926 ; return 0; } 1969 1927 EOF 1970 if { (eval echo configure:19 71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1928 if { (eval echo configure:1929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1971 1929 rm -rf conftest* 1972 1930 eval "ac_cv_lib_$ac_lib_var=yes" … … 1996 1954 1997 1955 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 1998 echo "configure:19 99: checking for omTestAddr in -lomalloc" >&51956 echo "configure:1957: checking for omTestAddr in -lomalloc" >&5 1999 1957 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 2000 1958 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2004 1962 LIBS="-lomalloc $LIBS" 2005 1963 cat > conftest.$ac_ext <<EOF 2006 #line 2007"configure"1964 #line 1965 "configure" 2007 1965 #include "confdefs.h" 2008 1966 /* Override any gcc2 internal prototype to avoid an error. */ … … 2015 1973 ; return 0; } 2016 1974 EOF 2017 if { (eval echo configure: 2018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1975 if { (eval echo configure:1976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2018 1976 rm -rf conftest* 2019 1977 eval "ac_cv_lib_$ac_lib_var=yes" … … 2043 2001 2044 2002 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 2045 echo "configure:20 46: checking for main in -lomalloc_ndebug" >&52003 echo "configure:2004: checking for main in -lomalloc_ndebug" >&5 2046 2004 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 2047 2005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2051 2009 LIBS="-lomalloc_ndebug $LIBS" 2052 2010 cat > conftest.$ac_ext <<EOF 2053 #line 20 54"configure"2011 #line 2012 "configure" 2054 2012 #include "confdefs.h" 2055 2013 … … 2058 2016 ; return 0; } 2059 2017 EOF 2060 if { (eval echo configure:20 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2018 if { (eval echo configure:2019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2061 2019 rm -rf conftest* 2062 2020 eval "ac_cv_lib_$ac_lib_var=yes" … … 2090 2048 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2091 2049 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2092 echo "configure:20 93: checking for $ac_hdr" >&52050 echo "configure:2051: checking for $ac_hdr" >&5 2093 2051 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2094 2052 echo $ac_n "(cached) $ac_c" 1>&6 2095 2053 else 2096 2054 cat > conftest.$ac_ext <<EOF 2097 #line 20 98"configure"2055 #line 2056 "configure" 2098 2056 #include "confdefs.h" 2099 2057 #include <$ac_hdr> 2100 2058 EOF 2101 2059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2102 { (eval echo configure:2 103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2060 { (eval echo configure:2061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2103 2061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2104 2062 if test -z "$ac_err"; then … … 2270 2228 2271 2229 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 2272 echo "configure:22 73: checking which tmp dir to use" >&52230 echo "configure:2231: checking which tmp dir to use" >&5 2273 2231 if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then 2274 2232 if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) … … 2285 2243 2286 2244 echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6 2287 echo "configure:22 88: checking whether to configure and build omalloc" >&52245 echo "configure:2246: checking whether to configure and build omalloc" >&5 2288 2246 if test "${enable_omalloc+set}" != set; then 2289 2247 if test "$ac_cv_omalloc_ok" = yes; then … … 2324 2282 2325 2283 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 2326 echo "configure:2 327: checking whether to configure and build gmp lib" >&52284 echo "configure:2285: checking whether to configure and build gmp lib" >&5 2327 2285 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 2328 2286 if test "$ac_gmp_ok" != yes && test -d gmp; then … … 2384 2342 # requires: sizeof(long)==4 2385 2343 echo $ac_n "checking size of long""... $ac_c" 1>&6 2386 echo "configure:23 87: checking size of long" >&52344 echo "configure:2345: checking size of long" >&5 2387 2345 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 2388 2346 echo $ac_n "(cached) $ac_c" 1>&6 … … 2392 2350 else 2393 2351 cat > conftest.$ac_ext <<EOF 2394 #line 23 95"configure"2352 #line 2353 "configure" 2395 2353 #include "confdefs.h" 2396 2354 #include <stdio.h> 2397 intmain()2355 main() 2398 2356 { 2399 2357 FILE *f=fopen("conftestval", "w"); 2400 if (!f) return(1);2358 if (!f) exit(1); 2401 2359 fprintf(f, "%d\n", sizeof(long)); 2402 return(0);2360 exit(0); 2403 2361 } 2404 2362 EOF 2405 if { (eval echo configure:2 406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2363 if { (eval echo configure:2364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2406 2364 then 2407 2365 ac_cv_sizeof_long=`cat conftestval` … … 2427 2385 2428 2386 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2429 echo "configure:2 430: checking whether to configure and build MP lib" >&52387 echo "configure:2388: checking whether to configure and build MP lib" >&5 2430 2388 2431 2389 if test "$enable_MP" != yes && test "$enable_MP" != no; then … … 2464 2422 2465 2423 echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6 2466 echo "configure:24 67: checking whether to configure and build NTL lib" >&52424 echo "configure:2425: checking whether to configure and build NTL lib" >&5 2467 2425 if test "$enable_NTL" != yes && test "$enable_NTL" != no; then 2468 2426 if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ … … 2481 2439 2482 2440 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 2483 echo "configure:24 84: checking how to run the C++ preprocessor" >&52441 echo "configure:2442: checking how to run the C++ preprocessor" >&5 2484 2442 if test -z "$CXXCPP"; then 2485 2443 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 2494 2452 CXXCPP="${CXX-g++} -E" 2495 2453 cat > conftest.$ac_ext <<EOF 2496 #line 24 97"configure"2454 #line 2455 "configure" 2497 2455 #include "confdefs.h" 2498 2456 #include <stdlib.h> 2499 2457 EOF 2500 2458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2501 { (eval echo configure:2 502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2459 { (eval echo configure:2460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2502 2460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2503 2461 if test -z "$ac_err"; then … … 2527 2485 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2528 2486 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2529 echo "configure:2 530: checking for $ac_hdr" >&52487 echo "configure:2488: checking for $ac_hdr" >&5 2530 2488 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2531 2489 echo $ac_n "(cached) $ac_c" 1>&6 2532 2490 else 2533 2491 cat > conftest.$ac_ext <<EOF 2534 #line 2 535"configure"2492 #line 2493 "configure" 2535 2493 #include "confdefs.h" 2536 2494 #include <$ac_hdr> 2537 2495 EOF 2538 2496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2539 { (eval echo configure:2 540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2497 { (eval echo configure:2498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2540 2498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2541 2499 if test -z "$ac_err"; then … … 2582 2540 2583 2541 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2584 echo "configure:25 85: checking whether to configure and build factory lib" >&52542 echo "configure:2543: checking whether to configure and build factory lib" >&5 2585 2543 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2586 2544 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 2609 2567 2610 2568 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2611 echo "configure:2 612: checking whether to configure and build libfac lib" >&52569 echo "configure:2570: checking whether to configure and build libfac lib" >&5 2612 2570 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2613 2571 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 2641 2599 2642 2600 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2643 echo "configure:26 44: checking whether to configure and build sgroup lib" >&52601 echo "configure:2602: checking whether to configure and build sgroup lib" >&5 2644 2602 if test "$enable_sgroup" = yes; then 2645 2603 if test ! -d sgroup; then … … 2662 2620 2663 2621 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2664 echo "configure:26 65: checking whether to configure and build Singular" >&52622 echo "configure:2623: checking whether to configure and build Singular" >&5 2665 2623 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2666 2624 if test "$with_Singular" != no && test -d Singular; then … … 2693 2651 2694 2652 echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6 2695 echo "configure:26 96: checking whether to build IntegerProgramming" >&52653 echo "configure:2654: checking whether to build IntegerProgramming" >&5 2696 2654 if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then 2697 2655 BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" … … 2706 2664 2707 2665 echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6 2708 echo "configure:2 709: checking whether to build Plural" >&52666 echo "configure:2667: checking whether to build Plural" >&5 2709 2667 if test "$enable_Plural" != no || test "$with_Plural" != no; then 2710 2668 echo "$ac_t""yes" 1>&6 … … 2718 2676 2719 2677 echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 2720 echo "configure:2 721: checking whether to configure and build Texinfo" >&52678 echo "configure:2679: checking whether to configure and build Texinfo" >&5 2721 2679 if test "$enable_Texinfo" != no && test -d Texinfo; then 2722 2680 echo "$ac_t""yes" 1>&6 … … 2742 2700 set dummy makeinfo; ac_word=$2 2743 2701 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2744 echo "configure:27 45: checking for $ac_word" >&52702 echo "configure:2703: checking for $ac_word" >&5 2745 2703 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 2746 2704 echo $ac_n "(cached) $ac_c" 1>&6 … … 2772 2730 set dummy texi2dvi; ac_word=$2 2773 2731 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2774 echo "configure:27 75: checking for $ac_word" >&52732 echo "configure:2733: checking for $ac_word" >&5 2775 2733 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then 2776 2734 echo $ac_n "(cached) $ac_c" 1>&6 … … 2802 2760 set dummy texindex; ac_word=$2 2803 2761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2804 echo "configure:2 805: checking for $ac_word" >&52762 echo "configure:2763: checking for $ac_word" >&5 2805 2763 if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then 2806 2764 echo $ac_n "(cached) $ac_c" 1>&6 … … 2832 2790 set dummy texi2pdf; ac_word=$2 2833 2791 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2834 echo "configure:2 835: checking for $ac_word" >&52792 echo "configure:2793: checking for $ac_word" >&5 2835 2793 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2PDF'+set}'`\" = set"; then 2836 2794 echo $ac_n "(cached) $ac_c" 1>&6 … … 2862 2820 2863 2821 echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6 2864 echo "configure:28 65: checking whether to configure and build Texi2html" >&52822 echo "configure:2823: checking whether to configure and build Texi2html" >&5 2865 2823 if test "$enable_Texi2html" != no && test -d Texi2html; then 2866 2824 echo "$ac_t""yes" 1>&6 … … 2877 2835 set dummy texi2html; ac_word=$2 2878 2836 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2879 echo "configure:28 80: checking for $ac_word" >&52837 echo "configure:2838: checking for $ac_word" >&5 2880 2838 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then 2881 2839 echo $ac_n "(cached) $ac_c" 1>&6 … … 2915 2873 2916 2874 echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 2917 echo "configure:2 918: checking whether to build doc" >&52875 echo "configure:2876: checking whether to build doc" >&5 2918 2876 if test "$enable_doc" != no && test -d doc; then 2919 2877 echo "$ac_t""yes" 1>&6 … … 2929 2887 2930 2888 echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 2931 echo "configure:2 932: checking whether to build emacs" >&52889 echo "configure:2890: checking whether to build emacs" >&5 2932 2890 if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then 2933 2891 echo "$ac_t""yes" 1>&6 … … 2941 2899 2942 2900 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 2943 echo "configure:29 44: checking which apint package to use" >&52901 echo "configure:2902: checking which apint package to use" >&5 2944 2902 if test "$with_apint" = gmp; then 2945 2903 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 2957 2915 2958 2916 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 2959 echo "configure:29 60: checking whether to use with MP" >&52917 echo "configure:2918: checking whether to use with MP" >&5 2960 2918 if test "$with_MP" = yes; then 2961 2919 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 2977 2935 2978 2936 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 2979 echo "configure:29 80: checking whether to use with factory" >&52937 echo "configure:2938: checking whether to use with factory" >&5 2980 2938 if test "$with_factory" = yes; then 2981 2939 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 2996 2954 2997 2955 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 2998 echo "configure:29 99: checking whether to use with libfac" >&52956 echo "configure:2957: checking whether to use with libfac" >&5 2999 2957 if test "$with_libfac" = yes; then 3000 2958 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 3017 2975 3018 2976 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 3019 echo "configure: 3020: checking whether to use with Singular" >&52977 echo "configure:2978: checking whether to use with Singular" >&5 3020 2978 if test "$with_Singular" != no && test "$with_Singular" != yes; then 3021 2979 if test "$enable_Singular" = yes; then … … 3086 3044 3087 3045 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3088 echo "configure:30 89: checking whether ${MAKE-make} sets \${MAKE}" >&53046 echo "configure:3047: checking whether ${MAKE-make} sets \${MAKE}" >&5 3089 3047 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3090 3048 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 3185 3143 # Protect against shell expansion while executing Makefile rules. 3186 3144 # Protect against Makefile macro expansion. 3187 # 3188 # If the first sed substitution is executed (which looks for macros that 3189 # take arguments), then we branch to the quote section. Otherwise, 3190 # look for a macro that doesn't take arguments. 3191 cat >confdef2opt.sed <<\_ACEOF 3192 t clear 3193 : clear 3194 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 3195 t quote 3196 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 3197 t quote 3198 d 3199 : quote 3200 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 3201 s,\[,\\&,g 3202 s,\],\\&,g 3203 s,\$,$$,g 3204 p 3205 _ACEOF 3206 # We use echo to avoid assuming a particular line-breaking character. 3207 # The extra dot is to prevent the shell from consuming trailing 3208 # line-breaks from the sub-command output. A line-break within 3209 # single-quotes doesn't work because, if this script is created in a 3210 # platform that uses two characters for line-breaks (e.g., DOS), tr 3211 # would break. 3212 ac_LF_and_DOT=`echo; echo .` 3213 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 3214 rm -f confdef2opt.sed 3145 cat > conftest.defs <<\EOF 3146 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 3147 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 3148 s%\[%\\&%g 3149 s%\]%\\&%g 3150 s%\$%$$%g 3151 EOF 3152 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` 3153 rm -f conftest.defs 3215 3154 3216 3155 -
configure.in
r6468270 r074171 80 80 AC_SUBST(SING_UNAME) 81 81 82 83 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll 84 dnl compiler stuff 85 dnl is needed to check for libs and headers, later on 86 dnl 87 dnl we do not want to have "-g -O" for CFLAGS 88 if test "${CXXFLAGS+set}" != set; then 89 ac_cxxflags_set=no 90 CXXFLAGS="-O" 91 fi 92 if test "${CFLAGS+set}" != set; then 93 CFLAGS="-O" 94 ac_cflags_set=no 95 fi 82 96 83 97 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
Note: See TracChangeset
for help on using the changeset viewer.