Merge branch 'maint'
[platform/upstream/automake.git] / m4 / amversion.m4
1 ##                                                          -*- Autoconf -*-
2 ## Generated from amversion.in; do not edit by hand.
3 # Copyright (C) 2002-2012 Free Software Foundation, Inc.
4 #
5 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # serial 8
10
11 # AM_AUTOMAKE_VERSION(VERSION)
12 # ----------------------------
13 # Automake X.Y traces this macro to ensure aclocal.m4 has been
14 # generated from the m4 files accompanying Automake X.Y.
15 # (This private macro should not be called outside this file.)
16 AC_DEFUN([AM_AUTOMAKE_VERSION],
17 [am__api_version='1.12a'
18 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
19 dnl require some minimum version.  Point them to the right macro.
20 m4_if([$1], [1.12a], [],
21       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
22 ])
23
24 # _AM_AUTOCONF_VERSION(VERSION)
25 # -----------------------------
26 # aclocal traces this macro to find the Autoconf version.
27 # This is a private macro too.  Using m4_define simplifies
28 # the logic in aclocal, which can simply ignore this definition.
29 m4_define([_AM_AUTOCONF_VERSION], [])
30
31 # AM_SET_CURRENT_AUTOMAKE_VERSION
32 # -------------------------------
33 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
34 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
35 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
36 [AM_AUTOMAKE_VERSION([1.12a])dnl
37 m4_ifndef([AC_AUTOCONF_VERSION],
38   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
39 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])