Skip to content

Commit

Permalink
aclocal.m4: ignore --no-recursion if the subpackages are missing or u…
Browse files Browse the repository at this point in the history
…nconfigured

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@117670 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
neverpanic committed Mar 7, 2014
1 parent 5d5648f commit 64fe729
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions aclocal.m4
Expand Up @@ -111,22 +111,23 @@ AC_DEFUN([MP_CONFIG_TARBALL], [
mp_tarball="$1" mp_tarball="$1"
ac_dir=$2 ac_dir=$2
if test "$no_recursion" != yes; then mp_popdir=$(pwd)
mp_popdir=$(pwd) if ! test -d "$ac_dir"; then
if ! test -d "$ac_dir"; then mp_tarball_vendordir="$(dirname "$mp_tarball")"
mp_tarball_vendordir="$(dirname "$mp_tarball")" AS_MKDIR_P(["$mp_tarball_vendordir"])
AS_MKDIR_P(["$mp_tarball_vendordir"]) AC_MSG_NOTICE([=== extracting $mp_tarball])
AC_MSG_NOTICE([=== extracting $mp_tarball]) (cd "$mp_tarball_vendordir"; gzip -d < "$ac_abs_confdir/$mp_tarball" | tar xf - || AC_MSG_ERROR([failed to extract $mp_tarball]))
(cd "$mp_tarball_vendordir"; gzip -d < "$ac_abs_confdir/$mp_tarball" | tar xf - || AC_MSG_ERROR([failed to extract $mp_tarball])) fi
fi if ! test -d "$ac_dir"; then
if ! test -d "$ac_dir"; then AC_MSG_ERROR([tarball $mp_tarball did not extract to $ac_dir])
AC_MSG_ERROR([tarball $mp_tarball did not extract to $ac_dir]) fi
fi
AS_MKDIR_P(["$ac_dir"])
_AC_SRCDIRS(["$ac_dir"])
cd "$ac_dir"
if test "$no_recursion" != yes -o ! -f "$ac_srcdir/config.status"; then
AC_MSG_NOTICE([=== configuring in $ac_dir ($mp_popdir/$ac_dir)]) AC_MSG_NOTICE([=== configuring in $ac_dir ($mp_popdir/$ac_dir)])
AS_MKDIR_P(["$ac_dir"])
_AC_SRCDIRS(["$ac_dir"])
cd "$ac_dir"
if test -f "$ac_srcdir/configure"; then if test -f "$ac_srcdir/configure"; then
mp_sub_configure_args= mp_sub_configure_args=
mp_sub_configure_keys= mp_sub_configure_keys=
Expand Down Expand Up @@ -279,9 +280,8 @@ AC_DEFUN([MP_CONFIG_TARBALL], [
AC_MSG_ERROR([no configure script found in $ac_dir]) AC_MSG_ERROR([no configure script found in $ac_dir])
fi fi
AC_MSG_NOTICE([=== finished configuring in $ac_dir ($mp_popdir/$ac_dir)]) AC_MSG_NOTICE([=== finished configuring in $ac_dir ($mp_popdir/$ac_dir)])
cd "$mp_popdir"
fi fi
cd "$mp_popdir"
]) ])




Expand Down

0 comments on commit 64fe729

Please sign in to comment.