octave-maintainers
[Top][All Lists]
Advanced

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

AX_COMPARE_VERSION in configure.ac


From: Juan Pablo Carbajal
Subject: AX_COMPARE_VERSION in configure.ac
Date: Fri, 9 Nov 2012 18:16:52 +0100

Hi Rik,

I noticed that (thx JordiGH for hg classes) you simplified
configure.ac with the m4 macro AX_COMPARE_VERSION
$ hg annotate configure.ac -ucdqv | grep AX_
           rik a44ff4f0a20b Mon Aug 13 15:43:49 2012 -0700:
AX_COMPARE_VERSION([$gxx_version], [lt], [3.5],
           rik a44ff4f0a20b Mon Aug 13 15:43:49 2012 -0700:
AX_COMPARE_VERSION([$gcc_version], [lt], [3],

$ hg log -r a44ff4f0a20b
changeset:   15170:a44ff4f0a20b
user:        Rik <address@hidden>
date:        Mon Aug 13 15:43:49 2012 -0700
summary:     Add AX_COMPARE_VERSION.m4 macro m4/ dir to make configure.ac simple


I am learning autotools and I was trying to find out why... I couldn't
find that macro but on the gnu autoconf-archive documentation
http://www.gnu.org/software/autoconf-archive/ax_compare_version.html

I found AS_VERSION_COMPARE in the autoconf manual
http://www.gnu.org/software/autoconf/manual/autoconf.html

Should we change for this macro? The change is very simple (just
remove the [lt] parameter).

Also the AX_ macro shouldn't not as it is used now (unless is wrongly
documented...though it doesn't work for me!) since it cannot take
variables only strings. The AS_ macro can resolve variables.

Attached the change set.

JPi

Attachment: changeset_configure.ac
Description: Binary data


reply via email to

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