From b6fed57f810833d686c8b81fb07815dd29cf3ccb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 28 Apr 2013 16:45:37 +0000 Subject: check for AM_CONFIG_HEADER and AC_CONFIG_HEADER when testing for autoheader usage --- eclass/autotools.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/autotools.eclass') diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 1bbb0b56cec7..26a1d4471aa5 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.153 2013/04/23 19:16:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.154 2013/04/28 16:45:37 vapier Exp $ # @ECLASS: autotools.eclass # @MAINTAINER: @@ -245,7 +245,7 @@ _at_uses_pkg() { egrep -q "${args[@]}" configure.?? fi } -_at_uses_autoheader() { _at_uses_pkg AC_CONFIG_HEADERS; } +_at_uses_autoheader() { _at_uses_pkg A{C,M}_CONFIG_HEADER{S,}; } _at_uses_automake() { _at_uses_pkg AM_INIT_AUTOMAKE; } _at_uses_gettext() { _at_uses_pkg AM_GNU_GETTEXT_VERSION; } _at_uses_glibgettext() { _at_uses_pkg AM_GLIB_GNU_GETTEXT; } -- cgit v1.2.3-65-gdbad