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



_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to