configure: allow for pre-releases.

This commit is contained in:
Gwenole Beauchesne 2011-12-07 17:31:09 +01:00
parent e5abbe0440
commit 6e7ac7c28e

View file

@ -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])