--- configure.orig	Fri Jun 14 09:51:26 2002
+++ configure	Fri Jun 14 18:40:20 2002
@@ -4844,8 +4844,7 @@
 
 # driver detection block: skip this block if the user manually specify
 # drivers on the command line
-if test "$ac_drivers" == "auto";
-then
+if eval "test \"\${$ac_drivers}\" = auto"; then
   # reset the state variable
   ac_drivers=""
 
