Changeset 79516
- Timestamp:
- 06/16/11 04:28:13 (4 years ago)
- Location:
- trunk/base
- Files:
-
- 2 edited
-
configure (modified) (3 diffs)
-
configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/configure
r79461 r79516 794 794 with_objc_runtime 795 795 with_objc_foundation 796 with_unsupported_prefix 796 797 with_ports_dir 797 798 with_no_root_privileges … … 1467 1468 --with-objc-runtime Specify either "GNU" or "apple" 1468 1469 --with-objc-foundation Specify either "GNUstep" or "apple" 1470 --with-unsupported-prefix 1471 Acknowledge that you accept the consequences of 1472 using an unsupported prefix. 1469 1473 --with-ports-dir=DIR Specify alternate ports directory 1470 1474 --with-no-root-privileges … … 7634 7638 # Check for paths 7635 7639 7636 if test x$prefix = x/usr/local; then 7637 as_fn_error $? "Installing MacPorts into /usr/local is not supported" "$LINENO" 5 7640 7641 # Check whether --with-unsupported-prefix was given. 7642 if test "${with_unsupported_prefix+set}" = set; then : 7643 withval=$with_unsupported_prefix; with_unsupported_prefix=$withval 7644 else 7645 with_unsupported_prefix=no 7646 fi 7647 7648 if test x$prefix = x/usr/local -a x$with_unsupported_prefix != xyes; then 7649 as_fn_error $? "Installing MacPorts into /usr/local is not supported. If \ 7650 you understand this and wish to do so anyway, pass --with-unsupported-prefix \ 7651 to configure." "$LINENO" 5 7638 7652 fi 7639 7653 -
trunk/base/configure.ac
r79241 r79516 171 171 # Check for paths 172 172 AC_PREFIX_DEFAULT(/opt/local) 173 if test x$prefix = x/usr/local; then 174 AC_MSG_ERROR([Installing MacPorts into /usr/local is not supported]) 173 AC_ARG_WITH( 174 unsupported-prefix, 175 AS_HELP_STRING([--with-unsupported-prefix], 176 [Acknowledge that you accept the consequences of using an unsupported prefix.]), 177 [with_unsupported_prefix=$withval], 178 [with_unsupported_prefix=no]) 179 if test x$prefix = x/usr/local -a x$with_unsupported_prefix != xyes; then 180 AC_MSG_ERROR([Installing MacPorts into /usr/local is not supported. If \ 181 you understand this and wish to do so anyway, pass --with-unsupported-prefix \ 182 to configure.]) 175 183 fi 176 184 MP_PATH_PORTSDIR([$PORTS_DIR_DEFAULT])
Note: See TracChangeset
for help on using the changeset viewer.

