1
1

* Don't try to call tcgetprgp on platforms that don't have that function

* Some more stuff to ignore / do in Red Storm build

This commit was SVN r9511.
Этот коммит содержится в:
Brian Barrett 2006-04-01 05:46:15 +00:00
родитель 2c64ab562e
Коммит 4ea8790342
3 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -699,7 +699,7 @@ OMPI_CHECK_FUNC_LIB([dirname], [gen])
# Darwin doesn't need -lm, as it's a symlink to libSystem.dylib # Darwin doesn't need -lm, as it's a symlink to libSystem.dylib
OMPI_CHECK_FUNC_LIB([ceil], [m]) OMPI_CHECK_FUNC_LIB([ceil], [m])
AC_CHECK_FUNCS([asprintf snprintf vasprintf vsnprintf openpty isatty htonl ntohl htons ntohs getpwuid fork waitpid execve pipe ptsname setsid mmap mallopt]) AC_CHECK_FUNCS([asprintf snprintf vasprintf vsnprintf openpty isatty htonl ntohl htons ntohs getpwuid fork waitpid execve pipe ptsname setsid mmap mallopt tcgetpgrp])
# #
# Make sure we can copy va_lists (need check declared, not linkable) # Make sure we can copy va_lists (need check declared, not linkable)

Просмотреть файл

@ -1,4 +1,4 @@
enable_f77=no enable_mpi_f77=no
enable_io_romio=no enable_io_romio=no
enable_static=yes enable_static=yes
enable_shared=no enable_shared=no
@ -7,6 +7,9 @@ enable_pretty_print_stacktrace=no
enable_dlopen=no enable_dlopen=no
with_portals_config=redstorm with_portals_config=redstorm
with_memory_manager=none with_memory_manager=none
enable_mca_no_build=maffinity-first_use,maffinity-libnuma,paffinity-linux,timer-linux,gpr-proxy,gpr-replica,pml-teg,pml-uniq,rml-oob,btl-sm,mpool-sm,btl-self,ptl-sm,ptl-self,ns-proxy,rds-resfile,sds-env,sds-seed,sds-singleton,ras-slurm,pls-slurm,pls-rsh enable_mca_no_build=maffinity-first_use,maffinity-libnuma,paffinity-linux,timer-linux,gpr-proxy,gpr-replica,iof-svc,ns-proxy,oob-tcp,pls-rsh,ras-dash_host,ras-localhost,rds-hostfile,rds-resfile,rmaps-round_robin,rmgr-proxy,rmgr-urm,rml-oob,sds-env,sds-seed,sds-singleton,btl-sm,btl-self,coll-hierarch,coll-sm,common-sm,mpool-sm,pml-dr,pml-portals
with_memory_manager=no
enable_heterogeneous=no enable_heterogeneous=no
enable_pty_support=no
enable_mem_debug=no
enable_mem_profile=no
with_slurm=no

Просмотреть файл

@ -230,7 +230,7 @@ static void orte_iof_base_endpoint_write_handler(int sd, short flags, void *user
/* return true if we should read stdin from fd, false otherwise */ /* return true if we should read stdin from fd, false otherwise */
static bool orte_iof_base_endpoint_stdin_check(int fd) static bool orte_iof_base_endpoint_stdin_check(int fd)
{ {
#if !defined(__WINDOWS__) #if !defined(__WINDOWS__) && defined(HAVE_TCGETPGRP)
if( isatty(fd) && (getpgrp() != tcgetpgrp(fd)) ) { if( isatty(fd) && (getpgrp() != tcgetpgrp(fd)) ) {
return false; return false;
} }