2006-02-20 12:32:04 +00:00
|
|
|
##############################################################################
|
|
|
|
# MOO_DEFINE_VERSIONS()
|
|
|
|
#
|
|
|
|
AC_DEFUN([MOO_DEFINE_VERSIONS],[
|
|
|
|
MOO_VERSION=\"moo_version\"
|
|
|
|
MOO_VERSION_UNQUOTED=moo_version
|
|
|
|
MOO_VERSION_MAJOR=moo_major_version
|
|
|
|
MOO_VERSION_MINOR=moo_minor_version
|
|
|
|
MOO_VERSION_MICRO=moo_micro_version
|
2006-12-05 01:30:20 -06:00
|
|
|
|
2006-02-20 12:32:04 +00:00
|
|
|
AC_SUBST(MOO_VERSION)
|
|
|
|
AC_SUBST(MOO_VERSION_UNQUOTED)
|
|
|
|
AC_SUBST(MOO_VERSION_MAJOR)
|
|
|
|
AC_SUBST(MOO_VERSION_MINOR)
|
|
|
|
AC_SUBST(MOO_VERSION_MICRO)
|
|
|
|
|
2006-12-05 01:30:20 -06:00
|
|
|
MOO_MODULE_VERSION=\"moo_module_major_version.moo_module_minor_version\"
|
|
|
|
MOO_MODULE_VERSION_MAJOR=moo_module_major_version
|
|
|
|
MOO_MODULE_VERSION_MINOR=moo_module_minor_version
|
|
|
|
AC_SUBST(MOO_MODULE_VERSION_MAJOR)
|
|
|
|
AC_SUBST(MOO_MODULE_VERSION_MINOR)
|
|
|
|
|
2006-02-20 12:32:04 +00:00
|
|
|
AC_DEFINE(MOO_VERSION, ["moo_version"], "libmoo version")
|
|
|
|
AC_DEFINE(MOO_VERSION_MAJOR, [moo_major_version], "libmoo major version")
|
|
|
|
AC_DEFINE(MOO_VERSION_MINOR, [moo_minor_version], "libmoo minor version")
|
|
|
|
AC_DEFINE(MOO_VERSION_MICRO, [moo_micro_version], "libmoo micro version")
|
2006-12-05 01:30:20 -06:00
|
|
|
AC_DEFINE(MOO_MODULE_VERSION_MAJOR, [moo_module_major_version], "libmoo module system major version")
|
|
|
|
AC_DEFINE(MOO_MODULE_VERSION_MINOR, [moo_module_minor_version], "libmoo module system major version")
|
2006-02-20 12:32:04 +00:00
|
|
|
])
|