summaryrefslogtreecommitdiff
path: root/m4/efl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/efl.m4')
-rw-r--r--m4/efl.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/efl.m4 b/m4/efl.m4
index cd730b3948..6bbb259472 100644
--- a/m4/efl.m4
+++ b/m4/efl.m4
@@ -25,8 +25,7 @@ AC_DEFUN([EFL_VERSION],
25m4_define([v_maj], [$1])dnl 25m4_define([v_maj], [$1])dnl
26m4_define([v_min], [$2])dnl 26m4_define([v_min], [$2])dnl
27m4_define([v_mic], [$3])dnl 27m4_define([v_mic], [$3])dnl
28m4_define([dev_version], m4_esyscmd([(LC_ALL=C svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | cut -d: -f2 | tr -d ' :MSP\n']))dnl 28m4_define([dev_version], m4_esyscmd([git rev-list --count HEAD | tr -d '\n']))dnl
29m4_if(dev_version, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])dnl
30m4_define([v_rev], m4_if($4, dev, [dev_version], [0]))dnl 29m4_define([v_rev], m4_if($4, dev, [dev_version], [0]))dnl
31m4_define([v_rel], m4_if($4, dev, [], m4_ifblank($4, [], [-release $4])))dnl 30m4_define([v_rel], m4_if($4, dev, [], m4_ifblank($4, [], [-release $4])))dnl
32m4_define([def_build_profile], m4_if($4, dev, [dev], [release]))dnl 31m4_define([def_build_profile], m4_if($4, dev, [dev], [release]))dnl