From c94a5479b43f4186816b8152b48e41ae152c5076 Mon Sep 17 00:00:00 2001 From: psychon Date: Fri, 15 Jun 2007 21:37:04 +0000 Subject: [PATCH] x-x noticed that we set the version number in AC_INIT and so can use that value later on git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@810 726aef4b-f618-498e-8847-2d620e286838 --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 97c610c7..aa81eff0 100755 --- a/configure +++ b/configure @@ -3804,7 +3804,7 @@ echo "$as_me: error: Could not find perl binary. Try --disable-perl" >&2;} fi fi -VERSION=`grep '#define VERSION' main.h | awk '{print $3}' | head -n 1` +VERSION=0.048 # # Auto detect modules diff --git a/configure.in b/configure.in index 061bbc78..3cf60fcb 100644 --- a/configure.in +++ b/configure.in @@ -162,7 +162,7 @@ if test "$MODULES" = "yes"; then fi fi -VERSION=`grep '#define VERSION' main.h | awk '{print $3}' | head -n 1` +VERSION=AC_PACKAGE_VERSION # # Auto detect modules