commit - 596bc096b02ef94efe3d73bb747c6ab0368f63bf
commit + 8288878122468e47df8cc77dfafd5c558508bbec
blob - bd438cd517aa92015cc5fba7f967f6ad193a1e44
blob + c87085ac5cf030356cdba9b1846bf984b78795fd
--- autogen.sh
+++ autogen.sh
$ACLOCAL && \
$AUTOHEADER && \
$AUTOMAKE --add-missing && \
- $AUTOCONF
+ $AUTOCONF --force
if [ $? -eq 0 -a -x ./configure ]; then
# Success: if we got some parameters we call ./configure and pass
# all of them to it.
+ NAME=`grep PACKAGE_STRING= configure | cut -d"'" -f2`
if [ "$GO" = "1" ]; then
[ -n "$PREFIX" ] && p=" --prefix=$PREFIX" || p=""
[ -n "$*" ] && a=" $*" || a=""
c="./configure${p}${a}"
+ echo "Okay, autogen.sh for $NAME done."
echo "Calling \"$c\" ..."
$c
exit $?
else
- echo "Okay, autogen.sh done; now run the \"configure\" script."
+ echo "Okay, autogen.sh for $NAME done."
+ echo "Now run the \"./configure\" script."
exit 0
fi
else
blob - 965258aad9f182250fff6e029ba516ac32d369ef
blob + 1d66a227ca56560043ab6cb7cfc4ff198f3ac087
--- configure.in
+++ configure.in
# (at your option) any later version.
# Please read the file COPYING, README and AUTHORS for more information.
#
+
+define(VERSION_ID,esyscmd(git describe|sed -e 's/rel-//g'|sed -e 's/-/~/'|tr -d \\n))
# -- Initialisation --
AC_PREREQ(2.50)
-AC_INIT(ngircd, 17~rc1)
+AC_INIT(ngircd, VERSION_ID)
AC_CONFIG_SRCDIR(src/ngircd/ngircd.c)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(1.6)