#
RADIUSD_VERSION = @RADIUSD_VERSION@
+RADIUSD_VERSION_MAJOR = @RADIUSD_VERSION_MAJOR@
+RADIUSD_VERSION_MINOR = @RADIUSD_VERSION_MINOR@
+RADIUSD_VERSION_INCROM = @RADIUSD_VERSION_INCRM@
+
#
# This allows dlopen to do runtime checks for version mismatches
# between what it was originally linked with, and the library it's
PANDOC
ASCIIDOCTOR
GIT
+RADIUSD_VERSION_INCRM
+RADIUSD_VERSION_MINOR
+RADIUSD_VERSION_MAJOR
+RADIUSD_VERSION
target_alias
host_alias
build_alias
+
+
+
+
+
unset ASAN_OPTIONS
unset LSAN_OPTIONS
AC_DEFINE_UNQUOTED([RADIUSD_VERSION_MINOR], [${RADIUSD_VERSION_MINOR}], [Version integer in format <mi>])
AC_DEFINE_UNQUOTED([RADIUSD_VERSION_INCRM], [${RADIUSD_VERSION_INCRM}], [Version integer in format <in>])
+AC_SUBST(RADIUSD_VERSION)
+AC_SUBST(RADIUSD_VERSION_MAJOR)
+AC_SUBST(RADIUSD_VERSION_MINOR)
+AC_SUBST(RADIUSD_VERSION_INCRM)
+
dnl #############################################################
dnl #
dnl # Override some of the default autoconf variables such as
ifeq "${LIBTOOL}" "JLIBTOOL"
JLIBTOOL := ${BUILD_DIR}/make/jlibtool
- JLIBTOOL_DEFS := -DPROGRAM_VERSION=$(RADIUSD_VERSION)
+ JLIBTOOL_DEFS := -DPROGRAM_VERSION=$(RADIUSD_VERSION_MAJOR).$(RADIUSD_VERSION_MINOR)
# Pass compiler and ranlib paths through to jlibtool if they're
# defined in the environment. This lets us define a separate