also complain about prefix=/usr

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@80137 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Joshua Root
2011-07-05 07:01:07 +00:00
parent 175e12cbd8
commit 9893be9be9
2 changed files with 4 additions and 4 deletions
Vendored
+2 -2
View File
@@ -7645,8 +7645,8 @@ else
with_unsupported_prefix=no
fi
if test x$prefix = x/usr/local -a x$with_unsupported_prefix != xyes; then
as_fn_error $? "Installing MacPorts into /usr/local is not supported. If \
if test x$prefix = x/usr/local -o x$prefix = x/usr && test x$with_unsupported_prefix != xyes; then
as_fn_error $? "Installing MacPorts into $prefix is not supported. If \
you understand this and wish to do so anyway, pass --with-unsupported-prefix \
to configure." "$LINENO" 5
fi
+2 -2
View File
@@ -176,8 +176,8 @@ AC_ARG_WITH(
[Acknowledge that you accept the consequences of using an unsupported prefix.]),
[with_unsupported_prefix=$withval],
[with_unsupported_prefix=no])
if test x$prefix = x/usr/local -a x$with_unsupported_prefix != xyes; then
AC_MSG_ERROR([Installing MacPorts into /usr/local is not supported. If \
if test x$prefix = x/usr/local -o x$prefix = x/usr && test x$with_unsupported_prefix != xyes; then
AC_MSG_ERROR([Installing MacPorts into $prefix is not supported. If \
you understand this and wish to do so anyway, pass --with-unsupported-prefix \
to configure.])
fi