xref: /openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch (revision 193236933b0f4ab91b1625b64e2187e2db4e0e8f)
1*19323693SBrad BishopFrom 7e2af4de19be58bc9d551c41ce2750396d357f34 Mon Sep 17 00:00:00 2001
2*19323693SBrad BishopFrom: Changqing Li <changqing.li@windriver.com>
3*19323693SBrad BishopDate: Tue, 27 Nov 2018 13:25:15 +0800
4*19323693SBrad BishopSubject: [PATCH] PATCH] not check libperl under cross compiling
5eb8dc403SDave Cobbley
6eb8dc403SDave CobbleyUpstream-Status: Inappropriate [configuration]
7eb8dc403SDave Cobbley
8eb8dc403SDave Cobbleylibperl ldflags returned by PGAC_CHECK_PERL_EMBED_LDFLAGS are native,
9eb8dc403SDave Cobbleycan not be used to check target library.
10eb8dc403SDave Cobbley
11eb8dc403SDave Cobbleypostpresql has the dependency on perl, so not need to check libperl
12eb8dc403SDave Cobbleyagain, like in postgresql-9.2.4
13eb8dc403SDave Cobbley
14eb8dc403SDave CobbleySigned-off-by: Roy Li <rongqing.li@windriver.com>
15*19323693SBrad Bishop
16*19323693SBrad Bishopupdate patch to version 11.1
17*19323693SBrad BishopSigned-off-by: Changqing Li <changqing.li@windriver.com>
18eb8dc403SDave Cobbley---
19eb8dc403SDave Cobbley configure.in | 2 +-
20eb8dc403SDave Cobbley 1 file changed, 1 insertion(+), 1 deletion(-)
21eb8dc403SDave Cobbley
22*19323693SBrad Bishopdiff --git a/configure.in b/configure.in
23*19323693SBrad Bishopindex b98b9bb..8584677 100644
24*19323693SBrad Bishop--- a/configure.in
25*19323693SBrad Bishop+++ b/configure.in
26*19323693SBrad Bishop@@ -2211,7 +2211,7 @@ Use --without-tcl to disable building PL/Tcl.])
27eb8dc403SDave Cobbley fi
28eb8dc403SDave Cobbley
29eb8dc403SDave Cobbley # check for <perl.h>
30eb8dc403SDave Cobbley-if test "$with_perl" = yes; then
31eb8dc403SDave Cobbley+if test "$with_perl" = yes && test "$cross_compiling" = no; then
32eb8dc403SDave Cobbley   ac_save_CPPFLAGS=$CPPFLAGS
33*19323693SBrad Bishop   CPPFLAGS="$CPPFLAGS $perl_includespec"
34eb8dc403SDave Cobbley   AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])],
35*19323693SBrad Bishop--
36*19323693SBrad Bishop2.7.4
37*19323693SBrad Bishop
38