--- configure.orig	2011-11-26 08:14:07.000000000 -0600
+++ configure	2012-10-03 01:11:37.000000000 -0500
@@ -14481,7 +14481,7 @@
 
 
 
-GUILE_VERSION="`guile-config info guileversion | sed -r 's,\\.[0-9]+$,,'`"
+GUILE_VERSION="`guile-config info guileversion | sed -e 's,\\.[0-9]+$,,'`"
 # Extract the first word of "guile-$GUILE_VERSION", so it can be a program name with args.
 set dummy guile-$GUILE_VERSION; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
