mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
PL/Perl portability fix: absorb relevant -D switches from Perl.
Back-patch of commit3c163a7fc7
, which see for more info. Also throw in commitb4cc35fbb7
, so Coverity doesn't whine about the back branches. Ashutosh Sharma, some adjustments by me Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=rcA@mail.gmail.com
This commit is contained in:
13
configure
vendored
13
configure
vendored
@ -670,6 +670,7 @@ python_version
|
||||
python_majorversion
|
||||
PYTHON
|
||||
perl_embed_ldflags
|
||||
perl_embed_ccflags
|
||||
perl_useshrplib
|
||||
perl_privlibexp
|
||||
perl_archlibexp
|
||||
@ -7511,6 +7512,18 @@ documentation for details. Use --without-perl to disable building
|
||||
PL/Perl." "$LINENO" 5
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLAGS recommended by Perl" >&5
|
||||
$as_echo_n "checking for CFLAGS recommended by Perl... " >&6; }
|
||||
perl_ccflags=`$PERL -MConfig -e 'print $Config{ccflags}'`
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl_ccflags" >&5
|
||||
$as_echo "$perl_ccflags" >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLAGS to compile embedded Perl" >&5
|
||||
$as_echo_n "checking for CFLAGS to compile embedded Perl... " >&6; }
|
||||
perl_embed_ccflags=`$PERL -MConfig -e 'foreach $f (split(" ",$Config{ccflags})) {print $f, " " if ($f =~ /^-D[^_]/)}'`
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl_embed_ccflags" >&5
|
||||
$as_echo "$perl_embed_ccflags" >&6; }
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags to link embedded Perl" >&5
|
||||
$as_echo_n "checking for flags to link embedded Perl... " >&6; }
|
||||
if test "$PORTNAME" = "win32" ; then
|
||||
|
Reference in New Issue
Block a user