Changeset 89eb77 in git
- Timestamp:
- Jun 15, 1999, 5:30:35 PM (24 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 64b0be57e2ca9b4b5ca36cb9e9d11a9e6e2c0eb8
- Parents:
- 1368792c2ccb1197c3f2ab30867fd969143e673f
- Location:
- MP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
MP/MP/MP_TcpTransp.c
r136879 r89eb77 83 83 #include <signal.h> 84 84 85 85 86 #ifdef __WIN32__ 86 87 … … 91 92 92 93 #include <unistd.h> 94 #include <netdb.h> 93 95 94 96 #endif /* not __WIN32__ */ … … 432 434 #else /* not __WIN32__ */ 433 435 434 char 436 char *rsh_argv[5], myhost[64], cport[5], **dmy_args, *appstr, *sub; 435 437 int rsh_pid = -1, i; 436 438 MP_TCP_t *tcp_rec; 437 439 MP_Boolean_t localhost = MP_FALSE; 440 441 #ifdef HAVE_GETHOSTBYNAME 442 if (gethostbyname("localhost") != NULL) localhost = MP_TRUE; 443 #endif 444 445 438 446 #ifdef MP_DEBUG 439 447 fprintf(stderr, "open_tcp_launch_mode: entering\n"); … … 447 455 if (gethostname(myhost, 64) == -1) 448 456 return MP_SetError(link, MP_Failure); 449 457 450 458 /* NOTE: Ultrix doesn't like this order. It expects rsh host [-n] 451 459 command. */ … … 463 471 464 472 rsh_argv[1] = IMP_GetCmdlineArg(argc, argv, "-MPhost"); 473 /* Let's not be too strict, and allow an empty -MPhost argument */ 474 if (localhost) 475 { 476 if ((rsh_argv[1] != NULL && (strcmp(rsh_argv[1], myhost) == 0)) || 477 rsh_argv[1] == NULL) 478 rsh_argv[1] = "localhost"; 479 } 480 else 481 { 482 rsh_argv[1] = myhost; 483 } 465 484 rsh_argv[2] = "-n"; 466 /* Let's not be too strict, and allow an empty -MPhost argument */467 if (rsh_argv[1] == NULL) rsh_argv[1] = myhost;468 485 rsh_argv[3] = IMP_GetCmdlineArg(argc, argv, "-MPapplication"); 469 486 if (rsh_argv[3] == NULL) { … … 509 526 510 527 sprintf(cport, "%hd", tcp_rec->peerport); 528 if (localhost && 529 (strcmp(rsh_argv[1], myhost) == 0 || 530 strcmp(rsh_argv[1], "localhost") == 0)) 531 sprintf(myhost, "localhost"); 511 532 512 533 if (strstr(rsh_argv[3], "$MPport") != NULL || -
MP/MP/h/MP_Config.h.in
r136879 r89eb77 82 82 #undef EXTERNAL_MALLOC_H 83 83 84 /* define if you have gethostbyname */ 85 #undef HAVE_GETHOSTBYNAME 86 -
MP/configure
r136879 r89eb77 1672 1672 1673 1673 1674 for ac_func in gethostbyname 1675 do 1676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1677 echo "configure:1678: checking for $ac_func" >&5 1678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1679 echo $ac_n "(cached) $ac_c" 1>&6 1680 else 1681 cat > conftest.$ac_ext <<EOF 1682 #line 1683 "configure" 1683 #include "confdefs.h" 1684 /* System header to define __stub macros and hopefully few prototypes, 1685 which can conflict with char $ac_func(); below. */ 1686 #include <assert.h> 1687 /* Override any gcc2 internal prototype to avoid an error. */ 1688 /* We use char because int might match the return type of a gcc2 1689 builtin and then its argument prototype would still apply. */ 1690 char $ac_func(); 1691 1692 int main() { 1693 1694 /* The GNU C library defines this for functions which it implements 1695 to always fail with ENOSYS. Some functions are actually named 1696 something starting with __ and the normal name is an alias. */ 1697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 1698 choke me 1699 #else 1700 $ac_func(); 1701 #endif 1702 1703 ; return 0; } 1704 EOF 1705 if { (eval echo configure:1706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1706 rm -rf conftest* 1707 eval "ac_cv_func_$ac_func=yes" 1708 else 1709 echo "configure: failed program was:" >&5 1710 cat conftest.$ac_ext >&5 1711 rm -rf conftest* 1712 eval "ac_cv_func_$ac_func=no" 1713 fi 1714 rm -f conftest* 1715 fi 1716 1717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 1718 echo "$ac_t""yes" 1>&6 1719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1720 cat >> confdefs.h <<EOF 1721 #define $ac_tr_func 1 1722 EOF 1723 1724 else 1725 echo "$ac_t""no" 1>&6 1726 fi 1727 done 1728 1674 1729 1675 1730 if test "$ac_check_prog" = yes; then 1676 1731 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1677 echo "configure:1 678: checking for atof in -lm" >&51732 echo "configure:1733: checking for atof in -lm" >&5 1678 1733 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1679 1734 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1683 1738 LIBS="-lm $LIBS" 1684 1739 cat > conftest.$ac_ext <<EOF 1685 #line 1 686"configure"1740 #line 1741 "configure" 1686 1741 #include "confdefs.h" 1687 1742 /* Override any gcc2 internal prototype to avoid an error. */ … … 1694 1749 ; return 0; } 1695 1750 EOF 1696 if { (eval echo configure:1 697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1751 if { (eval echo configure:1752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1697 1752 rm -rf conftest* 1698 1753 eval "ac_cv_lib_$ac_lib_var=yes" … … 1722 1777 1723 1778 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1724 echo "configure:17 25: checking for socket in -lbsd" >&51779 echo "configure:1780: checking for socket in -lbsd" >&5 1725 1780 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1726 1781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1730 1785 LIBS="-lbsd $LIBS" 1731 1786 cat > conftest.$ac_ext <<EOF 1732 #line 17 33"configure"1787 #line 1788 "configure" 1733 1788 #include "confdefs.h" 1734 1789 /* Override any gcc2 internal prototype to avoid an error. */ … … 1741 1796 ; return 0; } 1742 1797 EOF 1743 if { (eval echo configure:17 44: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1798 if { (eval echo configure:1799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1744 1799 rm -rf conftest* 1745 1800 eval "ac_cv_lib_$ac_lib_var=yes" … … 1769 1824 1770 1825 echo $ac_n "checking for mpz_init in -lgmp""... $ac_c" 1>&6 1771 echo "configure:1 772: checking for mpz_init in -lgmp" >&51826 echo "configure:1827: checking for mpz_init in -lgmp" >&5 1772 1827 ac_lib_var=`echo gmp'_'mpz_init | sed 'y%./+-%__p_%'` 1773 1828 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1777 1832 LIBS="-lgmp $LIBS" 1778 1833 cat > conftest.$ac_ext <<EOF 1779 #line 1 780"configure"1834 #line 1835 "configure" 1780 1835 #include "confdefs.h" 1781 1836 /* Override any gcc2 internal prototype to avoid an error. */ … … 1788 1843 ; return 0; } 1789 1844 EOF 1790 if { (eval echo configure:1 791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1845 if { (eval echo configure:1846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1791 1846 rm -rf conftest* 1792 1847 eval "ac_cv_lib_$ac_lib_var=yes" … … 1826 1881 do 1827 1882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1828 echo "configure:18 29: checking for $ac_func" >&51883 echo "configure:1884: checking for $ac_func" >&5 1829 1884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1830 1885 echo $ac_n "(cached) $ac_c" 1>&6 1831 1886 else 1832 1887 cat > conftest.$ac_ext <<EOF 1833 #line 18 34"configure"1888 #line 1889 "configure" 1834 1889 #include "confdefs.h" 1835 1890 /* System header to define __stub macros and hopefully few prototypes, … … 1854 1909 ; return 0; } 1855 1910 EOF 1856 if { (eval echo configure:1 857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1911 if { (eval echo configure:1912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1857 1912 rm -rf conftest* 1858 1913 eval "ac_cv_func_$ac_func=yes" … … 1889 1944 if test "$ac_cv_func_gethostbyname" != yes; then 1890 1945 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1891 echo "configure:1 892: checking for gethostbyname in -lnsl" >&51946 echo "configure:1947: checking for gethostbyname in -lnsl" >&5 1892 1947 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1893 1948 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1897 1952 LIBS="-lnsl $LIBS" 1898 1953 cat > conftest.$ac_ext <<EOF 1899 #line 19 00"configure"1954 #line 1955 "configure" 1900 1955 #include "confdefs.h" 1901 1956 /* Override any gcc2 internal prototype to avoid an error. */ … … 1908 1963 ; return 0; } 1909 1964 EOF 1910 if { (eval echo configure:19 11: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1965 if { (eval echo configure:1966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1911 1966 rm -rf conftest* 1912 1967 eval "ac_cv_lib_$ac_lib_var=yes" … … 1936 1991 1937 1992 if test "$ac_cv_lib_nsl_gethostbyname" != yes; then 1938 echo "configure: warning: Did not find library containing gethost name" 1>&21993 echo "configure: warning: Did not find library containing gethostbyname" 1>&2 1939 1994 echo "configure: warning: Linking programs with MP might fail" 1>&2 1940 1995 fi … … 1943 1998 if test "$ac_cv_func_socket" != yes; then 1944 1999 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 1945 echo "configure: 1946: checking for socket in -lsocket" >&52000 echo "configure:2001: checking for socket in -lsocket" >&5 1946 2001 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` 1947 2002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1951 2006 LIBS="-lsocket $LIBS" 1952 2007 cat > conftest.$ac_ext <<EOF 1953 #line 1954"configure"2008 #line 2009 "configure" 1954 2009 #include "confdefs.h" 1955 2010 /* Override any gcc2 internal prototype to avoid an error. */ … … 1962 2017 ; return 0; } 1963 2018 EOF 1964 if { (eval echo configure: 1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2019 if { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1965 2020 rm -rf conftest* 1966 2021 eval "ac_cv_lib_$ac_lib_var=yes" … … 1998 2053 1999 2054 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2000 echo "configure:20 01: checking for ANSI C header files" >&52055 echo "configure:2056: checking for ANSI C header files" >&5 2001 2056 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2002 2057 echo $ac_n "(cached) $ac_c" 1>&6 2003 2058 else 2004 2059 cat > conftest.$ac_ext <<EOF 2005 #line 20 06"configure"2060 #line 2061 "configure" 2006 2061 #include "confdefs.h" 2007 2062 #include <stdlib.h> … … 2011 2066 EOF 2012 2067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2013 { (eval echo configure:20 14: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2068 { (eval echo configure:2069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2014 2069 ac_err=`grep -v '^ *+' conftest.out` 2015 2070 if test -z "$ac_err"; then … … 2028 2083 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2029 2084 cat > conftest.$ac_ext <<EOF 2030 #line 20 31"configure"2085 #line 2086 "configure" 2031 2086 #include "confdefs.h" 2032 2087 #include <string.h> … … 2046 2101 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2047 2102 cat > conftest.$ac_ext <<EOF 2048 #line 2 049"configure"2103 #line 2104 "configure" 2049 2104 #include "confdefs.h" 2050 2105 #include <stdlib.h> … … 2067 2122 else 2068 2123 cat > conftest.$ac_ext <<EOF 2069 #line 2 070"configure"2124 #line 2125 "configure" 2070 2125 #include "confdefs.h" 2071 2126 #include <ctype.h> … … 2078 2133 2079 2134 EOF 2080 if { (eval echo configure:2 081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2135 if { (eval echo configure:2136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2081 2136 then 2082 2137 : … … 2103 2158 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 2104 2159 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 2105 echo "configure:21 06: checking for arpa/inet.h" >&52160 echo "configure:2161: checking for arpa/inet.h" >&5 2106 2161 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2107 2162 echo $ac_n "(cached) $ac_c" 1>&6 2108 2163 else 2109 2164 cat > conftest.$ac_ext <<EOF 2110 #line 21 11"configure"2165 #line 2166 "configure" 2111 2166 #include "confdefs.h" 2112 2167 #include <arpa/inet.h> 2113 2168 EOF 2114 2169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2115 { (eval echo configure:21 16: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2170 { (eval echo configure:2171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2116 2171 ac_err=`grep -v '^ *+' conftest.out` 2117 2172 if test -z "$ac_err"; then … … 2137 2192 ac_safe=`echo "assert.h" | sed 'y%./+-%__p_%'` 2138 2193 echo $ac_n "checking for assert.h""... $ac_c" 1>&6 2139 echo "configure:21 40: checking for assert.h" >&52194 echo "configure:2195: checking for assert.h" >&5 2140 2195 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2141 2196 echo $ac_n "(cached) $ac_c" 1>&6 2142 2197 else 2143 2198 cat > conftest.$ac_ext <<EOF 2144 #line 2 145"configure"2199 #line 2200 "configure" 2145 2200 #include "confdefs.h" 2146 2201 #include <assert.h> 2147 2202 EOF 2148 2203 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2149 { (eval echo configure:2 150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2204 { (eval echo configure:2205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2150 2205 ac_err=`grep -v '^ *+' conftest.out` 2151 2206 if test -z "$ac_err"; then … … 2171 2226 ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'` 2172 2227 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6 2173 echo "configure:2 174: checking for ctype.h" >&52228 echo "configure:2229: checking for ctype.h" >&5 2174 2229 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2175 2230 echo $ac_n "(cached) $ac_c" 1>&6 2176 2231 else 2177 2232 cat > conftest.$ac_ext <<EOF 2178 #line 2 179"configure"2233 #line 2234 "configure" 2179 2234 #include "confdefs.h" 2180 2235 #include <ctype.h> 2181 2236 EOF 2182 2237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2183 { (eval echo configure:2 184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2238 { (eval echo configure:2239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2184 2239 ac_err=`grep -v '^ *+' conftest.out` 2185 2240 if test -z "$ac_err"; then … … 2205 2260 ac_safe=`echo "errno.h" | sed 'y%./+-%__p_%'` 2206 2261 echo $ac_n "checking for errno.h""... $ac_c" 1>&6 2207 echo "configure:22 08: checking for errno.h" >&52262 echo "configure:2263: checking for errno.h" >&5 2208 2263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2209 2264 echo $ac_n "(cached) $ac_c" 1>&6 2210 2265 else 2211 2266 cat > conftest.$ac_ext <<EOF 2212 #line 22 13"configure"2267 #line 2268 "configure" 2213 2268 #include "confdefs.h" 2214 2269 #include <errno.h> 2215 2270 EOF 2216 2271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2217 { (eval echo configure:22 18: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2272 { (eval echo configure:2273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2218 2273 ac_err=`grep -v '^ *+' conftest.out` 2219 2274 if test -z "$ac_err"; then … … 2239 2294 ac_safe=`echo "netdb.h" | sed 'y%./+-%__p_%'` 2240 2295 echo $ac_n "checking for netdb.h""... $ac_c" 1>&6 2241 echo "configure:22 42: checking for netdb.h" >&52296 echo "configure:2297: checking for netdb.h" >&5 2242 2297 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2243 2298 echo $ac_n "(cached) $ac_c" 1>&6 2244 2299 else 2245 2300 cat > conftest.$ac_ext <<EOF 2246 #line 2 247"configure"2301 #line 2302 "configure" 2247 2302 #include "confdefs.h" 2248 2303 #include <netdb.h> 2249 2304 EOF 2250 2305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2251 { (eval echo configure:2 252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2306 { (eval echo configure:2307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2252 2307 ac_err=`grep -v '^ *+' conftest.out` 2253 2308 if test -z "$ac_err"; then … … 2273 2328 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 2274 2329 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 2275 echo "configure:2 276: checking for netinet/in.h" >&52330 echo "configure:2331: checking for netinet/in.h" >&5 2276 2331 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2277 2332 echo $ac_n "(cached) $ac_c" 1>&6 2278 2333 else 2279 2334 cat > conftest.$ac_ext <<EOF 2280 #line 2 281"configure"2335 #line 2336 "configure" 2281 2336 #include "confdefs.h" 2282 2337 #include <netinet/in.h> 2283 2338 EOF 2284 2339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2285 { (eval echo configure:2 286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2340 { (eval echo configure:2341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2286 2341 ac_err=`grep -v '^ *+' conftest.out` 2287 2342 if test -z "$ac_err"; then … … 2307 2362 ac_safe=`echo "netinet/tcp.h" | sed 'y%./+-%__p_%'` 2308 2363 echo $ac_n "checking for netinet/tcp.h""... $ac_c" 1>&6 2309 echo "configure:23 10: checking for netinet/tcp.h" >&52364 echo "configure:2365: checking for netinet/tcp.h" >&5 2310 2365 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2311 2366 echo $ac_n "(cached) $ac_c" 1>&6 2312 2367 else 2313 2368 cat > conftest.$ac_ext <<EOF 2314 #line 23 15"configure"2369 #line 2370 "configure" 2315 2370 #include "confdefs.h" 2316 2371 #include <netinet/tcp.h> 2317 2372 EOF 2318 2373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2319 { (eval echo configure:23 20: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2374 { (eval echo configure:2375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2320 2375 ac_err=`grep -v '^ *+' conftest.out` 2321 2376 if test -z "$ac_err"; then … … 2341 2396 ac_safe=`echo "signal.h" | sed 'y%./+-%__p_%'` 2342 2397 echo $ac_n "checking for signal.h""... $ac_c" 1>&6 2343 echo "configure:23 44: checking for signal.h" >&52398 echo "configure:2399: checking for signal.h" >&5 2344 2399 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2345 2400 echo $ac_n "(cached) $ac_c" 1>&6 2346 2401 else 2347 2402 cat > conftest.$ac_ext <<EOF 2348 #line 2 349"configure"2403 #line 2404 "configure" 2349 2404 #include "confdefs.h" 2350 2405 #include <signal.h> 2351 2406 EOF 2352 2407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2353 { (eval echo configure:2 354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2408 { (eval echo configure:2409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2354 2409 ac_err=`grep -v '^ *+' conftest.out` 2355 2410 if test -z "$ac_err"; then … … 2375 2430 ac_safe=`echo "stdarg.h" | sed 'y%./+-%__p_%'` 2376 2431 echo $ac_n "checking for stdarg.h""... $ac_c" 1>&6 2377 echo "configure:2 378: checking for stdarg.h" >&52432 echo "configure:2433: checking for stdarg.h" >&5 2378 2433 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2379 2434 echo $ac_n "(cached) $ac_c" 1>&6 2380 2435 else 2381 2436 cat > conftest.$ac_ext <<EOF 2382 #line 2 383"configure"2437 #line 2438 "configure" 2383 2438 #include "confdefs.h" 2384 2439 #include <stdarg.h> 2385 2440 EOF 2386 2441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2387 { (eval echo configure:2 388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2442 { (eval echo configure:2443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2388 2443 ac_err=`grep -v '^ *+' conftest.out` 2389 2444 if test -z "$ac_err"; then … … 2409 2464 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'` 2410 2465 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6 2411 echo "configure:24 12: checking for stdio.h" >&52466 echo "configure:2467: checking for stdio.h" >&5 2412 2467 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2413 2468 echo $ac_n "(cached) $ac_c" 1>&6 2414 2469 else 2415 2470 cat > conftest.$ac_ext <<EOF 2416 #line 24 17"configure"2471 #line 2472 "configure" 2417 2472 #include "confdefs.h" 2418 2473 #include <stdio.h> 2419 2474 EOF 2420 2475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2421 { (eval echo configure:24 22: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2476 { (eval echo configure:2477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2422 2477 ac_err=`grep -v '^ *+' conftest.out` 2423 2478 if test -z "$ac_err"; then … … 2443 2498 ac_safe=`echo "stdlib.h" | sed 'y%./+-%__p_%'` 2444 2499 echo $ac_n "checking for stdlib.h""... $ac_c" 1>&6 2445 echo "configure:2 446: checking for stdlib.h" >&52500 echo "configure:2501: checking for stdlib.h" >&5 2446 2501 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2447 2502 echo $ac_n "(cached) $ac_c" 1>&6 2448 2503 else 2449 2504 cat > conftest.$ac_ext <<EOF 2450 #line 2 451"configure"2505 #line 2506 "configure" 2451 2506 #include "confdefs.h" 2452 2507 #include <stdlib.h> 2453 2508 EOF 2454 2509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2455 { (eval echo configure:2 456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2510 { (eval echo configure:2511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2456 2511 ac_err=`grep -v '^ *+' conftest.out` 2457 2512 if test -z "$ac_err"; then … … 2477 2532 ac_safe=`echo "string.h" | sed 'y%./+-%__p_%'` 2478 2533 echo $ac_n "checking for string.h""... $ac_c" 1>&6 2479 echo "configure:2 480: checking for string.h" >&52534 echo "configure:2535: checking for string.h" >&5 2480 2535 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2481 2536 echo $ac_n "(cached) $ac_c" 1>&6 2482 2537 else 2483 2538 cat > conftest.$ac_ext <<EOF 2484 #line 2 485"configure"2539 #line 2540 "configure" 2485 2540 #include "confdefs.h" 2486 2541 #include <string.h> 2487 2542 EOF 2488 2543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2489 { (eval echo configure:2 490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2544 { (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2490 2545 ac_err=`grep -v '^ *+' conftest.out` 2491 2546 if test -z "$ac_err"; then … … 2511 2566 ac_safe=`echo "stddef.h" | sed 'y%./+-%__p_%'` 2512 2567 echo $ac_n "checking for stddef.h""... $ac_c" 1>&6 2513 echo "configure:25 14: checking for stddef.h" >&52568 echo "configure:2569: checking for stddef.h" >&5 2514 2569 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2515 2570 echo $ac_n "(cached) $ac_c" 1>&6 2516 2571 else 2517 2572 cat > conftest.$ac_ext <<EOF 2518 #line 25 19"configure"2573 #line 2574 "configure" 2519 2574 #include "confdefs.h" 2520 2575 #include <stddef.h> 2521 2576 EOF 2522 2577 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; }2578 { (eval echo configure:2579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2524 2579 ac_err=`grep -v '^ *+' conftest.out` 2525 2580 if test -z "$ac_err"; then … … 2545 2600 ac_safe=`echo "values.h" | sed 'y%./+-%__p_%'` 2546 2601 echo $ac_n "checking for values.h""... $ac_c" 1>&6 2547 echo "configure:2 548: checking for values.h" >&52602 echo "configure:2603: checking for values.h" >&5 2548 2603 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2549 2604 echo $ac_n "(cached) $ac_c" 1>&6 2550 2605 else 2551 2606 cat > conftest.$ac_ext <<EOF 2552 #line 2 553"configure"2607 #line 2608 "configure" 2553 2608 #include "confdefs.h" 2554 2609 #include <values.h> 2555 2610 EOF 2556 2611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2557 { (eval echo configure:2 558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2612 { (eval echo configure:2613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2558 2613 ac_err=`grep -v '^ *+' conftest.out` 2559 2614 if test -z "$ac_err"; then … … 2580 2635 ac_safe=`echo "fcntl.h" | sed 'y%./+-%__p_%'` 2581 2636 echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6 2582 echo "configure:2 583: checking for fcntl.h" >&52637 echo "configure:2638: checking for fcntl.h" >&5 2583 2638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2584 2639 echo $ac_n "(cached) $ac_c" 1>&6 2585 2640 else 2586 2641 cat > conftest.$ac_ext <<EOF 2587 #line 2 588"configure"2642 #line 2643 "configure" 2588 2643 #include "confdefs.h" 2589 2644 #include <fcntl.h> 2590 2645 EOF 2591 2646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2592 { (eval echo configure:2 593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2647 { (eval echo configure:2648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2593 2648 ac_err=`grep -v '^ *+' conftest.out` 2594 2649 if test -z "$ac_err"; then … … 2614 2669 ac_safe=`echo "sys/ioctl.h" | sed 'y%./+-%__p_%'` 2615 2670 echo $ac_n "checking for sys/ioctl.h""... $ac_c" 1>&6 2616 echo "configure:26 17: checking for sys/ioctl.h" >&52671 echo "configure:2672: checking for sys/ioctl.h" >&5 2617 2672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2618 2673 echo $ac_n "(cached) $ac_c" 1>&6 2619 2674 else 2620 2675 cat > conftest.$ac_ext <<EOF 2621 #line 26 22"configure"2676 #line 2677 "configure" 2622 2677 #include "confdefs.h" 2623 2678 #include <sys/ioctl.h> 2624 2679 EOF 2625 2680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2626 { (eval echo configure:26 27: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2681 { (eval echo configure:2682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2627 2682 ac_err=`grep -v '^ *+' conftest.out` 2628 2683 if test -z "$ac_err"; then … … 2648 2703 ac_safe=`echo "sys/param.h" | sed 'y%./+-%__p_%'` 2649 2704 echo $ac_n "checking for sys/param.h""... $ac_c" 1>&6 2650 echo "configure:2 651: checking for sys/param.h" >&52705 echo "configure:2706: checking for sys/param.h" >&5 2651 2706 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2652 2707 echo $ac_n "(cached) $ac_c" 1>&6 2653 2708 else 2654 2709 cat > conftest.$ac_ext <<EOF 2655 #line 2 656"configure"2710 #line 2711 "configure" 2656 2711 #include "confdefs.h" 2657 2712 #include <sys/param.h> 2658 2713 EOF 2659 2714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2660 { (eval echo configure:2 661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2715 { (eval echo configure:2716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2661 2716 ac_err=`grep -v '^ *+' conftest.out` 2662 2717 if test -z "$ac_err"; then … … 2682 2737 ac_safe=`echo "sys/socket.h" | sed 'y%./+-%__p_%'` 2683 2738 echo $ac_n "checking for sys/socket.h""... $ac_c" 1>&6 2684 echo "configure:2 685: checking for sys/socket.h" >&52739 echo "configure:2740: checking for sys/socket.h" >&5 2685 2740 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2686 2741 echo $ac_n "(cached) $ac_c" 1>&6 2687 2742 else 2688 2743 cat > conftest.$ac_ext <<EOF 2689 #line 2 690"configure"2744 #line 2745 "configure" 2690 2745 #include "confdefs.h" 2691 2746 #include <sys/socket.h> 2692 2747 EOF 2693 2748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2694 { (eval echo configure:2 695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2749 { (eval echo configure:2750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2695 2750 ac_err=`grep -v '^ *+' conftest.out` 2696 2751 if test -z "$ac_err"; then … … 2716 2771 ac_safe=`echo "sys/stat.h" | sed 'y%./+-%__p_%'` 2717 2772 echo $ac_n "checking for sys/stat.h""... $ac_c" 1>&6 2718 echo "configure:27 19: checking for sys/stat.h" >&52773 echo "configure:2774: checking for sys/stat.h" >&5 2719 2774 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2720 2775 echo $ac_n "(cached) $ac_c" 1>&6 2721 2776 else 2722 2777 cat > conftest.$ac_ext <<EOF 2723 #line 27 24"configure"2778 #line 2779 "configure" 2724 2779 #include "confdefs.h" 2725 2780 #include <sys/stat.h> 2726 2781 EOF 2727 2782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2728 { (eval echo configure:27 29: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2783 { (eval echo configure:2784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2729 2784 ac_err=`grep -v '^ *+' conftest.out` 2730 2785 if test -z "$ac_err"; then … … 2750 2805 ac_safe=`echo "sys/time.h" | sed 'y%./+-%__p_%'` 2751 2806 echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6 2752 echo "configure:2 753: checking for sys/time.h" >&52807 echo "configure:2808: checking for sys/time.h" >&5 2753 2808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2754 2809 echo $ac_n "(cached) $ac_c" 1>&6 2755 2810 else 2756 2811 cat > conftest.$ac_ext <<EOF 2757 #line 2 758"configure"2812 #line 2813 "configure" 2758 2813 #include "confdefs.h" 2759 2814 #include <sys/time.h> 2760 2815 EOF 2761 2816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2762 { (eval echo configure:2 763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2817 { (eval echo configure:2818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2763 2818 ac_err=`grep -v '^ *+' conftest.out` 2764 2819 if test -z "$ac_err"; then … … 2784 2839 ac_safe=`echo "sys/types.h" | sed 'y%./+-%__p_%'` 2785 2840 echo $ac_n "checking for sys/types.h""... $ac_c" 1>&6 2786 echo "configure:2 787: checking for sys/types.h" >&52841 echo "configure:2842: checking for sys/types.h" >&5 2787 2842 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2788 2843 echo $ac_n "(cached) $ac_c" 1>&6 2789 2844 else 2790 2845 cat > conftest.$ac_ext <<EOF 2791 #line 2 792"configure"2846 #line 2847 "configure" 2792 2847 #include "confdefs.h" 2793 2848 #include <sys/types.h> 2794 2849 EOF 2795 2850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2796 { (eval echo configure:2 797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2851 { (eval echo configure:2852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2797 2852 ac_err=`grep -v '^ *+' conftest.out` 2798 2853 if test -z "$ac_err"; then … … 2818 2873 ac_safe=`echo "sys/uio.h" | sed 'y%./+-%__p_%'` 2819 2874 echo $ac_n "checking for sys/uio.h""... $ac_c" 1>&6 2820 echo "configure:28 21: checking for sys/uio.h" >&52875 echo "configure:2876: checking for sys/uio.h" >&5 2821 2876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2822 2877 echo $ac_n "(cached) $ac_c" 1>&6 2823 2878 else 2824 2879 cat > conftest.$ac_ext <<EOF 2825 #line 28 26"configure"2880 #line 2881 "configure" 2826 2881 #include "confdefs.h" 2827 2882 #include <sys/uio.h> 2828 2883 EOF 2829 2884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2830 { (eval echo configure:28 31: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2885 { (eval echo configure:2886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2831 2886 ac_err=`grep -v '^ *+' conftest.out` 2832 2887 if test -z "$ac_err"; then … … 2852 2907 ac_safe=`echo "sys/un.h" | sed 'y%./+-%__p_%'` 2853 2908 echo $ac_n "checking for sys/un.h""... $ac_c" 1>&6 2854 echo "configure:2 855: checking for sys/un.h" >&52909 echo "configure:2910: checking for sys/un.h" >&5 2855 2910 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2856 2911 echo $ac_n "(cached) $ac_c" 1>&6 2857 2912 else 2858 2913 cat > conftest.$ac_ext <<EOF 2859 #line 2 860"configure"2914 #line 2915 "configure" 2860 2915 #include "confdefs.h" 2861 2916 #include <sys/un.h> 2862 2917 EOF 2863 2918 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2864 { (eval echo configure:2 865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2919 { (eval echo configure:2920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2865 2920 ac_err=`grep -v '^ *+' conftest.out` 2866 2921 if test -z "$ac_err"; then … … 2886 2941 ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'` 2887 2942 echo $ac_n "checking for unistd.h""... $ac_c" 1>&6 2888 echo "configure:2 889: checking for unistd.h" >&52943 echo "configure:2944: checking for unistd.h" >&5 2889 2944 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2890 2945 echo $ac_n "(cached) $ac_c" 1>&6 2891 2946 else 2892 2947 cat > conftest.$ac_ext <<EOF 2893 #line 2 894"configure"2948 #line 2949 "configure" 2894 2949 #include "confdefs.h" 2895 2950 #include <unistd.h> 2896 2951 EOF 2897 2952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2898 { (eval echo configure:2 899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2953 { (eval echo configure:2954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2899 2954 ac_err=`grep -v '^ *+' conftest.out` 2900 2955 if test -z "$ac_err"; then … … 2920 2975 ac_safe=`echo "math.h" | sed 'y%./+-%__p_%'` 2921 2976 echo $ac_n "checking for math.h""... $ac_c" 1>&6 2922 echo "configure:29 23: checking for math.h" >&52977 echo "configure:2978: checking for math.h" >&5 2923 2978 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2924 2979 echo $ac_n "(cached) $ac_c" 1>&6 2925 2980 else 2926 2981 cat > conftest.$ac_ext <<EOF 2927 #line 29 28"configure"2982 #line 2983 "configure" 2928 2983 #include "confdefs.h" 2929 2984 #include <math.h> 2930 2985 EOF 2931 2986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2932 { (eval echo configure:29 33: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2987 { (eval echo configure:2988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2933 2988 ac_err=`grep -v '^ *+' conftest.out` 2934 2989 if test -z "$ac_err"; then … … 2958 3013 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2959 3014 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2960 echo "configure: 2961: checking for $ac_hdr" >&53015 echo "configure:3016: checking for $ac_hdr" >&5 2961 3016 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2962 3017 echo $ac_n "(cached) $ac_c" 1>&6 2963 3018 else 2964 3019 cat > conftest.$ac_ext <<EOF 2965 #line 2966"configure"3020 #line 3021 "configure" 2966 3021 #include "confdefs.h" 2967 3022 #include <$ac_hdr> 2968 3023 EOF 2969 3024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2970 { (eval echo configure: 2971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3025 { (eval echo configure:3026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2971 3026 ac_err=`grep -v '^ *+' conftest.out` 2972 3027 if test -z "$ac_err"; then … … 2997 3052 if test "$ac_cv_header_gmp_h" = yes; then 2998 3053 cat > conftest.$ac_ext <<EOF 2999 #line 30 00"configure"3054 #line 3055 "configure" 3000 3055 #include "confdefs.h" 3001 3056 #include <gmp.h> … … 3010 3065 if test ! "$MPZ_PTR" = mpz_ptr; then 3011 3066 cat > conftest.$ac_ext <<EOF 3012 #line 30 13"configure"3067 #line 3068 "configure" 3013 3068 #include "confdefs.h" 3014 3069 #include <gmp.h> … … 3039 3094 fi 3040 3095 cat > conftest.$ac_ext <<EOF 3041 #line 30 42"configure"3096 #line 3097 "configure" 3042 3097 #include "confdefs.h" 3043 3098 #include <gmp.h> … … 3284 3339 3285 3340 echo $ac_n "checking for ulong""... $ac_c" 1>&6 3286 echo "configure:3 287: checking for ulong" >&53341 echo "configure:3342: checking for ulong" >&5 3287 3342 if eval "test \"`echo '$''{'ac_cv_type_ulong'+set}'`\" = set"; then 3288 3343 echo $ac_n "(cached) $ac_c" 1>&6 3289 3344 else 3290 3345 cat > conftest.$ac_ext <<EOF 3291 #line 3 292"configure"3346 #line 3347 "configure" 3292 3347 #include "confdefs.h" 3293 3348 #include <sys/types.h> … … 3330 3385 ac_safe=`echo "TB.h" | sed 'y%./+-%__p_%'` 3331 3386 echo $ac_n "checking for TB.h""... $ac_c" 1>&6 3332 echo "configure:33 33: checking for TB.h" >&53387 echo "configure:3388: checking for TB.h" >&5 3333 3388 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3334 3389 echo $ac_n "(cached) $ac_c" 1>&6 3335 3390 else 3336 3391 cat > conftest.$ac_ext <<EOF 3337 #line 33 38"configure"3392 #line 3393 "configure" 3338 3393 #include "confdefs.h" 3339 3394 #include <TB.h> 3340 3395 EOF 3341 3396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3342 { (eval echo configure:33 43: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3397 { (eval echo configure:3398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3343 3398 ac_err=`grep -v '^ *+' conftest.out` 3344 3399 if test -z "$ac_err"; then … … 3374 3429 ac_safe=`echo "pvm3.h" | sed 'y%./+-%__p_%'` 3375 3430 echo $ac_n "checking for pvm3.h""... $ac_c" 1>&6 3376 echo "configure:3 377: checking for pvm3.h" >&53431 echo "configure:3432: checking for pvm3.h" >&5 3377 3432 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3378 3433 echo $ac_n "(cached) $ac_c" 1>&6 3379 3434 else 3380 3435 cat > conftest.$ac_ext <<EOF 3381 #line 3 382"configure"3436 #line 3437 "configure" 3382 3437 #include "confdefs.h" 3383 3438 #include <pvm3.h> 3384 3439 EOF 3385 3440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3386 { (eval echo configure:3 387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3441 { (eval echo configure:3442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3387 3442 ac_err=`grep -v '^ *+' conftest.out` 3388 3443 if test -z "$ac_err"; then … … 3423 3478 set dummy ${with_rsh}; ac_word=$2 3424 3479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3425 echo "configure:34 26: checking for $ac_word" >&53480 echo "configure:3481: checking for $ac_word" >&5 3426 3481 if eval "test \"`echo '$''{'ac_cv_prog_with_rsh'+set}'`\" = set"; then 3427 3482 echo $ac_n "(cached) $ac_c" 1>&6 … … 3460 3515 set dummy rsh; ac_word=$2 3461 3516 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3462 echo "configure:3 463: checking for $ac_word" >&53517 echo "configure:3518: checking for $ac_word" >&5 3463 3518 if eval "test \"`echo '$''{'ac_cv_prog_mp_rsh'+set}'`\" = set"; then 3464 3519 echo $ac_n "(cached) $ac_c" 1>&6 … … 3493 3548 set dummy remsh; ac_word=$2 3494 3549 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3495 echo "configure:3 496: checking for $ac_word" >&53550 echo "configure:3551: checking for $ac_word" >&5 3496 3551 if eval "test \"`echo '$''{'ac_cv_prog_mp_remsh'+set}'`\" = set"; then 3497 3552 echo $ac_n "(cached) $ac_c" 1>&6 … … 3526 3581 set dummy ssh; ac_word=$2 3527 3582 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3528 echo "configure:35 29: checking for $ac_word" >&53583 echo "configure:3584: checking for $ac_word" >&5 3529 3584 if eval "test \"`echo '$''{'ac_cv_prog_mp_ssh'+set}'`\" = set"; then 3530 3585 echo $ac_n "(cached) $ac_c" 1>&6 … … 3557 3612 3558 3613 echo $ac_n "checking which remote shell command to use""... $ac_c" 1>&6 3559 echo "configure:3 560: checking which remote shell command to use" >&53614 echo "configure:3615: checking which remote shell command to use" >&5 3560 3615 for mp_rsh in $ac_rsh_programs; do 3561 if $mp_rsh `hostname`-n uname \>\& /dev/null; then3616 if $mp_rsh localhost -n uname \>\& /dev/null; then 3562 3617 mp_rsh_found=$mp_rsh 3563 3618 break; … … 3586 3641 ac_safe=`echo "${with_malloc}" | sed 'y%./+-%__p_%'` 3587 3642 echo $ac_n "checking for ${with_malloc}""... $ac_c" 1>&6 3588 echo "configure:3 589: checking for ${with_malloc}" >&53643 echo "configure:3644: checking for ${with_malloc}" >&5 3589 3644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3590 3645 echo $ac_n "(cached) $ac_c" 1>&6 3591 3646 else 3592 3647 cat > conftest.$ac_ext <<EOF 3593 #line 3 594"configure"3648 #line 3649 "configure" 3594 3649 #include "confdefs.h" 3595 3650 #include <${with_malloc}> 3596 3651 EOF 3597 3652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3598 { (eval echo configure:3 599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3653 { (eval echo configure:3654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3599 3654 ac_err=`grep -v '^ *+' conftest.out` 3600 3655 if test -z "$ac_err"; then … … 3620 3675 fi 3621 3676 echo $ac_n "checking where malloc rotuines come from""... $ac_c" 1>&6 3622 echo "configure:36 23: checking where malloc rotuines come from" >&53677 echo "configure:3678: checking where malloc rotuines come from" >&5 3623 3678 if test "${with_malloc+set}" = set; then 3624 3679 echo "$ac_t""${with_malloc}" 1>&6 … … 3637 3692 3638 3693 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3639 echo "configure:36 40: checking whether byte ordering is bigendian" >&53694 echo "configure:3695: checking whether byte ordering is bigendian" >&5 3640 3695 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3641 3696 echo $ac_n "(cached) $ac_c" 1>&6 … … 3644 3699 # See if sys/param.h defines the BYTE_ORDER macro. 3645 3700 cat > conftest.$ac_ext <<EOF 3646 #line 3 647"configure"3701 #line 3702 "configure" 3647 3702 #include "confdefs.h" 3648 3703 #include <sys/types.h> … … 3655 3710 ; return 0; } 3656 3711 EOF 3657 if { (eval echo configure:3 658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3712 if { (eval echo configure:3713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3658 3713 rm -rf conftest* 3659 3714 # It does; now see whether it defined to BIG_ENDIAN or not. 3660 3715 cat > conftest.$ac_ext <<EOF 3661 #line 3 662"configure"3716 #line 3717 "configure" 3662 3717 #include "confdefs.h" 3663 3718 #include <sys/types.h> … … 3670 3725 ; return 0; } 3671 3726 EOF 3672 if { (eval echo configure:3 673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3727 if { (eval echo configure:3728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3673 3728 rm -rf conftest* 3674 3729 ac_cv_c_bigendian=yes … … 3690 3745 else 3691 3746 cat > conftest.$ac_ext <<EOF 3692 #line 3 693"configure"3747 #line 3748 "configure" 3693 3748 #include "confdefs.h" 3694 3749 main () { … … 3703 3758 } 3704 3759 EOF 3705 if { (eval echo configure:37 06: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3760 if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3706 3761 then 3707 3762 ac_cv_c_bigendian=no … … 3727 3782 3728 3783 echo $ac_n "checking for working const""... $ac_c" 1>&6 3729 echo "configure:37 30: checking for working const" >&53784 echo "configure:3785: checking for working const" >&5 3730 3785 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3731 3786 echo $ac_n "(cached) $ac_c" 1>&6 3732 3787 else 3733 3788 cat > conftest.$ac_ext <<EOF 3734 #line 37 35"configure"3789 #line 3790 "configure" 3735 3790 #include "confdefs.h" 3736 3791 … … 3781 3836 ; return 0; } 3782 3837 EOF 3783 if { (eval echo configure:3 784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3838 if { (eval echo configure:3839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3784 3839 rm -rf conftest* 3785 3840 ac_cv_c_const=yes … … 3802 3857 3803 3858 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3804 echo "configure:38 05: checking for size_t" >&53859 echo "configure:3860: checking for size_t" >&5 3805 3860 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3806 3861 echo $ac_n "(cached) $ac_c" 1>&6 3807 3862 else 3808 3863 cat > conftest.$ac_ext <<EOF 3809 #line 38 10"configure"3864 #line 3865 "configure" 3810 3865 #include "confdefs.h" 3811 3866 #include <sys/types.h> … … 3835 3890 3836 3891 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3837 echo "configure:38 38: checking whether time.h and sys/time.h may both be included" >&53892 echo "configure:3893: checking whether time.h and sys/time.h may both be included" >&5 3838 3893 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 3839 3894 echo $ac_n "(cached) $ac_c" 1>&6 3840 3895 else 3841 3896 cat > conftest.$ac_ext <<EOF 3842 #line 38 43"configure"3897 #line 3898 "configure" 3843 3898 #include "confdefs.h" 3844 3899 #include <sys/types.h> … … 3849 3904 ; return 0; } 3850 3905 EOF 3851 if { (eval echo configure:3 852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3906 if { (eval echo configure:3907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3852 3907 rm -rf conftest* 3853 3908 ac_cv_header_time=yes … … 3871 3926 3872 3927 echo $ac_n "checking size of long""... $ac_c" 1>&6 3873 echo "configure:3 874: checking size of long" >&53928 echo "configure:3929: checking size of long" >&5 3874 3929 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3875 3930 echo $ac_n "(cached) $ac_c" 1>&6 … … 3879 3934 else 3880 3935 cat > conftest.$ac_ext <<EOF 3881 #line 3 882"configure"3936 #line 3937 "configure" 3882 3937 #include "confdefs.h" 3883 3938 #include <stdio.h> … … 3890 3945 } 3891 3946 EOF 3892 if { (eval echo configure:3 893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3947 if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3893 3948 then 3894 3949 ac_cv_sizeof_long=`cat conftestval` -
MP/configure.in
r136879 r89eb77 171 171 AC_SUBST(BUILD_SUBDIRS) 172 172 AC_SUBST(CONFIG_SUBDIRS) 173 AC_CHECK_FUNCS(gethostbyname) 173 174 174 175 if test "$ac_check_prog" = yes; then … … 197 198 AC_CHECK_LIB(nsl, gethostbyname) 198 199 if test "$ac_cv_lib_nsl_gethostbyname" != yes; then 199 AC_MSG_WARN(Did not find library containing gethost name)200 AC_MSG_WARN(Did not find library containing gethostbyname) 200 201 AC_MSG_WARN(Linking programs with MP might fail) 201 202 fi … … 443 444 AC_MSG_CHECKING(which remote shell command to use) 444 445 for mp_rsh in $ac_rsh_programs; do 445 if $mp_rsh `hostname`-n uname \>\& /dev/null; then446 if $mp_rsh localhost -n uname \>\& /dev/null; then 446 447 mp_rsh_found=$mp_rsh 447 448 break;
Note: See TracChangeset
for help on using the changeset viewer.