summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-04-28 16:45:37 +0000
committerMike Frysinger <vapier@gentoo.org>2013-04-28 16:45:37 +0000
commitb6fed57f810833d686c8b81fb07815dd29cf3ccb (patch)
tree411a36f0a88d833a3d30e7494702b7fa20a23b3c /eclass/autotools.eclass
parentBug #467648 - Refer to /etc/portage/make.conf, not /etc/make.conf. (diff)
downloadgentoo-2-b6fed57f810833d686c8b81fb07815dd29cf3ccb.tar.gz
gentoo-2-b6fed57f810833d686c8b81fb07815dd29cf3ccb.tar.bz2
gentoo-2-b6fed57f810833d686c8b81fb07815dd29cf3ccb.zip
check for AM_CONFIG_HEADER and AC_CONFIG_HEADER when testing for autoheader usage
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass4
1 files changed, 2 insertions, 2 deletions
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; }