1# -*- shell-script -*- 2# 3# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4# University Research and Technology 5# Corporation. All rights reserved. 6# Copyright (c) 2004-2005 The University of Tennessee and The University 7# of Tennessee Research Foundation. All rights 8# reserved. 9# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10# University of Stuttgart. All rights reserved. 11# Copyright (c) 2004-2005 The Regents of the University of California. 12# All rights reserved. 13# Copyright (c) 2010-2016 Cisco Systems, Inc. All rights reserved. 14# Copyright (c) 2016 Los Alamos National Security, LLC. All rights 15# reserved. 16# $COPYRIGHT$ 17# 18# Additional copyrights may follow 19# 20# $HEADER$ 21# 22 23# MCA_btl_tcp_CONFIG([action-if-found], [action-if-not-found]) 24# ----------------------------------------------------------- 25AC_DEFUN([MCA_opal_btl_tcp_CONFIG],[ 26 AC_CONFIG_FILES([opal/mca/btl/tcp/Makefile]) 27 28 # check for sockaddr_in (a good sign we have TCP) 29 AC_CHECK_TYPES([struct sockaddr_in], 30 [opal_btl_tcp_happy=yes 31 $1], 32 [opal_btl_tcp_happy=no 33 $2], 34 [AC_INCLUDES_DEFAULT 35#ifdef HAVE_NETINET_IN_H 36#include <netinet/in.h> 37#endif 38 ]) 39 OPAL_SUMMARY_ADD([[Transports]],[[TCP]],[[btl_tcp]],[$opal_btl_tcp_happy]) 40])dnl 41