Changeset 64f401 in git for MP


Ignore:
Timestamp:
Dec 15, 1999, 11:34:01 PM (24 years ago)
Author:
Gert-Martin Greuel <greuel@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
356203b9624ca331ce07a4ee25e0f527d1010f4f
Parents:
f7487a4aade581419eb35a69b7953359bd758c08
Message:
* better tests for rsh


git-svn-id: file:///usr/local/Singular/svn/trunk@4035 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
MP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MP/configure

    rf7487a r64f401  
    36143614echo "configure:3615: checking which remote shell command to use" >&5
    36153615for mp_rsh in $ac_rsh_programs; do
    3616     if $mp_rsh `hostname` -n uname \>\& /dev/null; then
     3616    if $mp_rsh `hostname` -n uname >& /dev/null; then
     3617      mp_rsh_found=$mp_rsh
     3618      break;
     3619    elif $mp_rsh localhost -n uname >& /dev/null; then
    36173620      mp_rsh_found=$mp_rsh
    36183621      break;
     
    36503653  ac_safe=`echo "${with_malloc}" | sed 'y%./+-%__p_%'`
    36513654echo $ac_n "checking for ${with_malloc}""... $ac_c" 1>&6
    3652 echo "configure:3653: checking for ${with_malloc}" >&5
     3655echo "configure:3656: checking for ${with_malloc}" >&5
    36533656if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    36543657  echo $ac_n "(cached) $ac_c" 1>&6
    36553658else
    36563659  cat > conftest.$ac_ext <<EOF
    3657 #line 3658 "configure"
     3660#line 3661 "configure"
    36583661#include "confdefs.h"
    36593662#include <${with_malloc}>
    36603663EOF
    36613664ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3662 { (eval echo configure:3663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3665{ (eval echo configure:3666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    36633666ac_err=`grep -v '^ *+' conftest.out`
    36643667if test -z "$ac_err"; then
     
    36843687fi
    36853688echo $ac_n "checking where malloc rotuines come from""... $ac_c" 1>&6
    3686 echo "configure:3687: checking where malloc rotuines come from" >&5
     3689echo "configure:3690: checking where malloc rotuines come from" >&5
    36873690if test "${with_malloc+set}" = set; then
    36883691  echo "$ac_t""${with_malloc}" 1>&6
     
    37013704
    37023705echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3703 echo "configure:3704: checking whether byte ordering is bigendian" >&5
     3706echo "configure:3707: checking whether byte ordering is bigendian" >&5
    37043707if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    37053708  echo $ac_n "(cached) $ac_c" 1>&6
     
    37083711# See if sys/param.h defines the BYTE_ORDER macro.
    37093712cat > conftest.$ac_ext <<EOF
    3710 #line 3711 "configure"
     3713#line 3714 "configure"
    37113714#include "confdefs.h"
    37123715#include <sys/types.h>
     
    37193722; return 0; }
    37203723EOF
    3721 if { (eval echo configure:3722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3724if { (eval echo configure:3725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    37223725  rm -rf conftest*
    37233726  # It does; now see whether it defined to BIG_ENDIAN or not.
    37243727cat > conftest.$ac_ext <<EOF
    3725 #line 3726 "configure"
     3728#line 3729 "configure"
    37263729#include "confdefs.h"
    37273730#include <sys/types.h>
     
    37343737; return 0; }
    37353738EOF
    3736 if { (eval echo configure:3737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3739if { (eval echo configure:3740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    37373740  rm -rf conftest*
    37383741  ac_cv_c_bigendian=yes
     
    37543757else
    37553758  cat > conftest.$ac_ext <<EOF
    3756 #line 3757 "configure"
     3759#line 3760 "configure"
    37573760#include "confdefs.h"
    37583761main () {
     
    37673770}
    37683771EOF
    3769 if { (eval echo configure:3770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3772if { (eval echo configure:3773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    37703773then
    37713774  ac_cv_c_bigendian=no
     
    37913794
    37923795echo $ac_n "checking for working const""... $ac_c" 1>&6
    3793 echo "configure:3794: checking for working const" >&5
     3796echo "configure:3797: checking for working const" >&5
    37943797if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    37953798  echo $ac_n "(cached) $ac_c" 1>&6
    37963799else
    37973800  cat > conftest.$ac_ext <<EOF
    3798 #line 3799 "configure"
     3801#line 3802 "configure"
    37993802#include "confdefs.h"
    38003803
     
    38453848; return 0; }
    38463849EOF
    3847 if { (eval echo configure:3848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3850if { (eval echo configure:3851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    38483851  rm -rf conftest*
    38493852  ac_cv_c_const=yes
     
    38663869
    38673870echo $ac_n "checking for size_t""... $ac_c" 1>&6
    3868 echo "configure:3869: checking for size_t" >&5
     3871echo "configure:3872: checking for size_t" >&5
    38693872if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    38703873  echo $ac_n "(cached) $ac_c" 1>&6
    38713874else
    38723875  cat > conftest.$ac_ext <<EOF
    3873 #line 3874 "configure"
     3876#line 3877 "configure"
    38743877#include "confdefs.h"
    38753878#include <sys/types.h>
     
    38993902
    39003903echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    3901 echo "configure:3902: checking whether time.h and sys/time.h may both be included" >&5
     3904echo "configure:3905: checking whether time.h and sys/time.h may both be included" >&5
    39023905if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    39033906  echo $ac_n "(cached) $ac_c" 1>&6
    39043907else
    39053908  cat > conftest.$ac_ext <<EOF
    3906 #line 3907 "configure"
     3909#line 3910 "configure"
    39073910#include "confdefs.h"
    39083911#include <sys/types.h>
     
    39133916; return 0; }
    39143917EOF
    3915 if { (eval echo configure:3916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3918if { (eval echo configure:3919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    39163919  rm -rf conftest*
    39173920  ac_cv_header_time=yes
     
    39353938
    39363939echo $ac_n "checking size of long""... $ac_c" 1>&6
    3937 echo "configure:3938: checking size of long" >&5
     3940echo "configure:3941: checking size of long" >&5
    39383941if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    39393942  echo $ac_n "(cached) $ac_c" 1>&6
     
    39433946else
    39443947  cat > conftest.$ac_ext <<EOF
    3945 #line 3946 "configure"
     3948#line 3949 "configure"
    39463949#include "confdefs.h"
    39473950#include <stdio.h>
     
    39543957}
    39553958EOF
    3956 if { (eval echo configure:3957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3959if { (eval echo configure:3960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    39573960then
    39583961  ac_cv_sizeof_long=`cat conftestval`
  • MP/configure.in

    rf7487a r64f401  
    444444AC_MSG_CHECKING(which remote shell command to use)
    445445for mp_rsh in $ac_rsh_programs; do
    446     if $mp_rsh `hostname` -n uname \>\& /dev/null; then
     446    if $mp_rsh `hostname` -n uname >& /dev/null; then
     447      mp_rsh_found=$mp_rsh
     448      break;
     449    elif $mp_rsh localhost -n uname >& /dev/null; then
    447450      mp_rsh_found=$mp_rsh
    448451      break;
     
    457460  AC_DEFINE_UNQUOTED(MP_RSH_COMMAND, "$mp_rsh_found")
    458461   # check whether it alsow works with localhost, instead of hostname
    459    if $mp_rsh localhost -n uname  \>\& /dev/null; then
     462   if $mp_rsh localhost -n uname  >& /dev/null; then
    460463     AC_DEFINE(RSH_CAN_LOCALHOST)
    461464   fi
Note: See TracChangeset for help on using the changeset viewer.