diff -Naur postgresql-9.0.4.orig/configure postgresql-9.0.4/configure --- postgresql-9.0.4.orig/configure 2011-04-14 23:15:53.000000000 -0400 +++ postgresql-9.0.4/configure 2011-08-23 20:05:37.587333748 -0400 @@ -6914,7 +6914,7 @@ $as_echo "$perl_archlibexp" >&6; } { $as_echo "$as_me:$LINENO: checking for Perl privlibexp" >&5 $as_echo_n "checking for Perl privlibexp... " >&6; } -perl_privlibexp=`$PERL -MConfig -e 'print $Config{privlibexp}'` +perl_privlibexp=`$PERL -MExtUtils::ParseXS -e '$p = $INC{"ExtUtils/ParseXS.pm"}; $p =~ s|(.*)/ExtUtils/ParseXS.pm|$1|; print $p` { $as_echo "$as_me:$LINENO: result: $perl_privlibexp" >&5 $as_echo "$perl_privlibexp" >&6; } { $as_echo "$as_me:$LINENO: checking for Perl useshrplib" >&5