*** ./src/auto/configure.ORIG	Mon Nov 21 09:01:06 2011
--- ./src/auto/configure	Mon Nov 21 09:04:49 2011
***************
*** 5053,5064 ****
        vi_cv_perllib=`$vi_cv_path_perl -MConfig -e 'print $Config{privlibexp}'`
  
              perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
! 	      -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//'`
              perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
  		sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
! 			-e 's/-bE:perl.exp//' -e 's/-lc //'`
                    perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
! 		-e 'ccdlflags' | sed -e 's/-bE:perl.exp//'`
  
                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compile and link flags for Perl are sane" >&5
  $as_echo_n "checking if compile and link flags for Perl are sane... " >&6; }
--- 5053,5064 ----
        vi_cv_perllib=`$vi_cv_path_perl -MConfig -e 'print $Config{privlibexp}'`
  
              perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
! 	      -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//' -e 's/-pipe//'`
              perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
  		sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
! 			-e 's/-bE:perl.exp//' -e 's/-lc //' -e 's/-Xlinker//'`
                    perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
! 		-e 'ccdlflags' | sed -e 's/-bE:perl.exp//' -e 's/-Xlinker//'`
  
                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compile and link flags for Perl are sane" >&5
  $as_echo_n "checking if compile and link flags for Perl are sane... " >&6; }
