From 6e7ac7c28e0fdbc5f87be73f25108955150742d0 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Wed, 7 Dec 2011 17:31:09 +0100 Subject: [PATCH] configure: allow for pre-releases. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 0b9af9b012..808fa632f8 100644 --- a/configure.ac +++ b/configure.ac @@ -2,8 +2,12 @@ m4_define([gst_vaapi_major_version], [0]) m4_define([gst_vaapi_minor_version], [3]) m4_define([gst_vaapi_micro_version], [0]) +m4_define([gst_vaapi_pre_version], [1]) m4_define([gst_vaapi_version], [gst_vaapi_major_version.gst_vaapi_minor_version.gst_vaapi_micro_version]) +m4_if(gst_vaapi_pre_version, [0], [], [ +m4_append([gst_vaapi_version], gst_vaapi_pre_version, [.pre]) +]) # gst version number m4_define([gst_major_version], [0])