1*eb8dc403SDave Cobbley[PATCH] not check libperl under cross compiling 2*eb8dc403SDave Cobbley 3*eb8dc403SDave CobbleyUpstream-Status: Inappropriate [configuration] 4*eb8dc403SDave Cobbley 5*eb8dc403SDave Cobbleylibperl ldflags returned by PGAC_CHECK_PERL_EMBED_LDFLAGS are native, 6*eb8dc403SDave Cobbleycan not be used to check target library. 7*eb8dc403SDave Cobbley 8*eb8dc403SDave Cobbleypostpresql has the dependency on perl, so not need to check libperl 9*eb8dc403SDave Cobbleyagain, like in postgresql-9.2.4 10*eb8dc403SDave Cobbley 11*eb8dc403SDave CobbleySigned-off-by: Roy Li <rongqing.li@windriver.com> 12*eb8dc403SDave Cobbley--- 13*eb8dc403SDave Cobbley configure.in | 2 +- 14*eb8dc403SDave Cobbley 1 file changed, 1 insertion(+), 1 deletion(-) 15*eb8dc403SDave Cobbley 16*eb8dc403SDave CobbleyIndex: postgresql-9.4.15/configure.in 17*eb8dc403SDave Cobbley=================================================================== 18*eb8dc403SDave Cobbley--- postgresql-9.4.15.orig/configure.in 19*eb8dc403SDave Cobbley+++ postgresql-9.4.15/configure.in 20*eb8dc403SDave Cobbley@@ -1879,7 +1879,7 @@ if test "$with_tcl" = yes; then 21*eb8dc403SDave Cobbley fi 22*eb8dc403SDave Cobbley 23*eb8dc403SDave Cobbley # check for <perl.h> 24*eb8dc403SDave Cobbley-if test "$with_perl" = yes; then 25*eb8dc403SDave Cobbley+if test "$with_perl" = yes && test "$cross_compiling" = no; then 26*eb8dc403SDave Cobbley ac_save_CPPFLAGS=$CPPFLAGS 27*eb8dc403SDave Cobbley CPPFLAGS="$CPPFLAGS -I$perl_archlibexp/CORE" 28*eb8dc403SDave Cobbley AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])], 29