Fixes #3808: Move r27962 and r27026 to 1.7

---svn-pre-commit-ignore-below---

r27026 [[BR]]
update alps configure scripts

r27962 [[BR]]
fix alps configury