Improved source organisation, version string & change log
This commit is contained in:
parent
6e363677a0
commit
f34daaa335
|
@ -1,3 +1,6 @@
|
||||||
|
2006-11-07 Paul A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
|
* Improved source organisation (Changelog populated, better version string)
|
||||||
|
|
||||||
2006-11-03 Paul A. Bagyenda <bagyenda@dsmagic.com>
|
2006-11-03 Paul A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
* Adding version file
|
* Adding version file
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,16 @@ AC_PREREQ(2.59)
|
||||||
|
|
||||||
AC_INIT([mbuni],[cvs],[devel@mbuni.org])
|
AC_INIT([mbuni],[cvs],[devel@mbuni.org])
|
||||||
|
|
||||||
|
dnl Set version
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([Retrieving Mbuni version])
|
||||||
|
M_VERSION=`head -n 1 VERSION`
|
||||||
|
if test "x$M_VERSION" = "xcvs"; then
|
||||||
|
CVS_DATE=`head -1 ChangeLog | cut -f 1 -d ' ' | sed 's/-//g'`
|
||||||
|
M_VERSION="$M_VERSION-$CVS_DATE"
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_RESULT([$M_VERSION])
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([mmlib/mms_util.c])
|
AC_CONFIG_SRCDIR([mmlib/mms_util.c])
|
||||||
AC_CONFIG_AUX_DIR(autotools)
|
AC_CONFIG_AUX_DIR(autotools)
|
||||||
|
@ -251,6 +261,9 @@ fi
|
||||||
|
|
||||||
AC_CHECK_LIB([gwlib], [cfg_create], [], AC_MSG_ERROR([Kannel gwlib is required!]))
|
AC_CHECK_LIB([gwlib], [cfg_create], [], AC_MSG_ERROR([Kannel gwlib is required!]))
|
||||||
AC_CHECK_LIB([wap], [wsp_headers_pack], [], AC_MSG_ERROR([Kannel WAP lib is required!]))
|
AC_CHECK_LIB([wap], [wsp_headers_pack], [], AC_MSG_ERROR([Kannel WAP lib is required!]))
|
||||||
|
dnl Add mbuni version to Cflags
|
||||||
|
# CFLAGS="$CFLAGS -DMBUNI_VERSION=\"$M_VERSION\""
|
||||||
|
AC_DEFINE_UNQUOTED(MBUNI_VERSION, "$M_VERSION", "Mbuni Version")
|
||||||
|
|
||||||
dnl May be we need to check for media conversion tools (imagemagick, etc)?
|
dnl May be we need to check for media conversion tools (imagemagick, etc)?
|
||||||
|
|
||||||
|
@ -261,7 +274,7 @@ AC_OUTPUT
|
||||||
|
|
||||||
cat<<X
|
cat<<X
|
||||||
License:
|
License:
|
||||||
Mbuni $VERSION - Open Source MMS Gateway - http://www.mbuni.org/
|
Mbuni (version $M_VERSION) - Open Source MMS Gateway - http://www.mbuni.org/
|
||||||
|
|
||||||
Copyright (C) 2003 - 2006, Digital Solutions Ltd. - http://www.dsmagic.com
|
Copyright (C) 2003 - 2006, Digital Solutions Ltd. - http://www.dsmagic.com
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
/* Global variables and shared code used by all modules. */
|
/* Global variables and shared code used by all modules. */
|
||||||
|
|
||||||
#define MMSC_VERSION VERSION
|
#define MMSC_VERSION MBUNI_VERSION
|
||||||
#define MMS_NAME PACKAGE
|
#define MMS_NAME PACKAGE
|
||||||
|
|
||||||
/* Message location flags: Used to distinguish fetch-urls */
|
/* Message location flags: Used to distinguish fetch-urls */
|
||||||
|
|
Loading…
Reference in New Issue