Changeset ae6370 in git
- Timestamp:
- Jun 30, 1997, 7:00:44 PM (26 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- afbd0eba0a8ba59d10ccd9fc75c5a2df9a9e3ba5
- Parents:
- b23bbb083a88fa536587000bc814273f6e680359
- Location:
- MP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
MP/ChangeLog
rb23bbb0 rae6370 1 Mon Jun 30 17:53:17 1997 Olaf Bachmann <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 2 3 * INSTALL: Updated installation instructions by new options 4 5 * manipulate CFLAGS only if they were not set in environment 6 7 * configure.in: added --with-rsh and --with-extra_cflags options 8 9 1 10 Tue Jun 24 11:54:31 1997 Olaf Bachmann <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 2 11 -
MP/INSTALL
rb23bbb0 rae6370 101 101 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure 102 102 103 Furthermore, by giving configure the `--with-extra_cflags=cflgas' 104 option, adds cflags to the flags given to your compiler. This is 105 useful when you want to rely on configure to find out some standard 106 CFLAGS, but nevertheless want to add some specific flags (like -fpic 107 for gneration of position-independent code). 108 103 109 104 110 Installation Names 105 111 ================== 106 112 107 By default, `make install' will install the libraries in ./lib, and 113 By default, `make install' will install the libraries in ./lib/$ARCH 114 where $ARCH is an architecture-dpendent prefix (generated by the 115 program pvmgetarch contained in this distribution), and 108 116 headers in ./include. You can specify an installation prefix other 109 117 than the current directory by giving `configure' the option … … 211 219 MP communications turned on. 212 220 221 '--with-rsh=COMMAND' option where COMMAND is the name of a remote 222 shell command. MP uses this command to remotely launch an 223 application. If this option is not given then configure searches for 224 the commands remsh, rsh, ssh (in that order). 225 if the 213 226 214 227 `--with-default_apint=PACKAGE' option where PACKAGE can be: … … 261 274 operates. 262 275 263 `--cache-file=FILE'264 Use and save the results of the tests in FILE instead of265 `./config.cache'. Set FILE to `/dev/null' to disable caching and266 for debugging `configure'.267 268 269 `--quiet'270 `--silent'271 `-q'272 Do not print messages saying which checks are being made.273 274 `--version'275 Print the version of Autoconf used to generate the `configure'276 script, and exit.277 278 `--help'279 Prints the following summary of the options to `configure', and exits.280 281 Usage: configure [options] [host]282 Options: [defaults in brackets after descriptions]283 276 Configuration: 284 277 --cache-file=FILE cache test results in FILE … … 289 282 Directory and file names: 290 283 --prefix=PREFIX install architecture-independent files in PREFIX 291 [ default is current directory]284 [/mnt/amd/users/urmel/singular/obachman/Singular/MP] 292 285 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 293 286 [same as prefix] … … 323 316 --x-libraries=DIR X library files are in DIR 324 317 --enable and --with options recognized: 325 --disable-MPT configure and build withoutMPT library318 --disable-MPT disable building of MPT library 326 319 --disable-gmp configure and build without gmp library 327 --enable-example senable building of example programs320 --enable-example enable building of example programs 328 321 --enable-mpviewer enable building of mpviewer program 329 322 --enable-mppvm enable building of mppvm routines 330 --with-default_ int=PACKAGE use PACKAGE as MP's default ApInt format323 --with-default_apint=PACKAGE use PACKAGE as MP's default ApInt format 331 324 where PACKAGE can be: gmp (default), pari, 332 333 --with-default_ real=PACKAGE use PACKAGE as MP's default ApReal format334 where PACKAGE can be: 335 --without-gmp build without gmp routines336 --with-pari build with pari routines325 saclib, none 326 --with-default_apreal=PACKAGE use PACKAGE as MP's default ApReal format 327 where PACKAGE can be: gmp (default), none 328 --without-gmp build without gmp ApNumber routines 329 --with-pari build with pari ApInt routines 337 330 --with-saclib build with saclib ApInt routines 338 331 --with-tb build with Toolbus device interface 339 332 --with-pvm build with Pvm saclib device interface 340 333 --with-debug build with debug options and logging 334 --with-extra_cflags=cflags build with 'cflags' appended to 335 CFLAGS given to the compiler 336 --with-rsh=command use 'command' as remote shell command -
MP/configure
rb23bbb0 rae6370 55 55 \ 56 56 --with-debug build with debug options and logging" 57 ac_help="$ac_help 58 \ 59 --with-extra_cflags=cflags build with 'cflags' appended to 60 CFLAGS given to the compiler" 61 ac_help="$ac_help 62 \ 63 --with-rsh=command use 'command' as remote shell command" 57 64 58 65 # Initialize some variables set by options. … … 756 763 if test "${CFLAGS+set}" != set; then 757 764 CFLAGS="-g" 765 ac_cv_cflags_not_set=yes 758 766 fi 759 767 cat >> confdefs.h <<\EOF … … 764 772 if test "${CFLAGS+set}" != set; then 765 773 CFLAGS="-O" 774 ac_cv_cflags_not_set=yes 766 775 fi 767 776 cat >> confdefs.h <<\EOF … … 857 866 #endif 858 867 EOF 859 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:86 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then868 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 860 869 ac_cv_prog_gcc=yes 861 870 else … … 909 918 # not just through cpp. 910 919 cat > conftest.$ac_ext <<EOF 911 #line 9 12"configure"920 #line 921 "configure" 912 921 #include "confdefs.h" 913 922 #include <assert.h> … … 915 924 EOF 916 925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 917 { (eval echo configure:9 18: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }926 { (eval echo configure:927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 918 927 ac_err=`grep -v '^ *+' conftest.out` 919 928 if test -z "$ac_err"; then … … 924 933 CPP="${CC-cc} -E -traditional-cpp" 925 934 cat > conftest.$ac_ext <<EOF 926 #line 9 27"configure"935 #line 936 "configure" 927 936 #include "confdefs.h" 928 937 #include <assert.h> … … 930 939 EOF 931 940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 932 { (eval echo configure:9 33: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }941 { (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 933 942 ac_err=`grep -v '^ *+' conftest.out` 934 943 if test -z "$ac_err"; then … … 952 961 echo $ac_n "checking for AIX""... $ac_c" 1>&6 953 962 cat > conftest.$ac_ext <<EOF 954 #line 9 55"configure"963 #line 964 "configure" 955 964 #include "confdefs.h" 956 965 #ifdef _AIX … … 1019 1028 if test "$enable_mppvm" = yes || test "$with_pvm" = yes; then 1020 1029 CPPFLAGS="${CPPFLAGS} -I${PVM_ROOT}/include" 1021 if test ${PVM_ARCH+set}= set; then1030 if test "${PVM_ARCH+set}" = set; then 1022 1031 LDFLAGS="${LDFLAGS} -L{PVM_ROOT}/lib/${PVM_ARCH}" 1023 1032 fi … … 1060 1069 else 1061 1070 cat > conftest.$ac_ext <<EOF 1062 #line 10 63"configure"1071 #line 1072 "configure" 1063 1072 #include "confdefs.h" 1064 1073 main(){return(0);} 1065 1074 EOF 1066 { (eval echo configure:10 67: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1075 { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1067 1076 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1068 1077 ac_cv_c_cross=no … … 1082 1091 else 1083 1092 cat > conftest.$ac_ext <<EOF 1084 #line 10 85"configure"1093 #line 1094 "configure" 1085 1094 #include "confdefs.h" 1086 1095 #include <stdlib.h> … … 1090 1099 EOF 1091 1100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1092 { (eval echo configure:1 093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1101 { (eval echo configure:1102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1093 1102 ac_err=`grep -v '^ *+' conftest.out` 1094 1103 if test -z "$ac_err"; then … … 1105 1114 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1106 1115 cat > conftest.$ac_ext <<EOF 1107 #line 11 08"configure"1116 #line 1117 "configure" 1108 1117 #include "confdefs.h" 1109 1118 #include <string.h> … … 1123 1132 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1124 1133 cat > conftest.$ac_ext <<EOF 1125 #line 11 26"configure"1134 #line 1135 "configure" 1126 1135 #include "confdefs.h" 1127 1136 #include <stdlib.h> … … 1144 1153 else 1145 1154 cat > conftest.$ac_ext <<EOF 1146 #line 11 47"configure"1155 #line 1156 "configure" 1147 1156 #include "confdefs.h" 1148 1157 #include <ctype.h> … … 1155 1164 1156 1165 EOF 1157 { (eval echo configure:11 58: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1166 { (eval echo configure:1167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1158 1167 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1159 1168 : … … 1179 1188 else 1180 1189 cat > conftest.$ac_ext <<EOF 1181 #line 11 82"configure"1190 #line 1191 "configure" 1182 1191 #include "confdefs.h" 1183 1192 #include <sys/types.h> … … 1211 1220 else 1212 1221 cat > conftest.$ac_ext <<EOF 1213 #line 12 14"configure"1222 #line 1223 "configure" 1214 1223 #include "confdefs.h" 1215 1224 #include <vfork.h> 1216 1225 EOF 1217 1226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1218 { (eval echo configure:12 19: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1227 { (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1219 1228 ac_err=`grep -v '^ *+' conftest.out` 1220 1229 if test -z "$ac_err"; then … … 1248 1257 else 1249 1258 cat > conftest.$ac_ext <<EOF 1250 #line 12 51"configure"1259 #line 1260 "configure" 1251 1260 #include "confdefs.h" 1252 1261 /* System header to define __stub macros and hopefully few prototypes, … … 1270 1279 ; return 0; } 1271 1280 EOF 1272 if { (eval echo configure:12 73: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1281 if { (eval echo configure:1282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1273 1282 rm -rf conftest* 1274 1283 eval "ac_cv_func_vfork=yes" … … 1289 1298 else 1290 1299 cat > conftest.$ac_ext <<EOF 1291 #line 1 292"configure"1300 #line 1301 "configure" 1292 1301 #include "confdefs.h" 1293 1302 /* Thanks to Paul Eggert for this test. */ … … 1382 1391 } 1383 1392 EOF 1384 { (eval echo configure:13 85: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1393 { (eval echo configure:1394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1385 1394 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1386 1395 ac_cv_func_vfork=yes … … 1474 1483 LIBS="-lm $LIBS" 1475 1484 cat > conftest.$ac_ext <<EOF 1476 #line 14 77"configure"1485 #line 1486 "configure" 1477 1486 #include "confdefs.h" 1478 1487 /* Override any gcc2 internal prototype to avoid an error. */ … … 1484 1493 ; return 0; } 1485 1494 EOF 1486 if { (eval echo configure:14 87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1495 if { (eval echo configure:1496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1487 1496 rm -rf conftest* 1488 1497 eval "ac_cv_lib_$ac_lib_var=yes" … … 1516 1525 LIBS="-lbsd $LIBS" 1517 1526 cat > conftest.$ac_ext <<EOF 1518 #line 15 19"configure"1527 #line 1528 "configure" 1519 1528 #include "confdefs.h" 1520 1529 /* Override any gcc2 internal prototype to avoid an error. */ … … 1526 1535 ; return 0; } 1527 1536 EOF 1528 if { (eval echo configure:15 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1537 if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1529 1538 rm -rf conftest* 1530 1539 eval "ac_cv_lib_$ac_lib_var=yes" … … 1558 1567 LIBS="-lgmp $LIBS" 1559 1568 cat > conftest.$ac_ext <<EOF 1560 #line 15 61"configure"1569 #line 1570 "configure" 1561 1570 #include "confdefs.h" 1562 1571 /* Override any gcc2 internal prototype to avoid an error. */ … … 1568 1577 ; return 0; } 1569 1578 EOF 1570 if { (eval echo configure:15 71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1579 if { (eval echo configure:1580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1571 1580 rm -rf conftest* 1572 1581 eval "ac_cv_lib_$ac_lib_var=yes" … … 1608 1617 else 1609 1618 cat > conftest.$ac_ext <<EOF 1610 #line 16 11"configure"1619 #line 1620 "configure" 1611 1620 #include "confdefs.h" 1612 1621 /* System header to define __stub macros and hopefully few prototypes, … … 1630 1639 ; return 0; } 1631 1640 EOF 1632 if { (eval echo configure:16 33: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1641 if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1633 1642 rm -rf conftest* 1634 1643 eval "ac_cv_func_$ac_func=yes" … … 1670 1679 LIBS="-lnsl $LIBS" 1671 1680 cat > conftest.$ac_ext <<EOF 1672 #line 16 73"configure"1681 #line 1682 "configure" 1673 1682 #include "confdefs.h" 1674 1683 /* Override any gcc2 internal prototype to avoid an error. */ … … 1680 1689 ; return 0; } 1681 1690 EOF 1682 if { (eval echo configure:16 83: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1691 if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1683 1692 rm -rf conftest* 1684 1693 eval "ac_cv_lib_$ac_lib_var=yes" … … 1719 1728 LIBS="-lsocket $LIBS" 1720 1729 cat > conftest.$ac_ext <<EOF 1721 #line 17 22"configure"1730 #line 1731 "configure" 1722 1731 #include "confdefs.h" 1723 1732 /* Override any gcc2 internal prototype to avoid an error. */ … … 1729 1738 ; return 0; } 1730 1739 EOF 1731 if { (eval echo configure:17 32: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1740 if { (eval echo configure:1741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1732 1741 rm -rf conftest* 1733 1742 eval "ac_cv_lib_$ac_lib_var=yes" … … 1766 1775 else 1767 1776 cat > conftest.$ac_ext <<EOF 1768 #line 17 69"configure"1777 #line 1778 "configure" 1769 1778 #include "confdefs.h" 1770 1779 #include <stdlib.h> … … 1774 1783 EOF 1775 1784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1776 { (eval echo configure:17 77: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1785 { (eval echo configure:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1777 1786 ac_err=`grep -v '^ *+' conftest.out` 1778 1787 if test -z "$ac_err"; then … … 1789 1798 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1790 1799 cat > conftest.$ac_ext <<EOF 1791 #line 1 792"configure"1800 #line 1801 "configure" 1792 1801 #include "confdefs.h" 1793 1802 #include <string.h> … … 1807 1816 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1808 1817 cat > conftest.$ac_ext <<EOF 1809 #line 181 0"configure"1818 #line 1819 "configure" 1810 1819 #include "confdefs.h" 1811 1820 #include <stdlib.h> … … 1828 1837 else 1829 1838 cat > conftest.$ac_ext <<EOF 1830 #line 18 31"configure"1839 #line 1840 "configure" 1831 1840 #include "confdefs.h" 1832 1841 #include <ctype.h> … … 1839 1848 1840 1849 EOF 1841 { (eval echo configure:18 42: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1850 { (eval echo configure:1851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1842 1851 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1843 1852 : … … 1864 1873 else 1865 1874 cat > conftest.$ac_ext <<EOF 1866 #line 18 67"configure"1875 #line 1876 "configure" 1867 1876 #include "confdefs.h" 1868 1877 #include <arpa/inet.h> 1869 1878 EOF 1870 1879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1871 { (eval echo configure:18 72: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1880 { (eval echo configure:1881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1872 1881 ac_err=`grep -v '^ *+' conftest.out` 1873 1882 if test -z "$ac_err"; then … … 1895 1904 else 1896 1905 cat > conftest.$ac_ext <<EOF 1897 #line 1 898"configure"1906 #line 1907 "configure" 1898 1907 #include "confdefs.h" 1899 1908 #include <assert.h> 1900 1909 EOF 1901 1910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1902 { (eval echo configure:19 03: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1911 { (eval echo configure:1912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1903 1912 ac_err=`grep -v '^ *+' conftest.out` 1904 1913 if test -z "$ac_err"; then … … 1926 1935 else 1927 1936 cat > conftest.$ac_ext <<EOF 1928 #line 19 29"configure"1937 #line 1938 "configure" 1929 1938 #include "confdefs.h" 1930 1939 #include <ctype.h> 1931 1940 EOF 1932 1941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1933 { (eval echo configure:19 34: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1942 { (eval echo configure:1943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1934 1943 ac_err=`grep -v '^ *+' conftest.out` 1935 1944 if test -z "$ac_err"; then … … 1957 1966 else 1958 1967 cat > conftest.$ac_ext <<EOF 1959 #line 196 0"configure"1968 #line 1969 "configure" 1960 1969 #include "confdefs.h" 1961 1970 #include <errno.h> 1962 1971 EOF 1963 1972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1964 { (eval echo configure:19 65: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1973 { (eval echo configure:1974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1965 1974 ac_err=`grep -v '^ *+' conftest.out` 1966 1975 if test -z "$ac_err"; then … … 1988 1997 else 1989 1998 cat > conftest.$ac_ext <<EOF 1990 #line 1991"configure"1999 #line 2000 "configure" 1991 2000 #include "confdefs.h" 1992 2001 #include <netdb.h> 1993 2002 EOF 1994 2003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1995 { (eval echo configure: 1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2004 { (eval echo configure:2005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1996 2005 ac_err=`grep -v '^ *+' conftest.out` 1997 2006 if test -z "$ac_err"; then … … 2019 2028 else 2020 2029 cat > conftest.$ac_ext <<EOF 2021 #line 20 22"configure"2030 #line 2031 "configure" 2022 2031 #include "confdefs.h" 2023 2032 #include <netinet/in.h> 2024 2033 EOF 2025 2034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2026 { (eval echo configure:20 27: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2035 { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2027 2036 ac_err=`grep -v '^ *+' conftest.out` 2028 2037 if test -z "$ac_err"; then … … 2050 2059 else 2051 2060 cat > conftest.$ac_ext <<EOF 2052 #line 20 53"configure"2061 #line 2062 "configure" 2053 2062 #include "confdefs.h" 2054 2063 #include <netinet/tcp.h> 2055 2064 EOF 2056 2065 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2057 { (eval echo configure:20 58: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2066 { (eval echo configure:2067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2058 2067 ac_err=`grep -v '^ *+' conftest.out` 2059 2068 if test -z "$ac_err"; then … … 2081 2090 else 2082 2091 cat > conftest.$ac_ext <<EOF 2083 #line 20 84"configure"2092 #line 2093 "configure" 2084 2093 #include "confdefs.h" 2085 2094 #include <signal.h> 2086 2095 EOF 2087 2096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2088 { (eval echo configure:20 89: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2097 { (eval echo configure:2098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2089 2098 ac_err=`grep -v '^ *+' conftest.out` 2090 2099 if test -z "$ac_err"; then … … 2112 2121 else 2113 2122 cat > conftest.$ac_ext <<EOF 2114 #line 21 15"configure"2123 #line 2124 "configure" 2115 2124 #include "confdefs.h" 2116 2125 #include <stdarg.h> 2117 2126 EOF 2118 2127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2119 { (eval echo configure:212 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2128 { (eval echo configure:2129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2120 2129 ac_err=`grep -v '^ *+' conftest.out` 2121 2130 if test -z "$ac_err"; then … … 2143 2152 else 2144 2153 cat > conftest.$ac_ext <<EOF 2145 #line 21 46"configure"2154 #line 2155 "configure" 2146 2155 #include "confdefs.h" 2147 2156 #include <stdio.h> 2148 2157 EOF 2149 2158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2150 { (eval echo configure:21 51: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2159 { (eval echo configure:2160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2151 2160 ac_err=`grep -v '^ *+' conftest.out` 2152 2161 if test -z "$ac_err"; then … … 2174 2183 else 2175 2184 cat > conftest.$ac_ext <<EOF 2176 #line 21 77"configure"2185 #line 2186 "configure" 2177 2186 #include "confdefs.h" 2178 2187 #include <stdlib.h> 2179 2188 EOF 2180 2189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2181 { (eval echo configure:21 82: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2190 { (eval echo configure:2191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2182 2191 ac_err=`grep -v '^ *+' conftest.out` 2183 2192 if test -z "$ac_err"; then … … 2205 2214 else 2206 2215 cat > conftest.$ac_ext <<EOF 2207 #line 22 08"configure"2216 #line 2217 "configure" 2208 2217 #include "confdefs.h" 2209 2218 #include <string.h> 2210 2219 EOF 2211 2220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2212 { (eval echo configure:22 13: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2221 { (eval echo configure:2222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2213 2222 ac_err=`grep -v '^ *+' conftest.out` 2214 2223 if test -z "$ac_err"; then … … 2236 2245 else 2237 2246 cat > conftest.$ac_ext <<EOF 2238 #line 22 39"configure"2247 #line 2248 "configure" 2239 2248 #include "confdefs.h" 2240 2249 #include <stddef.h> 2241 2250 EOF 2242 2251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2243 { (eval echo configure:22 44: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2252 { (eval echo configure:2253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2244 2253 ac_err=`grep -v '^ *+' conftest.out` 2245 2254 if test -z "$ac_err"; then … … 2267 2276 else 2268 2277 cat > conftest.$ac_ext <<EOF 2269 #line 227 0"configure"2278 #line 2279 "configure" 2270 2279 #include "confdefs.h" 2271 2280 #include <values.h> 2272 2281 EOF 2273 2282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2274 { (eval echo configure:22 75: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2283 { (eval echo configure:2284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2275 2284 ac_err=`grep -v '^ *+' conftest.out` 2276 2285 if test -z "$ac_err"; then … … 2299 2308 else 2300 2309 cat > conftest.$ac_ext <<EOF 2301 #line 23 02"configure"2310 #line 2311 "configure" 2302 2311 #include "confdefs.h" 2303 2312 #include <fcntl.h> 2304 2313 EOF 2305 2314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2306 { (eval echo configure:23 07: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2315 { (eval echo configure:2316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2307 2316 ac_err=`grep -v '^ *+' conftest.out` 2308 2317 if test -z "$ac_err"; then … … 2330 2339 else 2331 2340 cat > conftest.$ac_ext <<EOF 2332 #line 23 33"configure"2341 #line 2342 "configure" 2333 2342 #include "confdefs.h" 2334 2343 #include <sys/ioctl.h> 2335 2344 EOF 2336 2345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2337 { (eval echo configure:23 38: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2346 { (eval echo configure:2347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2338 2347 ac_err=`grep -v '^ *+' conftest.out` 2339 2348 if test -z "$ac_err"; then … … 2361 2370 else 2362 2371 cat > conftest.$ac_ext <<EOF 2363 #line 23 64"configure"2372 #line 2373 "configure" 2364 2373 #include "confdefs.h" 2365 2374 #include <sys/param.h> 2366 2375 EOF 2367 2376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2368 { (eval echo configure:23 69: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2377 { (eval echo configure:2378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2369 2378 ac_err=`grep -v '^ *+' conftest.out` 2370 2379 if test -z "$ac_err"; then … … 2392 2401 else 2393 2402 cat > conftest.$ac_ext <<EOF 2394 #line 2 395"configure"2403 #line 2404 "configure" 2395 2404 #include "confdefs.h" 2396 2405 #include <sys/socket.h> 2397 2406 EOF 2398 2407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2399 { (eval echo configure:240 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2408 { (eval echo configure:2409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2400 2409 ac_err=`grep -v '^ *+' conftest.out` 2401 2410 if test -z "$ac_err"; then … … 2423 2432 else 2424 2433 cat > conftest.$ac_ext <<EOF 2425 #line 24 26"configure"2434 #line 2435 "configure" 2426 2435 #include "confdefs.h" 2427 2436 #include <sys/stat.h> 2428 2437 EOF 2429 2438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2430 { (eval echo configure:24 31: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2439 { (eval echo configure:2440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2431 2440 ac_err=`grep -v '^ *+' conftest.out` 2432 2441 if test -z "$ac_err"; then … … 2454 2463 else 2455 2464 cat > conftest.$ac_ext <<EOF 2456 #line 24 57"configure"2465 #line 2466 "configure" 2457 2466 #include "confdefs.h" 2458 2467 #include <sys/time.h> 2459 2468 EOF 2460 2469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2461 { (eval echo configure:24 62: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2470 { (eval echo configure:2471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2462 2471 ac_err=`grep -v '^ *+' conftest.out` 2463 2472 if test -z "$ac_err"; then … … 2485 2494 else 2486 2495 cat > conftest.$ac_ext <<EOF 2487 #line 24 88"configure"2496 #line 2497 "configure" 2488 2497 #include "confdefs.h" 2489 2498 #include <sys/types.h> 2490 2499 EOF 2491 2500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2492 { (eval echo configure:2 493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2501 { (eval echo configure:2502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2493 2502 ac_err=`grep -v '^ *+' conftest.out` 2494 2503 if test -z "$ac_err"; then … … 2516 2525 else 2517 2526 cat > conftest.$ac_ext <<EOF 2518 #line 25 19"configure"2527 #line 2528 "configure" 2519 2528 #include "confdefs.h" 2520 2529 #include <sys/uio.h> 2521 2530 EOF 2522 2531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2523 { (eval echo configure:25 24: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2532 { (eval echo configure:2533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2524 2533 ac_err=`grep -v '^ *+' conftest.out` 2525 2534 if test -z "$ac_err"; then … … 2547 2556 else 2548 2557 cat > conftest.$ac_ext <<EOF 2549 #line 255 0"configure"2558 #line 2559 "configure" 2550 2559 #include "confdefs.h" 2551 2560 #include <sys/un.h> 2552 2561 EOF 2553 2562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2554 { (eval echo configure:25 55: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2563 { (eval echo configure:2564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2555 2564 ac_err=`grep -v '^ *+' conftest.out` 2556 2565 if test -z "$ac_err"; then … … 2578 2587 else 2579 2588 cat > conftest.$ac_ext <<EOF 2580 #line 25 81"configure"2589 #line 2590 "configure" 2581 2590 #include "confdefs.h" 2582 2591 #include <unistd.h> 2583 2592 EOF 2584 2593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2585 { (eval echo configure:25 86: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2594 { (eval echo configure:2595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2586 2595 ac_err=`grep -v '^ *+' conftest.out` 2587 2596 if test -z "$ac_err"; then … … 2609 2618 else 2610 2619 cat > conftest.$ac_ext <<EOF 2611 #line 26 12"configure"2620 #line 2621 "configure" 2612 2621 #include "confdefs.h" 2613 2622 #include <math.h> 2614 2623 EOF 2615 2624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2616 { (eval echo configure:26 17: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2625 { (eval echo configure:2626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2617 2626 ac_err=`grep -v '^ *+' conftest.out` 2618 2627 if test -z "$ac_err"; then … … 2644 2653 else 2645 2654 cat > conftest.$ac_ext <<EOF 2646 #line 26 47"configure"2655 #line 2656 "configure" 2647 2656 #include "confdefs.h" 2648 2657 #include <$ac_hdr> 2649 2658 EOF 2650 2659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2651 { (eval echo configure:26 52: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2660 { (eval echo configure:2661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2652 2661 ac_err=`grep -v '^ *+' conftest.out` 2653 2662 if test -z "$ac_err"; then … … 2676 2685 if test "$ac_cv_header_gmp_h" = yes; then 2677 2686 cat > conftest.$ac_ext <<EOF 2678 #line 26 79"configure"2687 #line 2688 "configure" 2679 2688 #include "confdefs.h" 2680 2689 #include <gmp.h> … … 2689 2698 if test ! "$MPZ_PTR" = mpz_ptr; then 2690 2699 cat > conftest.$ac_ext <<EOF 2691 #line 2 692"configure"2700 #line 2701 "configure" 2692 2701 #include "confdefs.h" 2693 2702 #include <gmp.h> … … 2718 2727 fi 2719 2728 cat > conftest.$ac_ext <<EOF 2720 #line 27 21"configure"2729 #line 2730 "configure" 2721 2730 #include "confdefs.h" 2722 2731 #include <gmp.h> … … 2781 2790 if test "${with_debug+set}" = set; then 2782 2791 withval="$with_debug" 2792 : 2793 fi 2794 2795 2796 # Check whether --with-extra_cflags or --without-extra_cflags was given. 2797 if test "${with_extra_cflags+set}" = set; then 2798 withval="$with_extra_cflags" 2799 : 2800 fi 2801 2802 2803 # Check whether --with-rsh or --without-rsh was given. 2804 if test "${with_rsh+set}" = set; then 2805 withval="$with_rsh" 2783 2806 : 2784 2807 fi … … 2953 2976 else 2954 2977 cat > conftest.$ac_ext <<EOF 2955 #line 29 56"configure"2978 #line 2979 "configure" 2956 2979 #include "confdefs.h" 2957 2980 #include <sys/types.h> … … 2997 3020 else 2998 3021 cat > conftest.$ac_ext <<EOF 2999 #line 30 00"configure"3022 #line 3023 "configure" 3000 3023 #include "confdefs.h" 3001 3024 #include <TB.h> 3002 3025 EOF 3003 3026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3004 { (eval echo configure:30 05: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3027 { (eval echo configure:3028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3005 3028 ac_err=`grep -v '^ *+' conftest.out` 3006 3029 if test -z "$ac_err"; then … … 3038 3061 else 3039 3062 cat > conftest.$ac_ext <<EOF 3040 #line 30 41"configure"3063 #line 3064 "configure" 3041 3064 #include "confdefs.h" 3042 3065 #include <pvm3.h> 3043 3066 EOF 3044 3067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3045 { (eval echo configure:30 46: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3068 { (eval echo configure:3069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3046 3069 ac_err=`grep -v '^ *+' conftest.out` 3047 3070 if test -z "$ac_err"; then … … 3072 3095 fi 3073 3096 3097 if test "${with_extra_cflags+set}" = set; then 3098 CFLAGS="$CFLAGS ${with_extra_cflags}" 3099 fi 3100 3101 if test "${with_rsh+set}" = set; then 3102 ac_cv_rsh_program=${with_rsh} 3103 else 3104 for ac_prog in remsh rsh ssh 3105 do 3106 # Extract the first word of "$ac_prog", so it can be a program name with args. 3107 set dummy $ac_prog; ac_word=$2 3108 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3109 if eval "test \"`echo '$''{'ac_cv_prog_ac_cv_rsh_program'+set}'`\" = set"; then 3110 echo $ac_n "(cached) $ac_c" 1>&6 3111 else 3112 if test -n "$ac_cv_rsh_program"; then 3113 ac_cv_prog_ac_cv_rsh_program="$ac_cv_rsh_program" # Let the user override the test. 3114 else 3115 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 3116 for ac_dir in $PATH; do 3117 test -z "$ac_dir" && ac_dir=. 3118 if test -f $ac_dir/$ac_word; then 3119 ac_cv_prog_ac_cv_rsh_program="$ac_prog" 3120 break 3121 fi 3122 done 3123 IFS="$ac_save_ifs" 3124 fi 3125 fi 3126 ac_cv_rsh_program="$ac_cv_prog_ac_cv_rsh_program" 3127 if test -n "$ac_cv_rsh_program"; then 3128 echo "$ac_t""$ac_cv_rsh_program" 1>&6 3129 else 3130 echo "$ac_t""no" 1>&6 3131 fi 3132 3133 test -n "$ac_cv_rsh_program" && break 3134 done 3135 test -n "$ac_cv_rsh_program" || ac_cv_rsh_program="none" 3136 3137 fi 3138 echo $ac_n "checking which remote shell command to use""... $ac_c" 1>&6 3139 cat >> confdefs.h <<EOF 3140 #define MP_RSH_COMMAND "$ac_cv_rsh_program" 3141 EOF 3142 3143 echo "$ac_t""$ac_cv_rsh_program" 1>&6 3144 3145 echo $ac_n "checking whether remote shell command works""... $ac_c" 1>&6 3146 if $ac_cv_rsh_program `hostname` -n uname >\& /dev/null; then 3147 echo "$ac_t""yes" 1>&6 3148 else 3149 echo "$ac_t""no" 1>&6 3150 echo "configure: warning: Remote shell does not work. Check your .rhosts file" 1>&2 3151 fi 3152 3074 3153 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3075 3154 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then … … 3079 3158 # See if sys/param.h defines the BYTE_ORDER macro. 3080 3159 cat > conftest.$ac_ext <<EOF 3081 #line 3 082"configure"3160 #line 3161 "configure" 3082 3161 #include "confdefs.h" 3083 3162 #include <sys/types.h> … … 3091 3170 ; return 0; } 3092 3171 EOF 3093 if { (eval echo configure:3 094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3172 if { (eval echo configure:3173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3094 3173 rm -rf conftest* 3095 3174 # It does; now see whether it defined to BIG_ENDIAN or not. 3096 3175 cat > conftest.$ac_ext <<EOF 3097 #line 3 098"configure"3176 #line 3177 "configure" 3098 3177 #include "confdefs.h" 3099 3178 #include <sys/types.h> … … 3107 3186 ; return 0; } 3108 3187 EOF 3109 if { (eval echo configure:31 10: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3188 if { (eval echo configure:3189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3110 3189 rm -rf conftest* 3111 3190 ac_cv_c_bigendian=yes … … 3124 3203 else 3125 3204 cat > conftest.$ac_ext <<EOF 3126 #line 3 127"configure"3205 #line 3206 "configure" 3127 3206 #include "confdefs.h" 3128 3207 main () { … … 3137 3216 } 3138 3217 EOF 3139 { (eval echo configure:3 140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3218 { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3140 3219 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3141 3220 ac_cv_c_bigendian=no … … 3161 3240 else 3162 3241 cat > conftest.$ac_ext <<EOF 3163 #line 3 164"configure"3242 #line 3243 "configure" 3164 3243 #include "confdefs.h" 3165 3244 … … 3211 3290 ; return 0; } 3212 3291 EOF 3213 if { (eval echo configure:32 14: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3292 if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3214 3293 rm -rf conftest* 3215 3294 ac_cv_c_const=yes … … 3235 3314 else 3236 3315 cat > conftest.$ac_ext <<EOF 3237 #line 3 238"configure"3316 #line 3317 "configure" 3238 3317 #include "confdefs.h" 3239 3318 #include <sys/types.h> … … 3266 3345 else 3267 3346 cat > conftest.$ac_ext <<EOF 3268 #line 3 269"configure"3347 #line 3348 "configure" 3269 3348 #include "confdefs.h" 3270 3349 #include <sys/types.h> … … 3276 3355 ; return 0; } 3277 3356 EOF 3278 if { (eval echo configure:3 279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3357 if { (eval echo configure:3358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3279 3358 rm -rf conftest* 3280 3359 ac_cv_header_time=yes … … 3304 3383 else 3305 3384 cat > conftest.$ac_ext <<EOF 3306 #line 33 07"configure"3385 #line 3386 "configure" 3307 3386 #include "confdefs.h" 3308 3387 #include <stdio.h> … … 3315 3394 } 3316 3395 EOF 3317 { (eval echo configure:33 18: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3396 { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3318 3397 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3319 3398 ac_cv_sizeof_long=`cat conftestval` … … 3338 3417 3339 3418 3340 if test "${GCC}" = yes ; then3419 if test "${GCC}" = yes && test "$ac_cv_cflags_not_set" = yes; then 3341 3420 if test "$with_debug" = yes; then 3342 CFLAGS="-g -Wall -Wno-unused "3421 CFLAGS="-g -Wall -Wno-unused ${with_extra_cflags}" 3343 3422 else 3344 CFLAGS="-O3 -w -fomit-frame-pointer "3423 CFLAGS="-O3 -w -fomit-frame-pointer ${with_extra_cflags}" 3345 3424 fi 3346 3425 fi … … 3349 3428 ac_configure_args="$ac_configure_args --prefix=$ac_default_prefix" 3350 3429 fi 3351 if test "$libdir" = '${prefix}/lib/'$ac_cv_arch; then3352 if test "$prefix" = NONE; then3353 ac_configure_args="$ac_configure_args --libdir=$ac_default_prefix/lib/$ac_cv_arch"3354 else3355 ac_configure_args="${prefix}/lib/$ac_cv_arch"3356 fi3357 fi3358 if test "$bindir" = '${prefix}/bin/'$ac_cv_arch; then3359 if test "$prefix" = NONE; then3360 ac_configure_args="$ac_configure_args --bindir=$ac_default_prefix/bin/$ac_cv_arch"3361 else3362 ac_configure_args="${prefix}/bin/$ac_cv_arch"3363 fi3364 fi3365 3366 3430 3367 3431 subdirs="$CONFIG_SUBDIRS" … … 3510 3574 s%@CONFIG_SUBDIRS@%$CONFIG_SUBDIRS%g 3511 3575 s%@NEED_LIBS@%$NEED_LIBS%g 3576 s%@ac_cv_rsh_program@%$ac_cv_rsh_program%g 3512 3577 s%@CLEAN@%$CLEAN%g 3513 3578 s%@subdirs@%$subdirs%g -
MP/configure.in
rb23bbb0 rae6370 8 8 9 9 PRODUCT=MP 10 VERSION=1.1.2 10 VERSION=1.1.2.1 11 11 AC_SUBST(PRODUCT) 12 12 AC_SUBST(VERSION) … … 50 50 if test "${CFLAGS+set}" != set; then 51 51 CFLAGS="-g" 52 ac_cv_cflags_not_set=yes 52 53 fi 53 54 AC_DEFINE(MPT_DEBUG) … … 55 56 if test "${CFLAGS+set}" != set; then 56 57 CFLAGS="-O" 58 ac_cv_cflags_not_set=yes 57 59 fi 58 60 AC_DEFINE(NO_LOGGING) … … 112 114 if test "$enable_mppvm" = yes || test "$with_pvm" = yes; then 113 115 CPPFLAGS="${CPPFLAGS} -I${PVM_ROOT}/include" 114 if test ${PVM_ARCH+set}= set; then116 if test "${PVM_ARCH+set}" = set; then 115 117 LDFLAGS="${LDFLAGS} -L{PVM_ROOT}/lib/${PVM_ARCH}" 116 118 fi … … 282 284 [ --with-debug build with debug options and logging]) 283 285 286 AC_ARG_WITH(extra_cflags, \ 287 [ --with-extra_cflags=cflags build with 'cflags' appended to 288 CFLAGS given to the compiler]) 289 290 AC_ARG_WITH(rsh, \ 291 [ --with-rsh=command use 'command' as remote shell command]) 292 284 293 dnl evaluate specifications 285 294 AC_DEFINE(MP_DUMMY, 0) … … 401 410 fi 402 411 412 if test "${with_extra_cflags+set}" = set; then 413 CFLAGS="$CFLAGS ${with_extra_cflags}" 414 fi 415 416 if test "${with_rsh+set}" = set; then 417 ac_cv_rsh_program=${with_rsh} 418 else 419 AC_CHECK_PROGS(ac_cv_rsh_program,remsh rsh ssh, none) 420 fi 421 AC_MSG_CHECKING(which remote shell command to use) 422 AC_DEFINE_UNQUOTED(MP_RSH_COMMAND, "$ac_cv_rsh_program") 423 AC_MSG_RESULT($ac_cv_rsh_program) 424 425 AC_MSG_CHECKING(whether remote shell command works) 426 if $ac_cv_rsh_program `hostname` -n uname >\& /dev/null; then 427 AC_MSG_RESULT(yes) 428 else 429 AC_MSG_RESULT(no) 430 AC_MSG_WARN(Remote shell does not work. Check your .rhosts file) 431 fi 432 403 433 dnl Checks for typedefs, structures, and compiler characteristics. 404 434 AC_C_BIGENDIAN … … 420 450 421 451 dnl if we use GCC, then we know CFLAGS best and do not let user overwrite it 422 if test "${GCC}" = yes ; then452 if test "${GCC}" = yes && test "$ac_cv_cflags_not_set" = yes; then 423 453 if test "$with_debug" = yes; then 424 CFLAGS="-g -Wall -Wno-unused "425 else 426 CFLAGS="-O3 -w -fomit-frame-pointer "454 CFLAGS="-g -Wall -Wno-unused ${with_extra_cflags}" 455 else 456 CFLAGS="-O3 -w -fomit-frame-pointer ${with_extra_cflags}" 427 457 fi 428 458 fi … … 432 462 ac_configure_args="$ac_configure_args --prefix=$ac_default_prefix" 433 463 fi 434 if test "$libdir" = '${prefix}/lib/'$ac_cv_arch; then435 if test "$prefix" = NONE; then436 ac_configure_args="$ac_configure_args --libdir=$ac_default_prefix/lib/$ac_cv_arch"437 else438 ac_configure_args="${prefix}/lib/$ac_cv_arch"439 fi440 fi441 if test "$bindir" = '${prefix}/bin/'$ac_cv_arch; then442 if test "$prefix" = NONE; then443 ac_configure_args="$ac_configure_args --bindir=$ac_default_prefix/bin/$ac_cv_arch"444 else445 ac_configure_args="${prefix}/bin/$ac_cv_arch"446 fi447 fi448 449 464 450 465 AC_CONFIG_SUBDIRS($CONFIG_SUBDIRS)
Note: See TracChangeset
for help on using the changeset viewer.