c42da09796
installation directories) in configure, the files that depend on this information are not properly rebuilt. If you need this information, don't setup a -D in the Makefile.am - instead, include opal/install_dirs.h. * Use the : option in AC_CONFIG_FILES to avoid needing to expose that we are playing around with temporary files with our headers to avoid rebuilding * Clean up the version file information a bit, and like the install directory stuff, make sure that there is a dependency so that ompi_info gets rebuilt properly when a version number changes. This commit was SVN r9256.
39 строки
1.3 KiB
C
39 строки
1.3 KiB
C
/*
|
|
* 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.
|
|
* 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$
|
|
*
|
|
* This file should be included by any file that needs full
|
|
* version information for the OPAL project
|
|
*/
|
|
|
|
#ifndef OPAL_VERSIONS_H
|
|
#define OPAL_VERSIONS_H
|
|
|
|
#define OPAL_MAJOR_VERSION @OPAL_MAJOR_VERSION@
|
|
#define OPAL_MINOR_VERSION @OPAL_MINOR_VERSION@
|
|
#define OPAL_RELEASE_VERSION @OPAL_RELEASE_VERSION@
|
|
#define OPAL_GREEK_VERSION "@OPAL_GREEK_VERSION@"
|
|
#define OPAL_WANT_SVN @OPAL_WANT_SVN@
|
|
#define OPAL_SVN_R "@OPAL_SVN_R@"
|
|
#ifdef OPAL_VERSION
|
|
/* If we included version.h, we want the real version, not the
|
|
stripped (no-r number) verstion */
|
|
#undef OPAL_VERSION
|
|
#endif
|
|
#define OPAL_VERSION "@OPAL_VERSION@"
|
|
|
|
#endif
|