From 3ee31b35f865fc79a388034becd3b7bb1c5ff634 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 08 Nov 2012 01:07:50 -0500 Subject: _oh_autoconf_configure: Return configure's status. --- diff --git a/lib/buildsystem/autoconf.sh b/lib/buildsystem/autoconf.sh index a1ae3ea..0a55f52 100644 --- a/lib/buildsystem/autoconf.sh +++ b/lib/buildsystem/autoconf.sh @@ -27,7 +27,7 @@ _oh_autoconf_can_configure() _oh_autoconf_configure() { - _oh_local _ohbsbac_arch_opts + _oh_local _ohbsbac_arch_opts _ohbsbac_rc mkdir -p "${_OH_BUILDSYSTEM_BUILD_DIR}" cd "${_OH_BUILDSYSTEM_BUILD_DIR}" @@ -61,10 +61,11 @@ _oh_autoconf_configure() --disable-maintainer-mode \ --disable-dependency-tracking \ "${@}" + _ohbsbac_rc=${?} cd "${_OH_BUILDSYSTEM_WORK_AREA}" - _oh_return 0 + _oh_return ${_ohbsbac_rc} return ${?} } -- cgit v0.9.1