2010-01-12 20:09:30 +00:00
|
|
|
# Build script for autoconf
|
|
|
|
|
|
|
|
do_companion_tools_autoconf_get() {
|
2014-12-08 23:03:08 +00:00
|
|
|
CT_GetFile "autoconf-${CT_AUTOCONF_VERSION}" \
|
|
|
|
{http,ftp,https}://ftp.gnu.org/gnu/autoconf
|
2010-01-12 20:09:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_companion_tools_autoconf_extract() {
|
|
|
|
CT_Extract "autoconf-${CT_AUTOCONF_VERSION}"
|
2011-03-03 18:30:22 +00:00
|
|
|
CT_DoExecLog ALL chmod -R u+w "${CT_SRC_DIR}/autoconf-${CT_AUTOCONF_VERSION}"
|
2010-04-11 21:18:10 +00:00
|
|
|
CT_Patch "autoconf" "${CT_AUTOCONF_VERSION}"
|
2010-01-12 20:09:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_companion_tools_autoconf_build() {
|
|
|
|
CT_DoStep EXTRA "Installing autoconf"
|
|
|
|
mkdir -p "${CT_BUILD_DIR}/build-autoconf"
|
|
|
|
CT_Pushd "${CT_BUILD_DIR}/build-autoconf"
|
|
|
|
|
|
|
|
# Ensure configure gets run using the CONFIG_SHELL as configure seems to
|
|
|
|
# have trouble when CONFIG_SHELL is set and /bin/sh isn't bash
|
|
|
|
# For reference see:
|
2010-12-18 21:55:56 +00:00
|
|
|
# http://www.gnu.org/software/autoconf/manual/autoconf.html#CONFIG_005fSHELL
|
2010-01-12 20:09:30 +00:00
|
|
|
|
2010-10-22 20:02:57 +00:00
|
|
|
CT_DoExecLog CFG ${CONFIG_SHELL} \
|
2010-01-12 20:09:30 +00:00
|
|
|
"${CT_SRC_DIR}/autoconf-${CT_AUTOCONF_VERSION}/configure" \
|
2010-12-18 21:55:56 +00:00
|
|
|
--prefix="${CT_BUILDTOOLS_PREFIX_DIR}"
|
2016-11-21 07:50:17 +00:00
|
|
|
CT_DoExecLog ALL make
|
|
|
|
CT_DoExecLog ALL make install
|
2010-01-12 20:09:30 +00:00
|
|
|
CT_Popd
|
|
|
|
CT_EndStep
|
|
|
|
}
|