summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-08 01:07:50 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-08 01:07:50 (EST)
commit3ee31b35f865fc79a388034becd3b7bb1c5ff634 (patch)
treecb6caf3ce33c1a2d775e5882496c74ba5e4dcddb
parent6f84b08b7779f33c4380fa63e9a15ba98251256c (diff)
_oh_autoconf_configure: Return configure's status.
-rw-r--r--lib/buildsystem/autoconf.sh5
1 files changed, 3 insertions, 2 deletions
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 ${?}
}