Re: More Snow Leopard fun: multiarch problems while building plperl - Mailing list pgsql-hackers

From Jan Otto
Subject Re: More Snow Leopard fun: multiarch problems while building plperl
Date
Msg-id 46D6EE1C-996E-48A2-87C3-82EE7244B949@me.com
Whole thread Raw
In response to Re: More Snow Leopard fun: multiarch problems while building plperl  (Jan Otto <asche@me.com>)
Responses Re: More Snow Leopard fun: multiarch problems while building plperl
List pgsql-hackers
Ups, my previous patch was already applied in HEAD. This patch removes  
the sed-patch
and added the check and set of ARCHFLAGS.

diff -c -r1.655 configure
*** configure   8 Sep 2009 18:15:55 -0000       1.655
--- configure   8 Sep 2009 18:30:04 -0000
***************
*** 6941,6949 ****
  { $as_echo "$as_me:$LINENO: checking for flags to link embedded  
Perl" >&5  $as_echo_n "checking for flags to link embedded Perl... " >&6; }
! pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts`  pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'`
! perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s% 
$pgac_tmp2%%" -e "s/ -arch [-a-zA-Z0-9_]*//g"`  if test -z "$perl_embed_ldflags" ; then        { $as_echo
"$as_me:$LINENO:result: no" >&5  $as_echo "no" >&6; }
 
--- 6941,6949 ----
  { $as_echo "$as_me:$LINENO: checking for flags to link embedded  
Perl" >&5  $as_echo_n "checking for flags to link embedded Perl... " >&6; }
! pgac_tmp1=`[ "$ARCHFLAGS" ] || export ARCHFLAGS=""; $PERL - 
MExtUtils::Embed -e ldopts`  pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'`
! perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s% 
$pgac_tmp2%%"`  if test -z "$perl_embed_ldflags" ; then        { $as_echo "$as_me:$LINENO: result: no" >&5  $as_echo
"no">&6; }
 

regards, jan otto


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: COALESCE and NULLIF semantics
Next
From: Ron Mayer
Date:
Subject: Re: Time-based Releases WAS: 8.5 release timetable, again