aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2014-07-21 13:50:35 +0200
committerChristophe Romain <christophe.romain@process-one.net>2014-07-21 13:50:35 +0200
commit790201afc026c5c24596f5209694de5c135752c1 (patch)
tree9354a2b5f148b1db8baf5bb556c3831f1e7b8372 /configure.ac
parentAdd tests for mod_carboncopy (diff)
avoid incorrect release version string (EJAB-1695)
to do so, we remove configure script from repository. it must be generated with autotools. for developpers not using autotools, we include the configure script in release source tarball, which in generated with correct version string.
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a2d803ecf..e7bb43b6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)
-AC_INIT(ejabberd, community m4_esyscmd([git describe --tags | tr -d '\n']), [ejabberd@process-one.net], [ejabberd])
+AC_INIT(ejabberd, m4_esyscmd([echo `git describe --tags 2>/dev/null || echo community` | sed 's/-g.*//' | tr -d '\012']), [ejabberd@process-one.net], [ejabberd])
REQUIRE_ERLANG_MIN="5.9.1 (Erlang/OTP R15B01)"
REQUIRE_ERLANG_MAX="9.0.0 (No Max)"