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.50 2012/05/22 14:29:06 mgorny Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.51 2012/05/28 07:34:43 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> |
… | |
… | |
109 | # If your tool is not supported, please open a bug and we'll add support for it. |
109 | # If your tool is not supported, please open a bug and we'll add support for it. |
110 | # |
110 | # |
111 | # Note that dependencies are added for autoconf, automake and libtool only. |
111 | # Note that dependencies are added for autoconf, automake and libtool only. |
112 | # If your package needs one of the external tools listed above, you need to add |
112 | # If your package needs one of the external tools listed above, you need to add |
113 | # appropriate packages to DEPEND yourself. |
113 | # appropriate packages to DEPEND yourself. |
114 | [[ ${AUTOTOOLS_AUTORECONF} ]] || _autotools_auto_dep=no |
114 | [[ ${AUTOTOOLS_AUTORECONF} ]] || : ${AUTOTOOLS_AUTO_DEPEND:=no} |
115 | |
115 | |
116 | AUTOTOOLS_AUTO_DEPEND=${_autotools_auto_dep} \ |
|
|
117 | inherit autotools eutils libtool |
116 | inherit autotools eutils libtool |
118 | |
117 | |
119 | EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install src_test |
118 | EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install src_test |
120 | |
|
|
121 | unset _autotools_auto_dep |
|
|
122 | |
119 | |
123 | # @ECLASS-VARIABLE: AUTOTOOLS_BUILD_DIR |
120 | # @ECLASS-VARIABLE: AUTOTOOLS_BUILD_DIR |
124 | # @DEFAULT_UNSET |
121 | # @DEFAULT_UNSET |
125 | # @DESCRIPTION: |
122 | # @DESCRIPTION: |
126 | # Build directory, location where all autotools generated files should be |
123 | # Build directory, location where all autotools generated files should be |