[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: check_version
From: |
Bruno Haible |
Subject: |
Re: check_version |
Date: |
Thu, 14 Jul 2005 21:43:41 +0200 |
User-agent: |
KMail/1.5 |
Simon Josefsson wrote:
> > #define stringprep_check_version check_version
> > instead of a function that calls check_version.
>
> I assume you meant:
>
> #define check_version stringprep_check_version
Yes, it's backwards. (I was thinking about changing check_version into
a macro.)
> Perhaps check_version.c could be compiled with
> -Dcheck_version=$(PACKAGE)_check_version?
$(PACKAGE) can contain dashes.
> The gnulib module could set
> something like that up, to avoid manual config.h additions.
The name of the xxx_check_version function is something that each package
will want to define explicitly. I don't think deducing its name through a
rule is not flexible enough.
Bruno