Changeset 30338 for trunk/base


Ignore:
Timestamp:
Oct 25, 2007, 6:50:15 AM (12 years ago)
Author:
afb@…
Message:

issue warning for old versions of Mac OS X and Xcode

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure

    r30308 r30338  
    20972097fi
    20982098
     2099case "$MACOSX_VERSION" in
     2100  10.0*|10.1*|10.2*)
     2101    { echo "$as_me:$LINENO: WARNING: This version of Mac OS X is not supported" >&5
     2102echo "$as_me: WARNING: This version of Mac OS X is not supported" >&2;}
     2103    { echo "$as_me:$LINENO: WARNING: Please upgrade at http://store.apple.com/" >&5
     2104echo "$as_me: WARNING: Please upgrade at http://store.apple.com/" >&2;}
     2105    ;;
     2106  10.1.[0-4]|10.2.[0-7]|10.3.[0-8]|10.4.[0-8])
     2107    { echo "$as_me:$LINENO: WARNING: This version of Mac OS X is out of date" >&5
     2108echo "$as_me: WARNING: This version of Mac OS X is out of date" >&2;}
     2109    { echo "$as_me:$LINENO: WARNING: Please run Software Update to update it" >&5
     2110echo "$as_me: WARNING: Please run Software Update to update it" >&2;}
     2111    ;;
     2112  10.3*|10.4*|10.5*)
     2113        ;;
     2114  *)
     2115    ;;
     2116esac
     2117
    20992118XCODEPLIST=/Developer/Applications/Xcode.app/Contents/version.plist
    21002119if test -r "$XCODEPLIST"; then
     
    21052124echo "${ECHO_T}$XCODE_VERSION" >&6; }
    21062125fi
     2126
     2127case "$XCODE_VERSION" in
     2128  1.[0-4]*|2.[0-3]*)
     2129    { echo "$as_me:$LINENO: WARNING: This version of Xcode Tools is not supported" >&5
     2130echo "$as_me: WARNING: This version of Xcode Tools is not supported" >&2;}
     2131    { echo "$as_me:$LINENO: WARNING: Please upgrade at http://connect.apple.com/" >&5
     2132echo "$as_me: WARNING: Please upgrade at http://connect.apple.com/" >&2;}
     2133    ;;
     2134  1.5*|2.4*|3.*)
     2135        ;;
     2136  *)
     2137    ;;
     2138esac
    21072139
    21082140# translate mp_version (1.600) to regular version (1.6.0)
  • trunk/base/configure.ac

    r30308 r30338  
    1717fi
    1818
     19case "$MACOSX_VERSION" in
     20  10.0*|10.1*|10.2*)
     21    AC_WARN(This version of Mac OS X is not supported)
     22    AC_WARN(Please upgrade at http://store.apple.com/)
     23    ;;
     24  10.1.[[0-4]]|10.2.[[0-7]]|10.3.[[0-8]]|10.4.[[0-8]])
     25    AC_WARN(This version of Mac OS X is out of date)
     26    AC_WARN(Please run Software Update to update it)
     27    ;;
     28  10.3*|10.4*|10.5*)
     29    dnl Supported version
     30    ;;
     31  *)
     32    ;;
     33esac
     34
    1935XCODEPLIST=/Developer/Applications/Xcode.app/Contents/version.plist
    2036if test -r "$XCODEPLIST"; then
     
    2339  AC_MSG_RESULT([$XCODE_VERSION])
    2440fi
     41
     42case "$XCODE_VERSION" in
     43  1.[[0-4]]*|2.[[0-3]]*)
     44    AC_WARN(This version of Xcode Tools is not supported)
     45    AC_WARN(Please upgrade at http://connect.apple.com/)
     46    ;;
     47  1.5*|2.4*|3.*)
     48    dnl Supported version
     49    ;;
     50  *)
     51    ;;
     52esac
    2553
    2654# translate mp_version (1.600) to regular version (1.6.0)
Note: See TracChangeset for help on using the changeset viewer.