72388599a8
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=61
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
Index: config/perl.m4
|
|
===================================================================
|
|
--- config/perl.m4.orig
|
|
+++ config/perl.m4
|
|
@@ -57,9 +57,7 @@ AC_DEFUN([PGAC_CHECK_PERL_CONFIGS],
|
|
AC_DEFUN([PGAC_CHECK_PERL_EMBED_LDFLAGS],
|
|
[AC_REQUIRE([PGAC_PATH_PERL])
|
|
AC_MSG_CHECKING(for flags to link embedded Perl)
|
|
-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"]`
|
|
+perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
|
|
AC_SUBST(perl_embed_ldflags)dnl
|
|
if test -z "$perl_embed_ldflags" ; then
|
|
AC_MSG_RESULT(no)
|
|
Index: configure
|
|
===================================================================
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -7157,9 +7157,7 @@ $as_echo "$perl_useshrplib" >&6; }
|
|
|
|
{ $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"`
|
|
+perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
|
|
if test -z "$perl_embed_ldflags" ; then
|
|
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
$as_echo "no" >&6; }
|