Skip to content
Snippets Groups Projects
Commit 9eeb9303 authored by jpbl's avatar jpbl
Browse files

moved sflphone version macro to global.h

parent 0f57b097
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment