Changeset c23f3f in git
- Timestamp:
- Jun 25, 1999, 3:17:01 PM (24 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 2cf916d8f1d7b1da77d1bd76e27297d0e8631229
- Parents:
- b1dd2f76382501948de04aff5ff223a4dddf6ce2
- Location:
- MP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
MP/MP/MP_TcpTransp.c
rb1dd2f rc23f3f 439 439 MP_Boolean_t localhost = MP_FALSE; 440 440 441 #if def HAVE_GETHOSTBYNAME441 #if defined(HAVE_GETHOSTBYNAME) && defined(RSH_CAN_LOCALHOST) 442 442 if (gethostbyname("localhost") != NULL) localhost = MP_TRUE; 443 443 #endif -
MP/MP/h/MP_Config.h.in
rb1dd2f rc23f3f 85 85 #undef HAVE_GETHOSTBYNAME 86 86 87 /* define if your rsh can do rsh localhost */ 88 #undef RSH_CAN_LOCALHOST -
MP/configure
rb1dd2f rc23f3f 3614 3614 echo "configure:3615: checking which remote shell command to use" >&5 3615 3615 for mp_rsh in $ac_rsh_programs; do 3616 if $mp_rsh localhost-n uname \>\& /dev/null; then3616 if $mp_rsh `hostname` -n uname \>\& /dev/null; then 3617 3617 mp_rsh_found=$mp_rsh 3618 3618 break; … … 3629 3629 EOF 3630 3630 3631 fi 3631 # check whether it alsow works with localhost, instead of hostname 3632 if $mp_rsh localhost -n uname >& /dev/null; then 3633 cat >> confdefs.h <<\EOF 3634 #define RSH_CAN_LOCALHOST 1 3635 EOF 3636 3637 fi 3638 fi 3639 3640 3632 3641 3633 3642 # Check whether --with-malloc or --without-malloc was given. … … 3641 3650 ac_safe=`echo "${with_malloc}" | sed 'y%./+-%__p_%'` 3642 3651 echo $ac_n "checking for ${with_malloc}""... $ac_c" 1>&6 3643 echo "configure:36 44: checking for ${with_malloc}" >&53652 echo "configure:3653: checking for ${with_malloc}" >&5 3644 3653 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3645 3654 echo $ac_n "(cached) $ac_c" 1>&6 3646 3655 else 3647 3656 cat > conftest.$ac_ext <<EOF 3648 #line 36 49"configure"3657 #line 3658 "configure" 3649 3658 #include "confdefs.h" 3650 3659 #include <${with_malloc}> 3651 3660 EOF 3652 3661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3653 { (eval echo configure:36 54: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3662 { (eval echo configure:3663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3654 3663 ac_err=`grep -v '^ *+' conftest.out` 3655 3664 if test -z "$ac_err"; then … … 3675 3684 fi 3676 3685 echo $ac_n "checking where malloc rotuines come from""... $ac_c" 1>&6 3677 echo "configure:36 78: checking where malloc rotuines come from" >&53686 echo "configure:3687: checking where malloc rotuines come from" >&5 3678 3687 if test "${with_malloc+set}" = set; then 3679 3688 echo "$ac_t""${with_malloc}" 1>&6 … … 3692 3701 3693 3702 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3694 echo "configure:3 695: checking whether byte ordering is bigendian" >&53703 echo "configure:3704: checking whether byte ordering is bigendian" >&5 3695 3704 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3696 3705 echo $ac_n "(cached) $ac_c" 1>&6 … … 3699 3708 # See if sys/param.h defines the BYTE_ORDER macro. 3700 3709 cat > conftest.$ac_ext <<EOF 3701 #line 37 02"configure"3710 #line 3711 "configure" 3702 3711 #include "confdefs.h" 3703 3712 #include <sys/types.h> … … 3710 3719 ; return 0; } 3711 3720 EOF 3712 if { (eval echo configure:37 13: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3721 if { (eval echo configure:3722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3713 3722 rm -rf conftest* 3714 3723 # It does; now see whether it defined to BIG_ENDIAN or not. 3715 3724 cat > conftest.$ac_ext <<EOF 3716 #line 37 17"configure"3725 #line 3726 "configure" 3717 3726 #include "confdefs.h" 3718 3727 #include <sys/types.h> … … 3725 3734 ; return 0; } 3726 3735 EOF 3727 if { (eval echo configure:37 28: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3736 if { (eval echo configure:3737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3728 3737 rm -rf conftest* 3729 3738 ac_cv_c_bigendian=yes … … 3745 3754 else 3746 3755 cat > conftest.$ac_ext <<EOF 3747 #line 37 48"configure"3756 #line 3757 "configure" 3748 3757 #include "confdefs.h" 3749 3758 main () { … … 3758 3767 } 3759 3768 EOF 3760 if { (eval echo configure:37 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3769 if { (eval echo configure:3770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3761 3770 then 3762 3771 ac_cv_c_bigendian=no … … 3782 3791 3783 3792 echo $ac_n "checking for working const""... $ac_c" 1>&6 3784 echo "configure:37 85: checking for working const" >&53793 echo "configure:3794: checking for working const" >&5 3785 3794 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3786 3795 echo $ac_n "(cached) $ac_c" 1>&6 3787 3796 else 3788 3797 cat > conftest.$ac_ext <<EOF 3789 #line 379 0"configure"3798 #line 3799 "configure" 3790 3799 #include "confdefs.h" 3791 3800 … … 3836 3845 ; return 0; } 3837 3846 EOF 3838 if { (eval echo configure:38 39: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3847 if { (eval echo configure:3848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3839 3848 rm -rf conftest* 3840 3849 ac_cv_c_const=yes … … 3857 3866 3858 3867 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3859 echo "configure:386 0: checking for size_t" >&53868 echo "configure:3869: checking for size_t" >&5 3860 3869 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3861 3870 echo $ac_n "(cached) $ac_c" 1>&6 3862 3871 else 3863 3872 cat > conftest.$ac_ext <<EOF 3864 #line 38 65"configure"3873 #line 3874 "configure" 3865 3874 #include "confdefs.h" 3866 3875 #include <sys/types.h> … … 3890 3899 3891 3900 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3892 echo "configure:3 893: checking whether time.h and sys/time.h may both be included" >&53901 echo "configure:3902: checking whether time.h and sys/time.h may both be included" >&5 3893 3902 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 3894 3903 echo $ac_n "(cached) $ac_c" 1>&6 3895 3904 else 3896 3905 cat > conftest.$ac_ext <<EOF 3897 #line 3 898"configure"3906 #line 3907 "configure" 3898 3907 #include "confdefs.h" 3899 3908 #include <sys/types.h> … … 3904 3913 ; return 0; } 3905 3914 EOF 3906 if { (eval echo configure:39 07: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3915 if { (eval echo configure:3916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3907 3916 rm -rf conftest* 3908 3917 ac_cv_header_time=yes … … 3926 3935 3927 3936 echo $ac_n "checking size of long""... $ac_c" 1>&6 3928 echo "configure:39 29: checking size of long" >&53937 echo "configure:3938: checking size of long" >&5 3929 3938 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3930 3939 echo $ac_n "(cached) $ac_c" 1>&6 … … 3934 3943 else 3935 3944 cat > conftest.$ac_ext <<EOF 3936 #line 39 37"configure"3945 #line 3946 "configure" 3937 3946 #include "confdefs.h" 3938 3947 #include <stdio.h> … … 3945 3954 } 3946 3955 EOF 3947 if { (eval echo configure:39 48: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3956 if { (eval echo configure:3957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3948 3957 then 3949 3958 ac_cv_sizeof_long=`cat conftestval` -
MP/configure.in
rb1dd2f rc23f3f 444 444 AC_MSG_CHECKING(which remote shell command to use) 445 445 for mp_rsh in $ac_rsh_programs; do 446 if $mp_rsh localhost -n uname \>\& /dev/null; then446 if $mp_rsh `hostname` -n uname >& /dev/null; then 447 447 mp_rsh_found=$mp_rsh 448 448 break; … … 456 456 else 457 457 AC_DEFINE_UNQUOTED(MP_RSH_COMMAND, "$mp_rsh_found") 458 fi 458 # check whether it alsow works with localhost, instead of hostname 459 if $mp_rsh localhost -n uname >& /dev/null; then 460 AC_DEFINE(RSH_CAN_LOCALHOST) 461 fi 462 fi 463 464 459 465 460 466 dnl Check for external memory managements
Note: See TracChangeset
for help on using the changeset viewer.