--- configure.orig 2010-04-29 13:53:45.000000000 -0400 +++ configure 2010-05-01 15:36:49.000000000 -0400 @@ -23014,7 +23014,7 @@ LDFLAGS="$LDFLAGS $gww_archlist" fi -CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O.//g | sed -e s/-O//g` +CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O[0-9]*//g` cp $ac_confdir/Makefile.dynamic.in $ac_confdir/Makefile.in cp $ac_confdir/Unicode/Makefile.dynamic.in $ac_confdir/Unicode/Makefile.in