Commit aef629c3 authored by Adam Mercer's avatar Adam Mercer
Browse files

store all version fields in config headers

Original: e3e81614413fa07fe8c1f4492f3f7c251edb9b00
parent 3649d062
......@@ -44,8 +44,22 @@ AC_PREFIX_DEFAULT([/opt/lscsoft/lalburst])
LALSUITE_ENABLE_NIGHTLY
# put version/configure info in config header
lalburst_version_major=`echo "$VERSION" | cut -d. -f1`
lalburst_version_minor=`echo "$VERSION" | cut -d. -f2`
lalburst_version_micro=`echo "$VERSION" | cut -d. -f3`
lalburst_version_devel=`echo "$VERSION" | cut -d. -f4-`
test -z "$lalburst_version_micro" && lalburst_version_micro=0
test -z "$lalburst_version_devel" && lalburst_version_devel=0
lalburst_configure_date=`date +"%Y-%m-%dT%H:%M:%S%z"`
AC_DEFINE_UNQUOTED([LALBURST_VERSION],["$VERSION"],[LALBurst Version])
AC_DEFINE_UNQUOTED([LALBURST_VERSION_MAJOR],[$lalburst_version_major],
[LALBurst Version Major Number])
AC_DEFINE_UNQUOTED([LALBURST_VERSION_MINOR],[$lalburst_version_minor],
[LALBurst Version Minor Number])
AC_DEFINE_UNQUOTED([LALBURST_VERSION_MICRO],[$lalburst_version_micro],
[LALBurst Version Micro Number])
AC_DEFINE_UNQUOTED([LALBURST_VERSION_DEVEL],[$lalburst_version_devel],
[LALBurst Version Devel Number])
AC_DEFINE_UNQUOTED([LALBURST_CONFIGURE_ARGS],["$ac_configure_args"],
[LALBurst Configure Arguments])
AC_DEFINE_UNQUOTED([LALBURST_CONFIGURE_DATE],["$lalburst_configure_date"],
......
......@@ -6,6 +6,18 @@
/* LALBurst Version */
#undef LALBURST_VERSION
/* LALBurst Version Major Number */
#undef LALBURST_VERSION_MAJOR
/* LALBurst Version Minor Number */
#undef LALBURST_VERSION_MINOR
/* LALBurst Version Micro Number */
#undef LALBURST_VERSION_MICRO
/* LALBurst Version Devel Number */
#undef LALBURST_VERSION_DEVEL
/* LALBurst Configure Arguments */
#undef LALBURST_CONFIGURE_ARGS
......
......@@ -44,8 +44,22 @@ AC_PREFIX_DEFAULT([/opt/lscsoft/lalframe])
LALSUITE_ENABLE_NIGHTLY
# put version/configure info in config header
lalframe_version_major=`echo "$VERSION" | cut -d. -f1`
lalframe_version_minor=`echo "$VERSION" | cut -d. -f2`
lalframe_version_micro=`echo "$VERSION" | cut -d. -f3`
lalframe_version_devel=`echo "$VERSION" | cut -d. -f4-`
test -z "$lalframe_version_micro" && lalframe_version_micro=0
test -z "$lalframe_version_devel" && lalframe_version_devel=0
lalframe_configure_date=`date +"%Y-%m-%dT%H:%M:%S%z"`
AC_DEFINE_UNQUOTED([LALFRAME_VERSION],["$VERSION"],[LALFrame Version])
AC_DEFINE_UNQUOTED([LALFRAME_VERSION_MAJOR],[$lalframe_version_major],
[LALFrame Version Major Number])
AC_DEFINE_UNQUOTED([LALFRAME_VERSION_MINOR],[$lalframe_version_minor],
[LALFrame Version Minor Number])
AC_DEFINE_UNQUOTED([LALFRAME_VERSION_MICRO],[$lalframe_version_micro],
[LALFrame Version Micro Number])
AC_DEFINE_UNQUOTED([LALFRAME_VERSION_DEVEL],[$lalframe_version_devel],
[LALFrame Version Devel Number])
AC_DEFINE_UNQUOTED([LALFRAME_CONFIGURE_ARGS],["$ac_configure_args"],
[LALFrame Configure Arguments])
AC_DEFINE_UNQUOTED([LALFRAME_CONFIGURE_DATE],["$lalframe_configure_date"],
......
......@@ -6,6 +6,18 @@
/* LALFrame Version */
#undef LALFRAME_VERSION
/* LALFrame Version Major Number */
#undef LALFRAME_VERSION_MAJOR
/* LALFrame Version Minor Number */
#undef LALFRAME_VERSION_MINOR
/* LALFrame Version Micro Number */
#undef LALFRAME_VERSION_MICRO
/* LALFrame Version Devel Number */
#undef LALFRAME_VERSION_DEVEL
/* LALFrame Configure Arguments */
#undef LALFRAME_CONFIGURE_ARGS
......
......@@ -44,8 +44,22 @@ AC_PREFIX_DEFAULT([/opt/lscsoft/lalinspiral])
LALSUITE_ENABLE_NIGHTLY
# put version/configure info in config header
lalinspiral_version_major=`echo "$VERSION" | cut -d. -f1`
lalinspiral_version_minor=`echo "$VERSION" | cut -d. -f2`
lalinspiral_version_micro=`echo "$VERSION" | cut -d. -f3`
lalinspiral_version_devel=`echo "$VERSION" | cut -d. -f4-`
test -z "$lalinspiral_version_micro" && lalinspiral_version_micro=0
test -z "$lalinspiral_version_devel" && lalinspiral_version_devel=0
lalinspiral_configure_date=`date +"%Y-%m-%dT%H:%M:%S%z"`
AC_DEFINE_UNQUOTED([LALINSPIRAL_VERSION],["$VERSION"],[LALInspiral Version])
AC_DEFINE_UNQUOTED([LALINSPIRAL_VERSION_MAJOR],[$lalinspiral_version_major],
[LALInspiral Version Major Number])
AC_DEFINE_UNQUOTED([LALINSPIRAL_VERSION_MINOR],[$lalinspiral_version_minor],
[LALInspiral Version Minor Number])
AC_DEFINE_UNQUOTED([LALINSPIRAL_VERSION_MICRO],[$lalinspiral_version_micro],
[LALInspiral Version Micro Number])
AC_DEFINE_UNQUOTED([LALINSPIRAL_VERSION_DEVEL],[$lalinspiral_version_devel],
[LALInspiral Version Devel Number])
AC_DEFINE_UNQUOTED([LALINSPIRAL_CONFIGURE_ARGS],["$ac_configure_args"],
[LALInspiral Configure Arguments])
AC_DEFINE_UNQUOTED([LALINSPIRAL_CONFIGURE_DATE],["$lalinspiral_configure_date"],
......
......@@ -6,6 +6,18 @@
/* LALInspiral Version */
#undef LALINSPIRAL_VERSION
/* LALInspiral Version Major Number */
#undef LALINSPIRAL_VERSION_MAJOR
/* LALInspiral Version Minor Number */
#undef LALINSPIRAL_VERSION_MINOR
/* LALInspiral Version Micro Number */
#undef LALINSPIRAL_VERSION_MICRO
/* LALInspiral Version Devel Number */
#undef LALINSPIRAL_VERSION_DEVEL
/* LALInspiral Configure Arguments */
#undef LALINSPIRAL_CONFIGURE_ARGS
......
......@@ -43,8 +43,22 @@ AC_PREFIX_DEFAULT([/opt/lscsoft/lalmetaio])
LALSUITE_ENABLE_NIGHTLY
# put version/configure info in config header
lalmetaio_version_major=`echo "$VERSION" | cut -d. -f1`
lalmetaio_version_minor=`echo "$VERSION" | cut -d. -f2`
lalmetaio_version_micro=`echo "$VERSION" | cut -d. -f3`
lalmetaio_version_devel=`echo "$VERSION" | cut -d. -f4-`
test -z "$lalmetaio_version_micro" && lalmetaio_version_micro=0
test -z "$lalmetaio_version_devel" && lalmetaio_version_devel=0
lalmetaio_configure_date=`date +"%Y-%m-%dT%H:%M:%S%z"`
AC_DEFINE_UNQUOTED([LALMETAIO_VERSION],["$VERSION"],[LALMetaIO Version])
AC_DEFINE_UNQUOTED([LALMETAIO_VERSION_MAJOR],[$lalmetaio_version_major],
[LALMetaIO Version Major Number])
AC_DEFINE_UNQUOTED([LALMETAIO_VERSION_MINOR],[$lalmetaio_version_minor],
[LALMetaIO Version Minor Number])
AC_DEFINE_UNQUOTED([LALMETAIO_VERSION_MICRO],[$lalmetaio_version_micro],
[LALMetaIO Version Micro Number])
AC_DEFINE_UNQUOTED([LALMETAIO_VERSION_DEVEL],[$lalmetaio_version_devel],
[LALMetaIO Version Devel Number])
AC_DEFINE_UNQUOTED([LALMETAIO_CONFIGURE_ARGS],["$ac_configure_args"],
[LALMetaIO Configure Arguments])
AC_DEFINE_UNQUOTED([LALMETAIO_CONFIGURE_DATE],["$lalmetaio_configure_date"],
......
......@@ -3,9 +3,21 @@
#ifndef _LALMETAIOCONFIG_H
#define _LALMETAIOCONFIG_H
/* LALMETAIO Version */
/* LALMetaIO Version */
#undef LALMETAIO_VERSION
/* LALMetaIO Version Major Number */
#undef LALMETAIO_VERSION_MAJOR
/* LALMetaIO Version Minor Number */
#undef LALMETAIO_VERSION_MINOR
/* LALMetaIO Version Micro Number */
#undef LALMETAIO_VERSION_MICRO
/* LALMetaIO Version Devel Number */
#undef LALMETAIO_VERSION_DEVEL
/* LALMetaIO Configure Arguments */
#undef LALMETAIO_CONFIGURE_ARGS
......
......@@ -44,8 +44,22 @@ AC_PREFIX_DEFAULT([/opt/lscsoft/lalpulsar])
LALSUITE_ENABLE_NIGHTLY
# put version/configure info in config header
lalpulsar_version_major=`echo "$VERSION" | cut -d. -f1`
lalpulsar_version_minor=`echo "$VERSION" | cut -d. -f2`
lalpulsar_version_micro=`echo "$VERSION" | cut -d. -f3`
lalpulsar_version_devel=`echo "$VERSION" | cut -d. -f4-`
test -z "$lalpulsar_version_micro" && lalpulsar_version_micro=0
test -z "$lalpulsar_version_devel" && lalpulsar_version_devel=0
lalpulsar_configure_date=`date +"%Y-%m-%dT%H:%M:%S%z"`
AC_DEFINE_UNQUOTED([LALPULSAR_VERSION],["$VERSION"],[LALPulsar Version])
AC_DEFINE_UNQUOTED([LALPULSAR_VERSION_MAJOR],[$lalpulsar_version_major],
[LALPulsar Version Major Number])
AC_DEFINE_UNQUOTED([LALPULSAR_VERSION_MINOR],[$lalpulsar_version_minor],
[LALPulsar Version Minor Number])
AC_DEFINE_UNQUOTED([LALPULSAR_VERSION_MICRO],[$lalpulsar_version_micro],
[LALPulsar Version Micro Number])
AC_DEFINE_UNQUOTED([LALPULSAR_VERSION_DEVEL],[$lalpulsar_version_devel],
[LALPulsar Version Devel Number])
AC_DEFINE_UNQUOTED([LALPULSAR_CONFIGURE_ARGS],["$ac_configure_args"],
[LALPulsar Configure Arguments])
AC_DEFINE_UNQUOTED([LALPULSAR_CONFIGURE_DATE],["$lalpulsar_configure_date"],
......
......@@ -6,6 +6,18 @@
/* LALPulsar Version */
#undef LALPULSAR_VERSION
/* LALPulsar Version Major Number */
#undef LALPULSAR_VERSION_MAJOR
/* LALPulsar Version Minor Number */
#undef LALPULSAR_VERSION_MINOR
/* LALPulsar Version Micro Number */
#undef LALPULSAR_VERSION_MICRO
/* LALPulsar Version Devel Number */
#undef LALPULSAR_VERSION_DEVEL
/* LALPulsar Configure Arguments */
#undef LALPULSAR_CONFIGURE_ARGS
......
......@@ -44,8 +44,22 @@ AC_PREFIX_DEFAULT([/opt/lscsoft/lalstochastic])
LALSUITE_ENABLE_NIGHTLY
# put version/configure info in config header
lalstochastic_version_major=`echo "$VERSION" | cut -d. -f1`
lalstochastic_version_minor=`echo "$VERSION" | cut -d. -f2`
lalstochastic_version_micro=`echo "$VERSION" | cut -d. -f3`
lalstochastic_version_devel=`echo "$VERSION" | cut -d. -f4-`
test -z "$lalstochastic_version_micro" && lalstochastic_version_micro=0
test -z "$lalstochastic_version_devel" && lalstochastic_version_devel=0
lalstochastic_configure_date=`date +"%Y-%m-%dT%H:%M:%S%z"`
AC_DEFINE_UNQUOTED([LALSTOCHASTIC_VERSION],["$VERSION"],[LALStochastic Version])
AC_DEFINE_UNQUOTED([LALSTOCHASTIC_VERSION_MAJOR],[$lalstochastic_version_major],
[LALStochastic Version Major Number])
AC_DEFINE_UNQUOTED([LALSTOCHASTIC_VERSION_MINOR],[$lalstochastic_version_minor],
[LALStochastic Version Minor Number])
AC_DEFINE_UNQUOTED([LALSTOCHASTIC_VERSION_MICRO],[$lalstochastic_version_micro],
[LALStochastic Version Micro Number])
AC_DEFINE_UNQUOTED([LALSTOCHASTIC_VERSION_DEVEL],[$lalstochastic_version_devel],
[LALStochastic Version Devel Number])
AC_DEFINE_UNQUOTED([LALSTOCHASTIC_CONFIGURE_ARGS],["$ac_configure_args"],
[LALStochastic Configure Arguments])
AC_DEFINE_UNQUOTED([LALSTOCHASTIC_CONFIGURE_DATE],["$lalstochastic_configure_date"],
......
......@@ -6,6 +6,18 @@
/* LALStochastic Version */
#undef LALSTOCHASTIC_VERSION
/* LALStochastic Version Major Number */
#undef LALSTOCHASTIC_VERSION_MAJOR
/* LALStochastic Version Minor Number */
#undef LALSTOCHASTIC_VERSION_MINOR
/* LALStochastic Version Micro Number */
#undef LALSTOCHASTIC_VERSION_MICRO
/* LALStochastic Version Devel Number */
#undef LALSTOCHASTIC_VERSION_DEVEL
/* LALStochastic Configure Arguments */
#undef LALSTOCHASTIC_CONFIGURE_ARGS
......
......@@ -44,8 +44,22 @@ AC_PREFIX_DEFAULT([/opt/lscsoft/lalxml])
LALSUITE_ENABLE_NIGHTLY
# put version/configure info in config header
lalxml_version_major=`echo "$VERSION" | cut -d. -f1`
lalxml_version_minor=`echo "$VERSION" | cut -d. -f2`
lalxml_version_micro=`echo "$VERSION" | cut -d. -f3`
lalxml_version_devel=`echo "$VERSION" | cut -d. -f4-`
test -z "$lalxml_version_micro" && lalxml_version_micro=0
test -z "$lalxml_version_devel" && lalxml_version_devel=0
lalxml_configure_date=`date +"%Y-%m-%dT%H:%M:%S%z"`
AC_DEFINE_UNQUOTED([LALXML_VERSION],["$VERSION"],[LALXML Version])
AC_DEFINE_UNQUOTED([LALXML_VERSION_MAJOR],[$lalxml_version_major],
[LALXML Version Major Number])
AC_DEFINE_UNQUOTED([LALXML_VERSION_MINOR],[$lalxml_version_minor],
[LALXML Version Minor Number])
AC_DEFINE_UNQUOTED([LALXML_VERSION_MICRO],[$lalxml_version_micro],
[LALXML Version Micro Number])
AC_DEFINE_UNQUOTED([LALXML_VERSION_DEVEL],[$lalxml_version_devel],
[LALXML Version Devel Number])
AC_DEFINE_UNQUOTED([LALXML_CONFIGURE_ARGS],["$ac_configure_args"],
[LALXML Configure Arguments])
AC_DEFINE_UNQUOTED([LALXML_CONFIGURE_DATE],["$lalxml_configure_date"],
......
......@@ -6,6 +6,18 @@
/* LALXML Version */
#undef LALXML_VERSION
/* LALXML Version Major Number */
#undef LALXML_VERSION_MAJOR
/* LALXML Version Minor Number */
#undef LALXML_VERSION_MINOR
/* LALXML Version Micro Number */
#undef LALXML_VERSION_MICRO
/* LALXML Version Devel Number */
#undef LALXML_VERSION_DEVEL
/* LALXML Configure Arguments */
#undef LALXML_CONFIGURE_ARGS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment