#! /bin/sh # # Copyright (c) 2004-2006 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. # 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$ # # Do a little error checking if test ! -r "$1/fortran_kinds.sh"; then echo "ERROR: Cannot find $1/fortran_kinds.sh" exit 1 elif test ! -s "$1/fortran_kinds.sh"; then echo "ERROR: $1/fortran_kinds.sh appears to be empty!" exit 1 fi # Read the setup information . "$1/fortran_kinds.sh" # Output generation configuration information # Do we want the 2 buffer functions? (see comment in # ompi/mpi/f90/Makefile.am) WANT_2BUFFER_FUNCTIONS=$2 if test "$WANT_2BUFFER_FUNCTIONS" = "1"; then want_2buf=yes else want_2buf=no fi cat >&2 <&2