Sam Steingold <s...@gnu.org> writes:

> On 6/17/10, Eric Blake <ebl...@redhat.com> 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