mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:30:11 +01:00
Read version info from VERSION file
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
228f2bf61c
commit
e5062a22d8
7
configure
vendored
7
configure
vendored
@ -4513,6 +4513,13 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
read -r version < VERSION
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define VERSION "$version"
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Check whether --with-piler-user was given.
|
# Check whether --with-piler-user was given.
|
||||||
|
@ -258,6 +258,10 @@ if test z`which timeout 2>/dev/null` != "z"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
read -r version < VERSION
|
||||||
|
AC_DEFINE_UNQUOTED(VERSION, "$version")
|
||||||
|
|
||||||
|
|
||||||
dnl user running piler
|
dnl user running piler
|
||||||
|
|
||||||
AC_ARG_WITH(piler-user,
|
AC_ARG_WITH(piler-user,
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
* piler-config.h.in, SJ
|
* piler-config.h.in, SJ
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define VERSION "x.x.x"
|
||||||
|
|
||||||
#define CONFDIR "/usr/local/etc"
|
#define CONFDIR "/usr/local/etc"
|
||||||
#define DATADIR "/usr/local/var"
|
#define DATADIR "/usr/local/var"
|
||||||
#define DATAROOTDIR "/usr/local/share"
|
#define DATAROOTDIR "/usr/local/share"
|
||||||
@ -29,4 +31,3 @@
|
|||||||
#undef HAVE_TWEAK_SENT_TIME
|
#undef HAVE_TWEAK_SENT_TIME
|
||||||
|
|
||||||
#undef HAVE_SUPPORT_FOR_COMPAT_STORAGE_LAYOUT
|
#undef HAVE_SUPPORT_FOR_COMPAT_STORAGE_LAYOUT
|
||||||
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include "piler-config.h"
|
#include "piler-config.h"
|
||||||
#include "params.h"
|
#include "params.h"
|
||||||
|
|
||||||
#define VERSION "1.3.6"
|
|
||||||
|
|
||||||
#define BUILD 998
|
#define BUILD 998
|
||||||
|
|
||||||
#define HOSTID "mailarchiver"
|
#define HOSTID "mailarchiver"
|
||||||
|
Loading…
Reference in New Issue
Block a user