diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-04-14 16:59:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-14 16:59:34 (GMT) |
commit | 2e30eb6a98fb9b47e840528b41f1fc4446c69f36 (patch) | |
tree | 87b42f56d6540e5f270e217889eb1c8c0a0fcf71 /aclocal.m4 | |
parent | 7ac96ec60e944bbfa290c869225dc48b542b6884 (diff) | |
download | cpython-2e30eb6a98fb9b47e840528b41f1fc4446c69f36.zip cpython-2e30eb6a98fb9b47e840528b41f1fc4446c69f36.tar.gz cpython-2e30eb6a98fb9b47e840528b41f1fc4446c69f36.tar.bz2 |
improve alignment autoconf test (#1129) (#1139)
Replace the deprecated AC_TRY_RUN with AC_RUN_IFELSE. Also, standardize the
variable name and allow for caching of the result.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -dnl serial 11 (pkg-config-0.29) +dnl serial 11 (pkg-config-0.29.1) dnl dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> @@ -55,7 +55,7 @@ dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], -[m4_define([PKG_MACROS_VERSION], [0.29]) +[m4_define([PKG_MACROS_VERSION], [0.29.1]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ |