Hans Ulrich Niedermann wrote:
From 42daed3597d031dc4b305880f7321e0ed3db0ab0 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann <hun@n-dimensional.de> Date: Mon, 15 Oct 2007 17:23:10 +0200 Subject: [PATCH] Use configure.ac version to generate driver module version
Adapted configure.ac so that the driver module version does not change. --- configure.ac | 2 +- src/rhd.h | 16 +++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-)
Unfortunately, this breaks the imake build :-( I see two alternatives: a) Add some rule for imake to generate a config.h with the proper three definitions. That would need some sed/cut/etc. code to extract the version number from configure.ac, and then actually add the proper make rules for imake (which I have never used before). b) Hardcode the version in both src/rhd.h and configure.ac, and have a check program (run on "make check" in automake builds) that makes sure that the two redundant definitions do match. I can do that easily. Opinions?