[91520] trunk/base
jmr at macports.org
jmr at macports.org
Tue Apr 3 17:40:41 PDT 2012
Revision: 91520
https://trac.macports.org/changeset/91520
Author: jmr at macports.org
Date: 2012-04-03 17:40:40 -0700 (Tue, 03 Apr 2012)
Log Message:
-----------
fail in configure if mtree is not present, rather than later in the build (see #32531)
Modified Paths:
--------------
trunk/base/configure
trunk/base/configure.ac
Modified: trunk/base/configure
===================================================================
--- trunk/base/configure 2012-04-04 00:24:46 UTC (rev 91519)
+++ trunk/base/configure 2012-04-04 00:40:40 UTC (rev 91520)
@@ -5986,7 +5986,11 @@
+if test "x$MTREE" = "x"; then
+ as_fn_error $? "mtree not found" "$LINENO" 5
+fi
+
# Extract the first word of "sed", so it can be a program name with args.
set dummy sed; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Modified: trunk/base/configure.ac
===================================================================
--- trunk/base/configure.ac 2012-04-04 00:24:46 UTC (rev 91519)
+++ trunk/base/configure.ac 2012-04-04 00:40:40 UTC (rev 91520)
@@ -165,6 +165,10 @@
AC_ARG_VAR(XAR, [path to xar command])
AC_ARG_VAR(XZ, [path to xz command])
+if test "x$MTREE" = "x"; then
+ AC_MSG_ERROR([mtree not found])
+fi
+
MP_SED_EXTENDED_REGEXP
MP_TAR_FAST_READ
MP_TAR_NO_SAME_OWNER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120403/79baf8b7/attachment.html>
More information about the macports-changes
mailing list