From bb9629f07768ad71acd536087cb40ff1299c30b7 Mon Sep 17 00:00:00 2001
From: Kipp Cannon <kipp.cannon@ligo.org>
Date: Mon, 27 Jan 2014 19:12:46 -0500
Subject: [PATCH] configure.ac:  split GSTLAL_VERSION into major, minor, point
 components

this is working towards placing the documentation in directories that don't
include the point release
---
 gstlal-calibration/configure.ac | 4 ++++
 gstlal-inspiral/configure.ac    | 4 ++++
 gstlal-ugly/configure.ac        | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/gstlal-calibration/configure.ac b/gstlal-calibration/configure.ac
index 95ff05d7f6..c63e147b48 100644
--- a/gstlal-calibration/configure.ac
+++ b/gstlal-calibration/configure.ac
@@ -243,6 +243,10 @@ AX_PYTHON_PYLAL()
 AC_SUBST([MIN_GSTLAL_VERSION], [0.7.0])
 PKG_CHECK_MODULES([GSTLAL], [gstlal >= ${MIN_GSTLAL_VERSION}])
 AC_SUBST([GSTLAL_VERSION], [`$PKG_CONFIG --modversion gstlal`])
+AX_GSTLAL_SPLIT_VERSION([GSTLAL_VERSION])
+AC_SUBST([GSTLAL_VERSION_MAJOR])
+AC_SUBST([GSTLAL_VERSION_MINOR])
+AC_SUBST([GSTLAL_VERSION_POINT])
 AC_SUBST([GSTLAL_CFLAGS])
 AC_SUBST([GSTLAL_LIBS])
 
diff --git a/gstlal-inspiral/configure.ac b/gstlal-inspiral/configure.ac
index ece28580db..264d18d36f 100644
--- a/gstlal-inspiral/configure.ac
+++ b/gstlal-inspiral/configure.ac
@@ -267,6 +267,10 @@ AC_SUBST([MIN_GSTLAL_VERSION], [0.7.0])
 AC_SUBST([MIN_GSTLALUGLY_VERSION], [0.6.0])
 PKG_CHECK_MODULES([GSTLAL], [gstlal >= ${MIN_GSTLAL_VERSION}])
 AC_SUBST([GSTLAL_VERSION], [`$PKG_CONFIG --modversion gstlal`])
+AX_GSTLAL_SPLIT_VERSION([GSTLAL_VERSION])
+AC_SUBST([GSTLAL_VERSION_MAJOR])
+AC_SUBST([GSTLAL_VERSION_MINOR])
+AC_SUBST([GSTLAL_VERSION_POINT])
 AC_SUBST([GSTLAL_CFLAGS])
 AC_SUBST([GSTLAL_LIBS])
 
diff --git a/gstlal-ugly/configure.ac b/gstlal-ugly/configure.ac
index 7e32886c50..950a5db040 100644
--- a/gstlal-ugly/configure.ac
+++ b/gstlal-ugly/configure.ac
@@ -394,6 +394,10 @@ AX_PYTHON_PYLAL()
 AC_SUBST([MIN_GSTLAL_VERSION], [0.7.0])
 PKG_CHECK_MODULES([GSTLAL], [gstlal >= ${MIN_GSTLAL_VERSION}])
 AC_SUBST([GSTLAL_VERSION], [`$PKG_CONFIG --modversion gstlal`])
+AX_GSTLAL_SPLIT_VERSION([GSTLAL_VERSION])
+AC_SUBST([GSTLAL_VERSION_MAJOR])
+AC_SUBST([GSTLAL_VERSION_MINOR])
+AC_SUBST([GSTLAL_VERSION_POINT])
 AC_SUBST([GSTLAL_CFLAGS])
 AC_SUBST([GSTLAL_LIBS])
 
-- 
GitLab