| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.48 2012/02/04 09:26:16 mgorny Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.49 2012/05/21 17:34:53 mgorny Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: autotools-utils.eclass |
5 | # @ECLASS: autotools-utils.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Maciej Mrozowski <reavertm@gentoo.org> |
7 | # Maciej Mrozowski <reavertm@gentoo.org> |
| 8 | # Michał Górny <mgorny@gentoo.org> |
8 | # Michał Górny <mgorny@gentoo.org> |
| … | |
… | |
| 339 | eautoconf |
339 | eautoconf |
| 340 | eautoheader |
340 | eautoheader |
| 341 | FROM_EAUTORECONF=sure eautomake |
341 | FROM_EAUTORECONF=sure eautomake |
| 342 | |
342 | |
| 343 | local x |
343 | local x |
| 344 | for x in $(autotools_get_subdirs); do |
344 | for x in $(autotools_check_macro_val AC_CONFIG_SUBDIRS); do |
| 345 | if [[ -d ${x} ]] ; then |
345 | if [[ -d ${x} ]] ; then |
| 346 | pushd "${x}" >/dev/null |
346 | pushd "${x}" >/dev/null |
| 347 | autotools-utils_autoreconf |
347 | autotools-utils_autoreconf |
| 348 | popd >/dev/null |
348 | popd >/dev/null |
| 349 | fi |
349 | fi |