autoconf
[Top][All Lists]
Advanced

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

Re: [autoconf] checking automake version in configure.ac


From: mpsuzuki
Subject: Re: [autoconf] checking automake version in configure.ac
Date: Tue, 6 Oct 2009 15:29:55 +0900

Hi,

I guess the reason checking automake version is
to guarantee the regeneration of configure,
Makefile.in etc. For the people who just run configure
without modification of configure.{in|ac}, Makefile.am, etc etc,
I guess you won't ask them to install automake-1.11.

If my guessing is right, the popular method would
be packing autogen.sh with version checking.

FreeType
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/autogen.sh

GLib
http://git.gnome.org/cgit/glib/tree/autogen.sh

# Usually, autogen.sh is included in the software under
# development by CVS/SVN/GIT, but it is not included in
# the released tarball.

By checking automake version out of configure.ac,
we can keep the people just running configure from
annoying message "your automake is too old, but
you can continue configuration". How do you think of?

Regards,
mpsuzuki

On Tue, 6 Oct 2009 07:56:39 +0200 (CEST)
Vincent Torri <address@hidden> wrote:
>I would like to conditionnaly use a feature (a macro) of automake 1.11 
>with system that don't necessary have it installed.
>
>So I would like to know if it is possible to check the version of automake 
>in configure.ac, something like
>
>if test "$automake_version" = "1.11" ; then
>  ***
>fi
>
>or something similar
>
>thank you
>
>Vincent Torri
>
>
>
>_______________________________________________
>Autoconf mailing list
>address@hidden
>http://lists.gnu.org/mailman/listinfo/autoconf




reply via email to

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