lessen warning for newer Xcodes

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@30477 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Anders F. Björklund
2007-10-28 23:00:12 +00:00
parent 1c21510555
commit 63e83f3e50
2 changed files with 12 additions and 2 deletions
Vendored
+7 -1
View File
@@ -2125,12 +2125,18 @@ echo "${ECHO_T}$XCODE_VERSION" >&6; }
fi
case "$XCODE_VERSION" in
1.[0-4]*|2.[0-3]*)
1.[0-1]*|2.[0-1]*)
{ echo "$as_me:$LINENO: WARNING: This version of Xcode Tools is not supported" >&5
echo "$as_me: WARNING: This version of Xcode Tools is not supported" >&2;}
{ echo "$as_me:$LINENO: WARNING: Please upgrade at http://connect.apple.com/" >&5
echo "$as_me: WARNING: Please upgrade at http://connect.apple.com/" >&2;}
;;
1.[2-4]*|2.[2-3]*)
{ echo "$as_me:$LINENO: WARNING: This version of Xcode Tools is out of date" >&5
echo "$as_me: WARNING: This version of Xcode Tools is out of date" >&2;}
{ echo "$as_me:$LINENO: WARNING: Please consider upgrading" >&5
echo "$as_me: WARNING: Please consider upgrading" >&2;}
;;
1.5*|2.4*|3.*)
;;
*)
+5 -1
View File
@@ -40,10 +40,14 @@ if test -r "$XCODEPLIST"; then
fi
case "$XCODE_VERSION" in
1.[[0-4]]*|2.[[0-3]]*)
1.[[0-1]]*|2.[[0-1]]*)
AC_WARN(This version of Xcode Tools is not supported)
AC_WARN(Please upgrade at http://connect.apple.com/)
;;
1.[[2-4]]*|2.[[2-3]]*)
AC_WARN(This version of Xcode Tools is out of date)
AC_WARN(Please consider upgrading, some ports fail)
;;
1.5*|2.4*|3.*)
dnl Supported version
;;