Changeset 1321 for trunk/yat/utility


Ignore:
Timestamp:
May 23, 2008, 4:14:41 PM (13 years ago)
Author:
Peter
Message:

Basically reverting r1319. I was not happy with the macro, so create defines are now placed in version.h instead. version.h is generated by configure from version.h.in. The macro ax_prefix_config_h.m4 will be removed later.

Location:
trunk/yat/utility
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/Makefile.am

    r1292 r1321  
    4646  SVD.h TypeInfo.h utility.h Vector.h \
    4747  VectorBase.h VectorConstView.h VectorMutable.h VectorView.h \
    48   version.h WeNNI.h yat_assert.h
     48  WeNNI.h yat_assert.h
    4949
  • trunk/yat/utility/version.cc

    r1319 r1321  
    2323
    2424#include "version.h"
    25 #include "yat/yat-config.h"
    2625
    2726namespace theplu {
  • trunk/yat/utility/version.h.in

    r1317 r1321  
     1// @configure_input@
    12#ifndef _theplu_yat_utility_version_
    23#define _theplu_yat_utility_version_
     
    2930///
    3031
     32/*
     33  Compile-time version constants
     34
     35  \see http://apr.apache.org/versioning.html
     36*/
     37#define YAT_MAJOR_VERSION @YAT_MAJOR_VERSION@
     38#define YAT_MINOR_VERSION @YAT_MINOR_VERSION@
     39#define YAT_PATCH_VERSION @YAT_PATCH_VERSION@
     40#define YAT_VERSION "@VERSION@"
     41#define YAT_DEV_BUILD @YAT_DEV_BUILD@
     42
    3143#include <string>
    32 #include <stdexcept>
    33 #include <sstream>
    34 #include <utility>
    35 #include <vector>
    3644
    3745namespace theplu {
Note: See TracChangeset for help on using the changeset viewer.