2011-08-26 00:08:17 +04:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
# University Research and Technology
|
|
|
|
# Corporation. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
# of Tennessee Research Foundation. All rights
|
|
|
|
# reserved.
|
2015-06-24 06:59:57 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2011-08-26 00:08:17 +04:00
|
|
|
# University of Stuttgart. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
|
|
|
# Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
2012-06-26 00:32:58 +04:00
|
|
|
# Copyright (c) 2008-2012 University of Houston. All rights reserved.
|
2011-08-26 00:08:17 +04:00
|
|
|
# $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2011-08-26 00:08:17 +04:00
|
|
|
# Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2011-08-26 00:08:17 +04:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-06-24 06:59:57 +03:00
|
|
|
# MCA_fs_lustre_CONFIG(action-if-can-compile,
|
2011-08-26 00:08:17 +04:00
|
|
|
# [action-if-cant-compile])
|
|
|
|
# ------------------------------------------------
|
|
|
|
AC_DEFUN([MCA_ompi_fs_lustre_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([ompi/mca/fs/lustre/Makefile])
|
|
|
|
|
|
|
|
OMPI_CHECK_LUSTRE([fs_lustre],
|
|
|
|
[fs_lustre_happy="yes"],
|
|
|
|
[fs_lustre_happy="no"])
|
|
|
|
|
|
|
|
AS_IF([test "$fs_lustre_happy" = "yes"],
|
2013-01-29 04:00:43 +04:00
|
|
|
[$1],
|
2011-08-26 00:08:17 +04:00
|
|
|
[$2])
|
|
|
|
|
2011-09-07 14:39:47 +04:00
|
|
|
# AC_CHECK_HEADERS([lustre/liblustreapi.h], [],
|
|
|
|
# [AC_CHECK_HEADERS([lustre/liblustreapi.h], [], [$2],
|
|
|
|
# [AC_INCLUDES_DEFAULT])],
|
|
|
|
# [AC_INCLUDES_DEFAULT])
|
2011-08-26 00:08:17 +04:00
|
|
|
|
|
|
|
|
|
|
|
# substitute in the things needed to build lustre
|
|
|
|
AC_SUBST([fs_lustre_CPPFLAGS])
|
|
|
|
AC_SUBST([fs_lustre_LDFLAGS])
|
|
|
|
AC_SUBST([fs_lustre_LIBS])
|
|
|
|
])dnl
|