summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2010-06-12 15:53:59 +0400
committerBadlop <badlop@process-one.net>2010-06-16 16:05:07 +0200
commita84f8bc9effe3d5c325920af57d1e40db8f7d498 (patch)
treef30c19eb0419fe9f08104b22bfe955090fccd5d5 /src
parentInstall COPYING file along with other docs (diff)
Pass correct version to autoreconf
It seems that AC_INIT macro is wrongly initialized. See this link for explanation of a particular AC_INIT variables: http://www.gnu.org/software/autoconf/manual/html_node/Initializing-configure.html Briefly, AC_INIT macro should be populated with the following data: AC_INIT (package, version, [bug-report], [tarname], [url]) Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Diffstat (limited to '')
-rw-r--r--src/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configure.ac b/src/configure.ac
index 101baac2..20bfdf6f 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)
-AC_INIT(ejabberd.erl, version, [ejabberd@process-one.net], [ejabberd])
+AC_INIT(ejabberd, m4_esyscmd([grep -o -E "\{vsn,.\".*\"\}" ejabberd.app | cut -d \" -f 2 | tr -d '\n']), [ejabberd@process-one.net], [ejabberd])
# Checks for programs.
AC_PROG_CC