You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
update supported versions of OS X and Xcode in configure, and error on non-working OS versions
git-svn-id: https://svn.macports.org/repository/macports/trunk/base@55591 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -2885,19 +2885,17 @@ $as_echo "$MACOSX_VERSION" >&6; }
|
||||
fi
|
||||
|
||||
case "$MACOSX_VERSION" in
|
||||
10.0*|10.1*|10.2*)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This version of Mac OS X is not supported" >&5
|
||||
$as_echo "$as_me: WARNING: This version of Mac OS X is not supported" >&2;}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please upgrade at http://store.apple.com/" >&5
|
||||
$as_echo "$as_me: WARNING: Please upgrade at http://store.apple.com/" >&2;}
|
||||
10.0*|10.1*|10.2*|10.3*)
|
||||
as_fn_error "This version of Mac OS X is not supported
|
||||
Please upgrade at http://store.apple.com/" "$LINENO" 5
|
||||
;;
|
||||
10.1.[0-4]|10.2.[0-7]|10.3.[0-8]|10.4.[0-9]|10.4.10|10.5.[0-6])
|
||||
10.4.[0-9]|10.4.10|10.5.[0-7])
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This version of Mac OS X is out of date" >&5
|
||||
$as_echo "$as_me: WARNING: This version of Mac OS X is out of date" >&2;}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please run Software Update to update it" >&5
|
||||
$as_echo "$as_me: WARNING: Please run Software Update to update it" >&2;}
|
||||
;;
|
||||
10.3*|10.4*|10.5*)
|
||||
10.4*|10.5*|10.6*)
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
@@ -2941,7 +2939,7 @@ $as_echo "$as_me: WARNING: This version of Xcode Tools is out of date" >&2;}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please consider upgrading as some ports fail compiling" >&5
|
||||
$as_echo "$as_me: WARNING: Please consider upgrading as some ports fail compiling" >&2;}
|
||||
;;
|
||||
1.5*|2.4*|3.*)
|
||||
1.5*|2.*|3.*)
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
||||
+6
-6
@@ -28,15 +28,15 @@ if test "x$SW_VERS" != "x"; then
|
||||
fi
|
||||
|
||||
case "$MACOSX_VERSION" in
|
||||
10.0*|10.1*|10.2*)
|
||||
AC_MSG_WARN([This version of Mac OS X is not supported])
|
||||
AC_MSG_WARN([Please upgrade at http://store.apple.com/])
|
||||
10.0*|10.1*|10.2*|10.3*)
|
||||
AC_MSG_ERROR([This version of Mac OS X is not supported
|
||||
Please upgrade at http://store.apple.com/])
|
||||
;;
|
||||
10.1.[[0-4]]|10.2.[[0-7]]|10.3.[[0-8]]|10.4.[[0-9]]|10.4.10|10.5.[[0-6]])
|
||||
10.4.[[0-9]]|10.4.10|10.5.[[0-7]])
|
||||
AC_MSG_WARN([This version of Mac OS X is out of date])
|
||||
AC_MSG_WARN([Please run Software Update to update it])
|
||||
;;
|
||||
10.3*|10.4*|10.5*)
|
||||
10.4*|10.5*|10.6*)
|
||||
dnl Supported version
|
||||
;;
|
||||
*)
|
||||
@@ -73,7 +73,7 @@ case "$XCODE_VERSION" in
|
||||
AC_MSG_WARN([This version of Xcode Tools is out of date])
|
||||
AC_MSG_WARN([Please consider upgrading as some ports fail compiling])
|
||||
;;
|
||||
1.5*|2.4*|3.*)
|
||||
1.5*|2.*|3.*)
|
||||
dnl Supported version
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user