--- R-2.15.2/configure.orig	2013-02-27 20:33:07.856301438 +0100
+++ R-2.15.2/configure	2013-02-27 20:30:37.020951966 +0100
@@ -5197,7 +5197,7 @@
      || test -z "${makeinfo_version_min}"; then
   r_cv_prog_makeinfo_v4=no
 elif test ${makeinfo_version_maj} -lt 4 \
-     || test ${makeinfo_version_min} -lt 7; then
+     || test ${makeinfo_version_maj} -lt 4 && test ${makeinfo_version_min} -lt 7; then
   r_cv_prog_makeinfo_v4=no
 else
   r_cv_prog_makeinfo_v4=yes
