1
1
openmpi/orte/mca/pls/xgrid/configure.stub
Jeff Squyres 1b18979f79 Initial population of orte tree
This commit was SVN r6266.
2005-07-02 13:42:54 +00:00

39 строки
1.0 KiB
Bash

# -*- shell-script -*-
#
# Copyright (c) 2004-2005 The Trustees of Indiana University.
# All rights reserved.
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
# All rights reserved.
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
sinclude(ompi_objc.m4)
AC_DEFUN([MCA_CONFIGURE_STUB],[
AC_PROG_OBJC
AC_MSG_CHECKING([For XGridFoundation framework])
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -framework XGridFoundation"
AC_TRY_LINK([],[;],[HAPPY="yes"],[HAPPY="no"])
CFLAGS="$save_CFLAGS"
AC_MSG_RESULT([$HAPPY])
if test "$HAPPY" = "no" ; then
AC_MSG_ERROR([*** Can not build xgrid pls])
fi
OBJCFLAGS="-F XGridFoundation"
LDFLAGS="-framework XGridFoundation -framework Foundation"
])dnl