diff --git a/configure.ac b/configure.ac index 228c6dfd02915870aebdf6db816e4777687a4774..d70f991789e614035158fc3406fcebdd2d66c7d4 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_INIT(acinclude.m4) AM_CONFIG_HEADER(config.h) dnl figure out the sflphone version -VERSION=`sed -ne 's/^#define SFLPHONE_VERSION "\(.*\)"/\1/p' ${srcdir}/sflphone.h` +VERSION=`sed -ne 's/^#define SFLPHONE_VERSION "\(.*\)"/\1/p' ${srcdir}/src/global.h` AC_SUBST(VERSION) @@ -14,7 +14,7 @@ AC_SUBST(RPM_VERSION) LIBS="$LIBS -lstdc++" dnl dnl we extract the numerical version -VERSIONNUM=`sed -ne 's/^#define SFLPHONE_VERSION_NUM 0x\(\\d\)/\1/p' ${srcdir}/sflphone.h` +VERSIONNUM=`sed -ne 's/^#define SFLPHONE_VERSION_NUM 0x\(\\d\)/\1/p' ${srcdir}/src/global.h` AC_SUBST(VERSIONNUM) dnl diff --git a/src/global.h b/src/global.h index fa865d5fa956e2e1191a3263843e50e36e5a2a2b..b9fe487775e2b649f32626e2e2ec82e504e3bf69 100644 --- a/src/global.h +++ b/src/global.h @@ -34,6 +34,9 @@ typedef short int16; #define _debug(...) #endif +#define SFLPHONE_VERSION "0.3.0" +#define SFLPHONE_VERSION_NUM 0x000300 + #define PROGNAME "sflphone" #define SKINDIR "skins" #define PIXDIR "pixmaps"