Switched from configure.ac versioning to libburn.h versioning

This commit is contained in:
Thomas Schmitt 2008-04-08 13:35:43 +00:00
parent 0ce3f7c224
commit cdea153443
2 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2008.04.08.132344"
#define Cdrskin_timestamP "2008.04.08.133452"

View File

@ -47,7 +47,14 @@ char *burn_strndup(char *s, int n)
void burn_version(int *major, int *minor, int *micro)
{
/* ts A80408 : switched from configure.ac versioning to libburn.h versioning */
#ifdef burn_header_version_major
*major = burn_header_version_major;
*minor = burn_header_version_minor;
*micro = burn_header_version_micro;
#else
*major = BURN_MAJOR_VERSION;
*minor = BURN_MINOR_VERSION;
*micro = BURN_MICRO_VERSION;
#endif
}