--- configure.orig	2006-12-22 13:10:28.000000000 -0800
+++ configure	2007-01-05 10:02:19.000000000 -0800
@@ -360,7 +360,7 @@
     continue
   fi
 
-  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
+  ac_optarg=`echo "x$ac_option" | sed 's,x[^=]*=\(.*\),\1,'`
 
   # Accept the important Cygnus configure options, so we can diagnose typos.
 
