mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
Add FreeBSD DEFAULT_AUTOCONF variable support
This commit is contained in:
parent
429654218b
commit
817d267a10
10
autogen.sh
10
autogen.sh
@ -10,6 +10,11 @@ if [ ! -f "./$(basename $0)" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
test -n "${AUTOCONF_VERSION}" || AUTOCONF_VERSION="${_ac_version}"
|
||||||
|
test -n "${AUTOMAKE_VERSION}" || AUTOMAKE_VERSION="${_am_version}"
|
||||||
|
test -n "${DEFAULT_AUTOCONF}" || DEFAULT_AUTOCONF="${_ac_version}"
|
||||||
|
export AUTOCONF_VERSION AUTOMAKE_VERSION DEFAULT_AUTOCONF
|
||||||
|
|
||||||
USE_LIBTOOL="$(grep ^LT_INIT ./configure.* 2> /dev/null)"
|
USE_LIBTOOL="$(grep ^LT_INIT ./configure.* 2> /dev/null)"
|
||||||
|
|
||||||
EXTRA=
|
EXTRA=
|
||||||
@ -21,17 +26,12 @@ if [ -d /usr/local/share/aclocal ]; then
|
|||||||
EXTRA="${EXTRA} -I /usr/local/share/aclocal"
|
EXTRA="${EXTRA} -I /usr/local/share/aclocal"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AUTOCONF_VERSION="${_ac_version}" AUTOMAKE_VERSION="${_am_version}" \
|
|
||||||
aclocal ${EXTRA} || exit 1
|
aclocal ${EXTRA} || exit 1
|
||||||
AUTOCONF_VERSION="${_ac_version}" AUTOMAKE_VERSION="${_am_version}" \
|
|
||||||
autoconf || exit 1
|
autoconf || exit 1
|
||||||
AUTOCONF_VERSION="${_ac_version}" AUTOMAKE_VERSION="${_am_version}" \
|
|
||||||
autoheader || exit 1
|
autoheader || exit 1
|
||||||
if [ -n "${USE_LIBTOOL}" ]; then
|
if [ -n "${USE_LIBTOOL}" ]; then
|
||||||
AUTOCONF_VERSION="${_ac_version}" AUTOMAKE_VERSION="${_am_version}" \
|
|
||||||
libtoolize --automake -c -f || exit 1
|
libtoolize --automake -c -f || exit 1
|
||||||
fi
|
fi
|
||||||
AUTOCONF_VERSION="${_ac_version}" AUTOMAKE_VERSION="${_am_version}" \
|
|
||||||
automake -a -c || exit 1
|
automake -a -c || exit 1
|
||||||
|
|
||||||
rm -r autom4te.cache
|
rm -r autom4te.cache
|
||||||
|
Loading…
Reference in New Issue
Block a user