Lucio Andrés Illanes Albornoz (arab, vxp) 570129
#
Lucio Andrés Illanes Albornoz (arab, vxp) 802215
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
#
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
pkg_configure() {
Lucio Andrés Illanes Albornoz (arab, vxp) 8ee843
	if [ -n "${PKG_CONFIGURE}" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) d5afb4
		PKG_CONFIGURE="${WORKDIR}/${PKG_CONFIGURE}";
Lucio Andrés Illanes Albornoz (arab, vxp) 8ee843
	else
Lucio Andrés Illanes Albornoz (arab, vxp) d5afb4
		PKG_CONFIGURE="${WORKDIR}/${PKG_SUBDIR}/configure";
Lucio Andrés Illanes Albornoz (arab, vxp) 8ee843
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 8ee843
	if [ -x "${PKG_CONFIGURE}" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) 8ee843
		CFLAGS="${PKG_CFLAGS_CONFIGURE}${PKG_CFLAGS_CONFIGURE_EXTRA:+ ${PKG_CFLAGS_CONFIGURE_EXTRA}}"		\
Lucio Andrés Illanes Albornoz (arab, vxp) 557c73
		CPPFLAGS="${PKG_CFLAGS_CONFIGURE}${PKG_CFLAGS_CONFIGURE_EXTRA:+ ${PKG_CFLAGS_CONFIGURE_EXTRA}}"		\
Lucio Andrés Illanes Albornoz (arab, vxp) b19456
		CXXFLAGS="${PKG_CXXFLAGS_CONFIGURE}${PKG_CXXFLAGS_CONFIGURE_EXTRA:+ ${PKG_CXXFLAGS_CONFIGURE_EXTRA}}"	\
Lucio Andrés Illanes Albornoz (arab, vxp) 8ee843
		LDFLAGS="${PKG_LDFLAGS_CONFIGURE}${PKG_LDFLAGS_CONFIGURE_EXTRA:+ ${PKG_LDFLAGS_CONFIGURE_EXTRA}}"	\
Lucio Andrés Illanes Albornoz (arab, vxp) 8ee843
		${PKG_CONFIGURE}											\
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
			${PKG_CONFIGURE_ARGS} ${PKG_CONFIGURE_ARGS_EXTRA} ${PKG_CONFIGURE_ARGS_EXTRA_DEBUG};
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
};
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
# vim:filetype=sh