diff --git a/src/configure.in b/src/configure.in
index cd2a7bffa995f43659806127f77431dff1867401..df24c56f5301fcbff62d55aa2af58dc89db1500c 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1,4 +1,4 @@
-AC_REVISION("$Id: configure.in,v 1.288 1999/05/27 08:22:07 hubbe Exp $")
+AC_REVISION("$Id: configure.in,v 1.289 1999/05/27 11:49:18 grubba Exp $")
 AC_INIT(interpret.c)
 AC_CONFIG_HEADER(machine.h)
 
@@ -273,18 +273,15 @@ AC_ARG_WITH(poll,        [  --with-poll            use poll instead of select],[
       with_poll=yes
     ;;
     AIX)
+      # poll(2) is broken on AIX 4.1 and earlier.
       if test "`uname -r`" -ge 2 -a "`uname -v`" -ge 4 ; then
-        AC_MSG_WARN([Defaulting to --with-poll since the OS is AIX >= 4.2])
         with_poll=yes
-
-      else
-        if test "`uname -v`" -gt 4 ; then
-          AC_MSG_WARN([Defaulting to --with-poll since the OS is AIX >= 4.2])
-          with_poll=yes
-        else
-          :
-        fi
-      fi
+      else if test "`uname -v`" -gt 4 ; then
+        with_poll=yes
+      else :; fi
+      if test "$with_poll" = "yes" ; then
+        AC_MSG_WARN([Defaulting to --with-poll since the OS AIX 4.2 or later.])
+      else :; fi
     ;;
   esac
 ])