*** vim/src/configure.in	Thu Sep 26 06:46:55 2013
--- vim-local/src/configure.in	Thu Sep 26 06:37:43 2013
***************
*** 61,66 ****
--- 61,83 ----
      fi
    fi
  fi
+ dnl clang-500.2.75 or around has abandoned -f[no-]strength-reduce and issues a
+ dnl warning when that flag is passed to.  Accordingly, adjust CFLAGS based on
+ dnl the version number of the clang in use.
+ CHECK_IF_CC_IS_CLANG=`"$CC" --version 2>/dev/null | sed  -n -e 's/^.*clang-\([[0-9]][[0-9]]*\.[[0-9]][[0-9]]*\.[[0-9]][[0-9]]*\).*$/\1/p'`
+ if test x"$CHECK_IF_CC_IS_CLANG" != x"" ; then
+   CLANG_MAJOR=`echo "$CHECK_IF_CC_IS_CLANG" | sed -n -e 's/\([[0-9]][[0-9]]*\)\.[[0-9]][[0-9]]*\.[[0-9]][[0-9]]*/\1/p'`
+   CLANG_MINOR=`echo "$CHECK_IF_CC_IS_CLANG" | sed -n -e 's/[[0-9]][[0-9]]*\.\([[0-9]][[0-9]]*\)\.[[0-9]][[0-9]]*/\1/p'`
+   CLANG_REVISION=`echo "$CHECK_IF_CC_IS_CLANG" | sed -n -e 's/[[0-9]][[0-9]]*\.[[0-9]][[0-9]]*\.\([[0-9]][[0-9]]*\)/\1/p'`
+   CLANG_VERSION=`expr $CLANG_MAJOR '*' 1000000 '+' $CLANG_MINOR '*' 1000 '+' $CLANG_REVISION`
+   dnl If you find the same issue with versions earlier than 500.2.75,
+   dnl change the constant 500002075 below appropriately.  To get the
+   dnl integer corresponding to a version number, refer to the
+   dnl definition of CLANG_VERSION above.
+   if test "$CLANG_VERSION" -ge 500002075 ; then
+     CFLAGS=`echo "$CFLAGS" | sed -n -e 's/-fno-strength-reduce/ /p'`
+   fi
+ fi
  
  dnl If configure thinks we are cross compiling, there might be something
  dnl wrong with the CC or CFLAGS settings, give a useful warning message
