--- gcc-4.2/gcc/ltcf-cxx.sh 2006-11-14 21:45:15.000000000 -0500 +++ ltcf-cxx.sh 2006-12-06 15:06:41.000000000 -0500 @@ -227,7 +227,7 @@ case $host_os in darwin* | rhapsody*) case "$host_os" in - rhapsody* | darwin1.[[012]]) + rhapsody* | darwin1.[012]) allow_undefined_flag='-undefined suppress' ;; *) # Darwin 1.3 on @@ -235,7 +235,7 @@ case $host_os in allow_undefined_flag='-flat_namespace -undefined suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) + 10.[012]) allow_undefined_flag='-flat_namespace -undefined suppress' ;; 10.*) @@ -247,10 +247,10 @@ case $host_os in esac # Disable shared library build on OS-X older than 10.3. case $host_os in - darwin[1-6]*) + darwin[1-5]*) can_build_shared=no ;; - darwin7*) + darwin[67]*) can_build_shared=yes ;; esac --- ../../libstdcxx-orig/libstdcxx/ltcf-c.sh 2005-07-27 12:29:55.000000000 -0700 +++ ltcf-c.sh 2005-07-27 19:02:38.000000000 -0700 @@ -402,10 +402,10 @@ else esac # Disable shared library build on OS-X older than 10.3. case $host_os in - darwin[1-6]*) + darwin[1-5]*) can_build_shared=no ;; - darwin7*) + darwin[67]*) can_build_shared=yes ;; esac --- ../../libstdcxx-orig/libstdcxx/ltconfig 2005-07-27 12:29:55.000000000 -0700 +++ ltconfig 2005-07-27 19:33:37.000000000 -0700 @@ -1113,10 +1114,10 @@ darwin* | rhapsody*) need_version=no # Disable shared library build on OS-X older than 10.3. case $host_os in - darwin[1-6]*) + darwin[1-5]*) can_build_shared=no ;; - darwin7*) + darwin[67]*) can_build_shared=yes ;; esac