X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=71d097845e08245f95362cc303b5fbc70e7e7ee9;hb=e79b80233e49218942d0cc98ea4e1e938b762411;hp=7bc5c831294e12f7cf8a53785cb27db982338aab;hpb=25846678a5b8d1637d9458e2c8ad8261d215b10f;p=profile%2Fivi%2Fweston.git diff --git a/configure.ac b/configure.ac index 7bc5c83..71d0978 100644 --- a/configure.ac +++ b/configure.ac @@ -1,10 +1,21 @@ +m4_define([weston_major_version], [1]) +m4_define([weston_minor_version], [0]) +m4_define([weston_micro_version], [6]) +m4_define([weston_version], + [weston_major_version.weston_minor_version.weston_micro_version]) + AC_PREREQ([2.64]) AC_INIT([weston], - [1.0.5], - [https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.0.5], + [weston_version], + [https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=weston_version], [weston], [http://wayland.freedesktop.org/]) +AC_SUBST([WESTON_VERSION_MAJOR], [weston_major_version]) +AC_SUBST([WESTON_VERSION_MINOR], [weston_minor_version]) +AC_SUBST([WESTON_VERSION_MICRO], [weston_micro_version]) +AC_SUBST([WESTON_VERSION], [weston_version]) + AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz]) @@ -253,6 +264,8 @@ AC_CONFIG_FILES([Makefile shared/Makefile src/Makefile src/xwayland/Makefile + src/version.h + src/weston.pc clients/Makefile wcap/Makefile data/Makefile