1
1
openmpi/config/cmpi_functions.m4
Jeff Squyres 350564b9f3 First commit
This commit was SVN r1.
2003-11-22 16:36:58 +00:00

50 строки
1.1 KiB
Bash

dnl -*- shell-script -*-
dnl
dnl Copyright (c) 2003 The Trustees of Indiana University.
dnl All rights reserved.
dnl
dnl This file is part of the CMPI software package. For license
dnl information, see the LICENSE file in the top level directory of the
dnl CMPI source distribution.
dnl
dnl $Id: cmpi_functions.m4,v 1.1 2003/11/22 16:36:20 jsquyres Exp $
dnl
AC_DEFUN(CMPI_CONFIGURE_SETUP,[
# Some helper script functions. Unfortunately, we cannot use $1 kinds
# of arugments here because of the m4 substitution. So we have to set
# special variable names before invoking the function. :-\
cmpi_show_title() {
cat <<EOF
============================================================================
== ${1}
============================================================================
EOF
}
cmpi_show_subtitle() {
cat <<EOF
*** ${1}
EOF
}
#
# Save some stats about this build
#
CMPI_CONFIGURE_USER="`whoami`"
CMPI_CONFIGURE_HOST="`hostname | head -n 1`"
CMPI_CONFIGURE_DATE="`date`"
#
# Make automake clean emacs ~ files for "make clean"
#
CLEANFILES="*~ .\#*"
AC_SUBST(CLEANFILES)])dnl