bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: module request: comparing version numbers


From: Ben Pfaff
Subject: Re: module request: comparing version numbers
Date: Thu, 17 Jun 2010 11:09:43 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Sam Steingold <address@hidden> writes:

> On 6/17/10, Eric Blake <address@hidden> wrote:
>> Are you talking about version comparisons at m4 time (if so, is
>>  m4_version_compare from autoconf adequate?), at shell time (if so, is
>>  AS_VERSION_COMPARE from autoconf adequate?), or in your executable (if
>>  so, is either the strverscmp or filevercmp module adequate?).
>
> at shell time, but not in configure.
> I have a shell file foo.in which is processed by configure using
> AC_CONFIG_FILES, and I want to be able to compare versions there.

You could write your shell file in M4sh and use
AS_VERSION_COMPARE.
-- 
Ben Pfaff 
http://benpfaff.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]