From 80c16a3b488a22222906fd976de881c456b0d89e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 8 Apr 2008 11:17:34 +0000 Subject: [PATCH] Switched from configure.ac versioning to libburn.h versioning --- libburn/util.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libburn/util.c b/libburn/util.c index b759dc3..c50821d 100644 --- a/libburn/util.c +++ b/libburn/util.c @@ -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 }