--- configure.orig	Wed Oct 22 15:29:40 2003
+++ configure	Fri Feb 27 13:33:02 2004
@@ -3811,7 +3811,7 @@
   RANLIB="$ac_cv_prog_RANLIB"
 fi
 
-for ac_prog in 'bison -y' byacc
+for ac_prog in byacc
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -23156,7 +23156,7 @@
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  egrep "${ice_re_word}ioctl *\(" >/dev/null 2>&1; then
+  egrep "${ice_re_word}\(?ioctl\)? *\(" >/dev/null 2>&1; then
   ice_cv_have_ioctl_decl=yes
 fi
 rm -f conftest*
