From: cedric Date: Mon, 31 Jan 2011 13:14:46 +0000 (+0000) Subject: * e_dbus: fix git revision detection macro. X-Git-Tag: 2.0_alpha~43^2~98 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fb49ebe105bce4828fc04e5d31db5cb8102cb81;p=framework%2Fuifw%2Fedbus.git * e_dbus: fix git revision detection macro. No backport, does only affect svn user, not release. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@56607 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/configure.ac b/configure.ac index 34b719d..e49f98e 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ m4_define([v_maj], [1]) m4_define([v_min], [0]) m4_define([v_mic], [999]) -m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v exported || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) +m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) m4_if(v_rev, [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']))]) ##-- When released, remove the dnl on the below line dnl m4_undefine([v_rev])